Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
4e3f3f2d
Commit
4e3f3f2d
authored
6 years ago
by
Peter W. Draper
Browse files
Options
Downloads
Patches
Plain Diff
Check if the -isystem includes really fix the NUMA prototypes problem, if not bail out
parent
75fd9d7f
No related branches found
No related tags found
1 merge request
!692
NUMA: make the check look for an external library
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.ac
+12
-0
12 additions, 0 deletions
configure.ac
with
12 additions
and
0 deletions
configure.ac
+
12
−
0
View file @
4e3f3f2d
...
@@ -1145,6 +1145,18 @@ if test "$have_numa" != "no"; then
...
@@ -1145,6 +1145,18 @@ if test "$have_numa" != "no"; then
case "$CFLAGS" in
case "$CFLAGS" in
*strict-prototypes*)
*strict-prototypes*)
NUMA_INCS="-isystem$with_numa/include"
NUMA_INCS="-isystem$with_numa/include"
# This may still fail if CPATH is used, so we check if the
# headers are usable.
AS_UNSET(ac_cv_header_numa_h)
old_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $NUMA_INCS"
numa_failed="no"
AC_CHECK_HEADER([numa.h],[numa_failed="no"],
[numa_failed="yes"])
if test "$numa_failed" = "yes"; then
AC_MSG_ERROR([Failed to compile the numa.h header file: you may need to set --enable-compiler-warnings to yes or no])
fi
CPPFLAGS="$old_CPPFLAGS"
;;
;;
*)
*)
NUMA_INCS="-I$with_numa/include"
NUMA_INCS="-I$with_numa/include"
...
...
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