Skip to content

Commit

Permalink
Fix numa detection
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarbette committed Jun 10, 2024
1 parent 798c545 commit 31cca89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -16194,7 +16194,7 @@ fi

printf "%s\n" "#define HAVE_NUMA 1" >>confdefs.h

LDFLAGS="$LDFLAGS -Lnuma"
LDFLAGS="$LDFLAGS -lnuma"
fi

if test "$HAVE_NUMA" = yes; then
Expand Down Expand Up @@ -19108,7 +19108,7 @@ else

have_llvm=yes
LLVM_OBJS="llvmutils.o $LLVM_OBJS"
LIBS_LLVM="`$LLVMCONFIG --ldflags --system-libs --libs all | tr '\n' ' ' ` $LIBS_LLVM"
LIBS_LLVM="`$LLVMCONFIG --ldflags --system-libs --libs all | tr -d '\n'` $LIBS_LLVM"
INCLUDES_LLVM="`$LLVMCONFIG --cxxflags | tr -d '\n'` $INCLUDES_LLVM"
fi

Expand Down
4 changes: 2 additions & 2 deletions m4/click.m4
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ AC_DEFUN([CLICK_CHECK_NUMA], [
AC_SEARCH_LIBS([numa_available], [numa], [ac_have_libnuma=yes], [ac_have_libnuma=no])

if test "$ac_have_libnuma" = yes; then
AC_DEFINE([HAVE_NUMA], [1], [Define if you have the <nuda.h> header file.])
LDFLAGS="$LDFLAGS -Lnuma"
AC_DEFINE([HAVE_NUMA], [1], [Define if you have the <numa.h> header file.])
LDFLAGS="$LDFLAGS -lnuma"
fi

if test "$HAVE_NUMA" = yes; then
Expand Down

0 comments on commit 31cca89

Please sign in to comment.