Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
maestro-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
maestro
maestro-core
Commits
ddc761fc
Commit
ddc761fc
authored
2 years ago
by
Utz-Uwe Haus
Browse files
Options
Downloads
Patches
Plain Diff
fix --with-libfabric configure option to override pkg-config detected version
parent
9e6079e5
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.ac
+13
-10
13 additions, 10 deletions
configure.ac
with
13 additions
and
10 deletions
configure.ac
+
13
−
10
View file @
ddc761fc
...
@@ -450,6 +450,11 @@ AS_IF([test "x$enable_ofi_pool_manager" = "xyes"], [
...
@@ -450,6 +450,11 @@ AS_IF([test "x$enable_ofi_pool_manager" = "xyes"], [
SAVED_LDFLAGS="$LDFLAGS"
SAVED_LDFLAGS="$LDFLAGS"
SAVED_LIBS="$LIBS"
SAVED_LIBS="$LIBS"
AX_USE_LIBRARY([fabric])
AS_IF([test "${with_fabric+set}" = set -o "${with_fabric_lib+set}" = set -o "${with_fabric_include+set}" = set -o "${with_fabric_name+set}" = set],
[AC_MSG_NOTICE([-with-fabric related argument given, skipping pkg-config search for libfabric])],
[
dnl If libfabric is installed in a nonstandard place but can be found by pkg-config, add whatever that tells us before trying to find it
dnl If libfabric is installed in a nonstandard place but can be found by pkg-config, add whatever that tells us before trying to find it
dnl (notable example: Cray Shasta systems)
dnl (notable example: Cray Shasta systems)
if pkg-config libfabric; then
if pkg-config libfabric; then
...
@@ -459,9 +464,7 @@ AS_IF([test "x$enable_ofi_pool_manager" = "xyes"], [
...
@@ -459,9 +464,7 @@ AS_IF([test "x$enable_ofi_pool_manager" = "xyes"], [
LIBS=" `pkg-config --libs-only-l libfabric` $LIBS"
LIBS=" `pkg-config --libs-only-l libfabric` $LIBS"
else
else
AC_MSG_NOTICE([pkg-config does not know about a libfabric installation, fine])
AC_MSG_NOTICE([pkg-config does not know about a libfabric installation, fine])
fi
fi])
AX_USE_LIBRARY([fabric])
dnl Sanity check for libfabric library
dnl Sanity check for libfabric library
AC_SEARCH_LIBS(fi_getinfo, $fabric_library_name,
AC_SEARCH_LIBS(fi_getinfo, $fabric_library_name,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment