Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5909979

Browse files
authoredJul 25, 2024
[BOLT] Fix archive output directory for standalone on Mac (llvm#100643)
CC @gulfemsavrun Fixes a line which wasn't changed in llvm#97130
1 parent 31d2894 commit 5909979

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎bolt/runtime/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES ".*Clang.*" AND CMAKE_SYSTEM_NAME STREQUAL "Da
6161
instr.cpp
6262
${CMAKE_CURRENT_BINARY_DIR}/config.h
6363
)
64-
set_target_properties(bolt_rt_instr_osx PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${LLVM_LIBRARY_DIR}")
64+
set_target_properties(bolt_rt_instr_osx PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}")
6565
target_include_directories(bolt_rt_instr_osx PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
6666
target_compile_options(bolt_rt_instr_osx PRIVATE
6767
-target x86_64-apple-darwin19.6.0

0 commit comments

Comments
 (0)
Please sign in to comment.