From 860055a5f5938523312847a9fbb9fc0377060435 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 17 Mar 2023 09:33:08 +0100 Subject: extra/onetbb: renamed upstream from tbb --- extra/onetbb/oneTBB-2021.5.0-no-waitpkg.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 extra/onetbb/oneTBB-2021.5.0-no-waitpkg.patch (limited to 'extra/onetbb/oneTBB-2021.5.0-no-waitpkg.patch') diff --git a/extra/onetbb/oneTBB-2021.5.0-no-waitpkg.patch b/extra/onetbb/oneTBB-2021.5.0-no-waitpkg.patch new file mode 100644 index 00000000..ab65e99f --- /dev/null +++ b/extra/onetbb/oneTBB-2021.5.0-no-waitpkg.patch @@ -0,0 +1,12 @@ +diff -rauN oneTBB-2021.5.0/cmake/compilers/GNU.cmake oneTBB-2021.5.0-no-waitpkg/cmake/compilers/GNU.cmake +--- oneTBB-2021.5.0/cmake/compilers/GNU.cmake 2021-12-17 14:40:54.000000000 +0100 ++++ oneTBB-2021.5.0-no-waitpkg/cmake/compilers/GNU.cmake 2022-06-29 07:45:39.996610962 +0200 +@@ -36,7 +36,7 @@ + endif() + + # Enable Intel(R) Transactional Synchronization Extensions (-mrtm) and WAITPKG instructions support (-mwaitpkg) on relevant processors +-if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64)") ++if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64|i.86)") + set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -mrtm $<$>,$>>:-mwaitpkg>) + endif() + -- cgit v1.2.3-70-g09d2