Skip to content

Commit

Permalink
WIP: Use vku with vcpkg overlays.
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe2933 committed Jul 21, 2024
1 parent ba7bbaa commit 48722e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/clang-toolchain.cmake

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
-DCMAKE_TOOLCHAIN_FILE="$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" \
-DVCPKG_OVERLAY_TRIPLETS=".github/workflows/triplets" \
-DVCPKG_TARGET_TRIPLET="x64-linux-clang" \
-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=".github/workflows/clang-toolchain.cmake" \
-DCMAKE_CXX_FLAGS="-stdlib=libc++" \
-DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++ -lc++abi"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/triplets/x64-linux-clang.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_CMAKE_SYSTEM_NAME Linux)
set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE .github/workflows/clang-toolchain.cmake)

set(CMAKE_C_COMPILER /usr/bin/clang-18)
set(CMAKE_CXX_COMPILER /usr/bin/clang++-18)

0 comments on commit 48722e1

Please sign in to comment.