mirror of https://github.com/mamba-org/mamba.git
Fix CI failure on win-64 (#3315)
* Attempt to fix CI failure on win-64 * Set flag in CI workflow instead of CMake file
This commit is contained in:
parent
221c671fcd
commit
49fd2f0f5d
|
@ -149,6 +149,9 @@ jobs:
|
|||
reproc-cpp-static>=14.2.4.post0
|
||||
- name: build micromamba
|
||||
shell: cmd /C call {0}
|
||||
# Using D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR is a workaround to fix CI failure on win-64
|
||||
# after updating runners to 20240603.1 image
|
||||
# (cf. https://github.com/actions/runner-images/issues/10004#issuecomment-2153445161)
|
||||
run: |
|
||||
set CMAKE_PREFIX_PATH=.\vcpkg_installed\x64-windows-static-md;%CONDA_PREFIX%\Library
|
||||
cmake -S . ^
|
||||
|
@ -156,6 +159,7 @@ jobs:
|
|||
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache ^
|
||||
-D CMAKE_C_COMPILER_LAUNCHER=sccache ^
|
||||
-D CMAKE_MSVC_RUNTIME_LIBRARY="MultiThreadedDLL" ^
|
||||
-D CMAKE_CXX_FLAGS=" /D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR" ^
|
||||
-D CMAKE_BUILD_TYPE="Release" ^
|
||||
-D BUILD_LIBMAMBA=ON ^
|
||||
-D BUILD_STATIC=ON ^
|
||||
|
|
Loading…
Reference in New Issue