ltp: Don't link against libfl
PATCH 1/3 ltp: Don't link against libfl
From: Chong Lu <[email protected]>
We have already defined yywrap function in scan.l file. After this, we no longer need to link against libfl and so no longer get errors about undefined references to yylex.
--- pan/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
pan/Makefile +1 -1
@@ -31,7 +31,7 @@ CPPFLAGS += -Wno-error CPPFLAGS += -I$(abs_srcdir) -LDLIBS += -lm $(LEXLIB) +LDLIBS += -lm LFLAGS += -l
Signature · 1 line
2.7.0
PATCH 2/3 Add knob to control whether numa support should be checked
From: "Roy.Li" <[email protected]>
otherwise undeterministic dependency will be generated during build depending upong numa being staged or not
--- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+)
configure.ac +8 -0
@@ -129,6 +129,12 @@ else AC_SUBST([WITH_REALTIME_TESTSUITE],["no"]) fi +AC_ARG_WITH([numa], + AC_HELP_STRING([--without-numa], + [without the numa support]), + [],[with_numa=yes], +) + AC_CONFIG_SUBDIRS([utils/ffsb-6.0-rc2]) # END testsuites knobs
@@ -145,7 +151,9 @@ LTP_CHECK_SELINUX LTP_CHECK_SIGNAL LTP_CHECK_SYSCALL_EVENTFD LTP_CHECK_SYSCALL_MODIFY_LDT +if test "x$with_numa" = xyes; then LTP_CHECK_SYSCALL_NUMA +fi LTP_CHECK_SYSCALL_QUOTACTL LTP_CHECK_SYSCALL_SIGNALFD LTP_CHECK_SYSCALL_UNSHARE
Signature · 1 line
2.7.0
PATCH 2/3 Add knob to control whether numa support should be checked
Hi!
Quoted 10 lines
configure.ac +6
-0+AC_ARG_WITH([numa], + AC_HELP_STRING([--without-numa], + [without the numa support]), + [],[with_numa=yes], +) + AC_CONFIG_SUBDIRS([utils/ffsb-6.0-rc2]) # END testsuites knobs
configure.ac LTP_CHECK_SELINUX · line 159
Quoted 9 lines
configure.ac +2
-0@@ -145,7 +151,9 @@ LTP_CHECK_SELINUX LTP_CHECK_SIGNAL LTP_CHECK_SYSCALL_EVENTFD LTP_CHECK_SYSCALL_MODIFY_LDT +if test "x$with_numa" = xyes; then LTP_CHECK_SYSCALL_NUMA +fi LTP_CHECK_SYSCALL_QUOTACTL LTP_CHECK_SYSCALL_SIGNALFD LTP_CHECK_SYSCALL_UNSHARE
This is way to ugly. You should add the AC_ARG_WITH() to the corresponding m4/ltp-numa.m4 file instead.
Signature · 2 lines
Cyril Hrubis [email protected]
PATCH 3/3 Add knob to control tirpc support
In reply to Khem RajFrom: Fathi Boudra <[email protected]>
allow to disable tirpc. Helps to disable it at top level for eg. musl it does not yet work.
--- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+)
configure.ac +9 -0
@@ -98,6 +98,13 @@ if test "x$with_python" = xyes; then else AC_SUBST([WITH_PYTHON],["no"]) fi + +# TI RPC +AC_ARG_WITH([tirpc], + AC_HELP_STRING([--without-tirpc], + [without libtirpc support]), + [],[with_tirpc=yes], +) # END tools knobs # Testsuites knobs
@@ -177,7 +184,9 @@ LTP_CHECK_RENAMEAT2 LTP_CHECK_FALLOCATE LTP_CHECK_SYSCALL_FCNTL LTP_CHECK_SYSCALL_PERF_EVENT_OPEN +if test "x$with_tirpc" = xyes; then LTP_CHECK_TIRPC +fi LTP_CHECK_TEE LTP_CHECK_SPLICE LTP_CHECK_VMSPLICE
Signature · 1 line
2.7.0