Skip to content

Commit 9c59e3c

Browse files
committed
test: remove LTO workaround for apple LLVM
1 parent 599cd25 commit 9c59e3c

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

tests/install/CMakeLists.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,6 @@ if(FEATURE_TESTS)
1717
)
1818
endif()
1919

20-
set(ENABLE_INTERPROCEDURAL_OPTIMIZATION "ENABLE_INTERPROCEDURAL_OPTIMIZATION")
21-
if(APPLE)
22-
detect_macos_version(apple_version)
23-
if(apple_version VERSION_GREATER_EQUAL 13)
24-
# workaround for linkage error as described in https://github.com/Homebrew/homebrew-core/issues/145991
25-
# although fixed, this problem still exists in github actions
26-
add_link_options(-Wl,-ld_classic)
27-
set(ENABLE_INTERPROCEDURAL_OPTIMIZATION "")
28-
endif()
29-
endif()
30-
3120
# Initialize project_options
3221
project_options(
3322
ENABLE_CACHE

tests/myproj/CMakeLists.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,6 @@ if(NOT MSVC)
4949
#message(STATUS "Detect Linker: ${LINKER}")
5050
endif()
5151

52-
set(ENABLE_INTERPROCEDURAL_OPTIMIZATION "ENABLE_INTERPROCEDURAL_OPTIMIZATION")
53-
if(APPLE)
54-
detect_macos_version(apple_version)
55-
if(apple_version VERSION_GREATER_EQUAL 13)
56-
# workaround for linkage error as described in https://github.com/Homebrew/homebrew-core/issues/145991
57-
# although fixed, this problem still exists in github actions
58-
add_link_options(-Wl,-ld_classic)
59-
set(ENABLE_INTERPROCEDURAL_OPTIMIZATION "")
60-
endif()
61-
endif()
62-
6352
# Initialize project_options
6453
# uncomment the options to enable them
6554
project_options(

0 commit comments

Comments
 (0)