Skip to content

Commit 386a03b

Browse files
committed
Attempt automatic detection
1 parent af3eb4d commit 386a03b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release-binaries.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,13 @@ jobs:
298298
#ls -l /c/vcpkg/packages/libxml2_x64-windows-static/include/libxml2/libxml
299299
# There were some issues on the ARM64 MacOS runners with trying to build x86 object,
300300
# so we need to set some extra cmake flags to disable this.
301+
# -DLIBXML2_LIBRARIES=/c/vcpkg/packages/libxml2_x64-windows-static/lib/libxml2.lib \
302+
# -DLIBXML2_INCLUDE_DIR=/c/vcpkg/packages/libxml2_x64-windows-static/include/libxml2 \
301303
cmake --debug-trycompile -G Ninja -S llvm -B ${{ steps.setup-stage.outputs.build-prefix }}/build \
302304
${{ needs.prepare.outputs.target-cmake-flags }} \
303305
-DLLVM_ENABLE_LIBXML2=FORCE_ON \
304-
-DLIBXML2_LIBRARIES=/c/vcpkg/packages/libxml2_x64-windows-static/lib/libxml2.lib \
305-
-DLIBXML2_INCLUDE_DIR=/c/vcpkg/packages/libxml2_x64-windows-static/include/libxml2 \
306306
-DLIBXML2_DEFINITIONS=-DLIBXML_STATIC \
307+
-DCMAKE_PREFIX_PATH=/c/vcpkg/packages/libxml2_x64-windows-static/ \
307308
-C clang/cmake/caches/Release.cmake \
308309
-DBOOTSTRAP_BOOTSTRAP_CPACK_PACKAGE_FILE_NAME="${{ needs.prepare.outputs.release-binary-basename }}"
309310

0 commit comments

Comments
 (0)