Skip to content

Commit cd525df

Browse files
committed
Use self-built libxml2
1 parent b118532 commit cd525df

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/release-binaries.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ jobs:
157157
# at Microsoft.Tools.WindowsInstallerXml.Cab.Interop.NativeMethods.CreateCabFinish(IntPtr contextHandle, IntPtr newCabNamesCallBackAddress)
158158
# at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Complete(IntPtr newCabNamesCallBackAddress)
159159
# at Microsoft.Tools.WindowsInstallerXml.CabinetBuilder.CreateCabinet(CabinetWorkItem cabinetWorkItem)
160-
libxml2_prefix="/c/vcpkg/packages/libxml2_x64-windows-static/"
161-
#libxml2_prefix="/s/libxml-install/"
160+
#libxml2_prefix="/c/vcpkg/packages/libxml2_x64-windows-static/"
161+
libxml2_prefix="/s/libxml-install/"
162162
target_cmake_flags="$target_cmake_flags -DLLVM_RELEASE_ENABLE_LTO=OFF"
163163
target_cmake_flags="$target_cmake_flags -DLLVM_ENABLE_LIBXML2=FORCE_ON"
164164
target_cmake_flags="$target_cmake_flags -DBOOTSTRAP_LLVM_ENABLE_LIBXML2=FORCE_ON"
@@ -291,21 +291,22 @@ jobs:
291291
ninja -v -C libxml-build install
292292
293293
- name: Install libxml2
294+
if: false
294295
shell: bash
295296
env:
296-
VCPKG_CMAKE_CONFIGURE_OPTIONS: "-DBUILD_SHARED_LIBS=OFF"
297+
VCPKG_CMAKE_CONFIGURE_OPTIONS: -DBUILD_SHARED_LIBS=OFF
297298
run: |
298299
vcpkg install libxml2:x64-windows-static
299300
300301
- name: Configure
301302
id: build
302303
shell: bash
303304
run: |
304-
ls -l /c/vcpkg/packages/libxml2_x64-windows-static/
305-
ls -l /c/vcpkg/packages/libxml2_x64-windows-static/lib/
306-
ls -l /c/vcpkg/packages/libxml2_x64-windows-static/include/
307-
ls -l /c/vcpkg/packages/libxml2_x64-windows-static/include/libxml2
308-
ls -l /c/vcpkg/packages/libxml2_x64-windows-static/include/libxml2/libxml
305+
#ls -l /c/vcpkg/packages/libxml2_x64-windows-static/
306+
#ls -l /c/vcpkg/packages/libxml2_x64-windows-static/lib/
307+
#ls -l /c/vcpkg/packages/libxml2_x64-windows-static/include/
308+
#ls -l /c/vcpkg/packages/libxml2_x64-windows-static/include/libxml2
309+
#ls -l /c/vcpkg/packages/libxml2_x64-windows-static/include/libxml2/libxml
309310
# There were some issues on the ARM64 MacOS runners with trying to build x86 object,
310311
# so we need to set some extra cmake flags to disable this.
311312
cmake --debug-trycompile -G Ninja -S llvm -B ${{ steps.setup-stage.outputs.build-prefix }}/build \

0 commit comments

Comments
 (0)