diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-03 12:55:43 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-04 14:27:27 -0500 |
commit | d507c0373168e6375b1e876d79730bff8020cb58 (patch) | |
tree | 1ca65b27019e70bdeef2e7d01357cfdbae2a0d5b /testsuites/sptests/configure.ac | |
parent | rhealstone/rhmlatency: Fix configuration (diff) | |
download | rtems-d507c0373168e6375b1e876d79730bff8020cb58.tar.bz2 |
Disable per task variables when SMP is enabled
Per task variables are inherently unsafe in SMP systems. This
patch disables them from the build and adds warnings in the
appropriate documentation and configuration sections.
Diffstat (limited to 'testsuites/sptests/configure.ac')
-rw-r--r-- | testsuites/sptests/configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/sptests/configure.ac b/testsuites/sptests/configure.ac index 3f2f952db2..30d2787bc7 100644 --- a/testsuites/sptests/configure.ac +++ b/testsuites/sptests/configure.ac @@ -34,6 +34,10 @@ AC_CHECK_SIZEOF([time_t]) AC_CHECK_HEADERS([sys/cpuset.h]) AM_CONDITIONAL(HAS_CPUSET,test x"${ac_cv_header_sys_cpuset_h}" = x"yes") +# Some tests should not be built/run in SMP configurations +RTEMS_CHECK_CPUOPTS([RTEMS_SMP]) +AM_CONDITIONAL(HAS_SMP,test "$rtems_cv_RTEMS_SMP" = "yes") + # Explicitly list all Makefiles here AC_CONFIG_FILES([Makefile spfatal28/Makefile |