aboutsummaryrefslogtreecommitdiff
path: root/devel/onetbb/files/patch-cmake-compilers-xxx.cmake
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2022-01-05 16:40:58 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2022-01-05 16:43:54 +0000
commit4a0e524371da88340fa77947f067069629829d4c (patch)
tree0dba8733c7477ded1beb494ccfeaeab27578c82f /devel/onetbb/files/patch-cmake-compilers-xxx.cmake
parent3eee124b49760989a58016922958911436c89477 (diff)
downloadports-4a0e524371da88340fa77947f067069629829d4c.tar.gz
ports-4a0e524371da88340fa77947f067069629829d4c.zip
devel/onetbb: Update to 2021.5.0
and bump dependent ports' revisions
Diffstat (limited to 'devel/onetbb/files/patch-cmake-compilers-xxx.cmake')
-rw-r--r--devel/onetbb/files/patch-cmake-compilers-xxx.cmake26
1 files changed, 0 insertions, 26 deletions
diff --git a/devel/onetbb/files/patch-cmake-compilers-xxx.cmake b/devel/onetbb/files/patch-cmake-compilers-xxx.cmake
deleted file mode 100644
index f40a5530967e..000000000000
--- a/devel/onetbb/files/patch-cmake-compilers-xxx.cmake
+++ /dev/null
@@ -1,26 +0,0 @@
-Fix build with clang >= 12 or gcc >= 11
-
-Backport from upstream, commit c4a42feb5333488360617a9b58f90e479659b744
-
---- cmake/compilers/Clang.cmake.orig 2021-10-04 09:50:18 UTC
-+++ cmake/compilers/Clang.cmake
-@@ -44,7 +44,7 @@ if (NOT TBB_STRICT AND COMMAND tbb_remove_compile_flag
- 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 "(AMD64|amd64|i.86|x86)")
- set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -mrtm $<$<NOT:$<VERSION_LESS:${CMAKE_CXX_COMPILER_VERSION},12.0>>:-mwaitpkg>)
- endif()
-
---- cmake/compilers/GNU.cmake.orig 2021-10-04 09:50:18 UTC
-+++ cmake/compilers/GNU.cmake
-@@ -36,7 +36,7 @@ if (NOT CMAKE_GENERATOR MATCHES "Ninja" AND NOT CMAKE_
- 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 "(AMD64|amd64|i.86|x86)")
- set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -mrtm $<$<AND:$<NOT:$<CXX_COMPILER_ID:Intel>>,$<NOT:$<VERSION_LESS:${CMAKE_CXX_COMPILER_VERSION},11.0>>>:-mwaitpkg>)
- endif()
-