Skip to content

Commit c2e08f8

Browse files
authored
[ATfE] Use target specific directory for llvmlibc includes (#560)
After an upstream change, the LLVM_ENABLE_PER_TARGET_RUNTIME_DIR option now applies to the include directory when building LLVM libc. The install rules for the build have been updated to copy includes from the new target specific subdirectory, which is already done for the lib directory.
1 parent 34ce2b7 commit c2e08f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arm-software/embedded/arm-runtimes/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,11 +774,11 @@ if(C_LIBRARY STREQUAL llvmlibc)
774774
-E copy_directory
775775
<INSTALL_DIR>/lib/${target_triple}
776776
"${TEMP_LIB_DIR}/lib"
777-
# And copy the include directory, which is already arranged right.
777+
# Also copy the includes from their target-specific subdirectory.
778778
COMMAND
779779
${CMAKE_COMMAND}
780780
-E copy_directory
781-
<INSTALL_DIR>/include
781+
<INSTALL_DIR>/include/${target_triple}
782782
"${TEMP_LIB_DIR}/include"
783783
)
784784

0 commit comments

Comments
 (0)