From 3bb001d3f364bbf6588fed04b9ee2c7e74a0beba Mon Sep 17 00:00:00 2001 From: Alexander Thoma Date: Fri, 11 Feb 2022 11:45:35 +0100 Subject: fix openmp patch filename --- .../clang/clang/0029-OpenMP-link-fix.patch | 26 ++++++++++++++++++++++ .../clang/clang/0029-OpenMP-link-fix.patch | 26 ---------------------- 2 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch delete mode 100644 recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch diff --git a/recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch b/recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch new file mode 100644 index 0000000..3901268 --- /dev/null +++ b/recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch @@ -0,0 +1,26 @@ +From 11bd98436bd7e99fb1fc2c07c150c71e2250a262 Mon Sep 17 00:00:00 2001 +From: Joel Winarske +Date: Wed, 9 Feb 2022 11:11:55 -0800 +Subject: [PATCH] OpenMP link fix + +Signed-off-by: Joel Winarske +--- + openmp/runtime/src/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/openmp/runtime/src/CMakeLists.txt b/openmp/runtime/src/CMakeLists.txt +index 9f46b4bd4..3106e497d 100644 +--- a/openmp/runtime/src/CMakeLists.txt ++++ b/openmp/runtime/src/CMakeLists.txt +@@ -168,7 +168,7 @@ endif() + + # Linking command will include libraries in LIBOMP_CONFIGURED_LIBFLAGS + libomp_get_libflags(LIBOMP_CONFIGURED_LIBFLAGS) +-target_link_libraries(omp ${LIBOMP_CONFIGURED_LIBFLAGS} ${CMAKE_DL_LIBS}) ++target_link_libraries(omp ${LIBOMP_CONFIGURED_LIBFLAGS} ${CMAKE_DL_LIBS} "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/exports_so.txt") + + # Create *.inc before compiling any sources + # objects depend on : .inc files +-- +2.31.1 + diff --git a/recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch b/recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch deleted file mode 100644 index 3901268..0000000 --- a/recipes-devtools/clang/clang/0029-OpenMP-link-fix.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 11bd98436bd7e99fb1fc2c07c150c71e2250a262 Mon Sep 17 00:00:00 2001 -From: Joel Winarske -Date: Wed, 9 Feb 2022 11:11:55 -0800 -Subject: [PATCH] OpenMP link fix - -Signed-off-by: Joel Winarske ---- - openmp/runtime/src/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/openmp/runtime/src/CMakeLists.txt b/openmp/runtime/src/CMakeLists.txt -index 9f46b4bd4..3106e497d 100644 ---- a/openmp/runtime/src/CMakeLists.txt -+++ b/openmp/runtime/src/CMakeLists.txt -@@ -168,7 +168,7 @@ endif() - - # Linking command will include libraries in LIBOMP_CONFIGURED_LIBFLAGS - libomp_get_libflags(LIBOMP_CONFIGURED_LIBFLAGS) --target_link_libraries(omp ${LIBOMP_CONFIGURED_LIBFLAGS} ${CMAKE_DL_LIBS}) -+target_link_libraries(omp ${LIBOMP_CONFIGURED_LIBFLAGS} ${CMAKE_DL_LIBS} "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/exports_so.txt") - - # Create *.inc before compiling any sources - # objects depend on : .inc files --- -2.31.1 - -- cgit v1.2.3-54-g00ecf