spack/var/spack/repos/builtin/packages/intel-tbb/tbb_cmakeConfig-2019.5.patch
Mark W. Krentel 92ca639905 intel-tbb: fix and update patches for latest versions (#13932)
Commit 78724357 added versions 2019.5 to 2019.8 but failed to update
the patches for these versions.

1. gcc_generic-pedantic patch -- include this up through 2019.5.  This
was fixed in the TBB source tree in 2019.6.

2. tbb_cmakeConfig patch -- this needs to be modified (different file)
for 2019.5 and later.

3. tbb_gcc_rtm_key patch -- replace this with filter_file.  This is
simpler and eliminates the need to update the patch whenever the
surrounding context changes.
2019-11-29 13:18:56 -06:00

15 lines
556 B
Diff

This patch adapts the tbb_cmakeConfig.patch for 2019.5 and later.
The file changed.
--- cmake/TBBMakeConfig.cmake.orig 2019-03-21 10:28:21.000000000 -0500
+++ cmake/TBBMakeConfig.cmake 2019-11-27 22:52:45.270824744 -0600
@@ -175,7 +175,7 @@
${TBB_CHOOSE_COMPILER_SUBDIR}
-get_filename_component(_tbb_lib_path \"\${_tbb_root}/${TBB_SHARED_LIB_DIR}/\${_tbb_arch_subdir}/\${_tbb_compiler_subdir}\" ABSOLUTE)
+get_filename_component(_tbb_lib_path \"\${_tbb_root}/${TBB_SHARED_LIB_DIR}\" ABSOLUTE)
")
set(TBB_RELEASE_LIB_PATH "\${_tbb_lib_path}")