[PATCH] D103218: [Fuchsia][CMake] Add missing include path.
Haowei Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 26 17:49:24 PDT 2021
haowei created this revision.
haowei added reviewers: phosek, mcgrathr, leonardchan, gulfem.
Herald added subscribers: cryptoad, mgorny.
haowei requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This patch adds include path for missing header files from "sync". This patch also fixes the build failures caused by scudo introduced in D103200 <https://reviews.llvm.org/D103200>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D103218
Files:
clang/cmake/caches/Fuchsia-stage2.cmake
Index: clang/cmake/caches/Fuchsia-stage2.cmake
===================================================================
--- clang/cmake/caches/Fuchsia-stage2.cmake
+++ clang/cmake/caches/Fuchsia-stage2.cmake
@@ -145,7 +145,7 @@
set(FUCHSIA_x86_64-unknown-fuchsia_NAME x64)
set(FUCHSIA_riscv64-unknown-fuchsia_NAME riscv64)
foreach(target i386-unknown-fuchsia;x86_64-unknown-fuchsia;aarch64-unknown-fuchsia;riscv64-unknown-fuchsia)
- set(FUCHSIA_${target}_COMPILER_FLAGS "--target=${target} -I${FUCHSIA_SDK}/pkg/fdio/include")
+ set(FUCHSIA_${target}_COMPILER_FLAGS "--target=${target} -I${FUCHSIA_SDK}/pkg/sync/include -I${FUCHSIA_SDK}/pkg/fdio/include")
set(FUCHSIA_${target}_LINKER_FLAGS "-L${FUCHSIA_SDK}/arch/${FUCHSIA_${target}_NAME}/lib")
set(FUCHSIA_${target}_SYSROOT "${FUCHSIA_SDK}/arch/${FUCHSIA_${target}_NAME}/sysroot")
endforeach()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103218.348135.patch
Type: text/x-patch
Size: 868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210527/65810c3f/attachment-0001.bin>
More information about the cfe-commits
mailing list