mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
ci: apply workaround for #22213 to x86_64-linux scripts
This commit is contained in:
parent
713716770e
commit
a8f9b5dc06
3 changed files with 16 additions and 4 deletions
|
|
@ -34,7 +34,10 @@ cmake .. \
|
||||||
-DZIG_STATIC=ON \
|
-DZIG_STATIC=ON \
|
||||||
-DZIG_NO_LIB=ON \
|
-DZIG_NO_LIB=ON \
|
||||||
-DZIG_EXTRA_BUILD_ARGS="-Duse-llvm=true" \
|
-DZIG_EXTRA_BUILD_ARGS="-Duse-llvm=true" \
|
||||||
-GNinja
|
-GNinja \
|
||||||
|
-DCMAKE_C_LINKER_DEPFILE_SUPPORTED=FALSE \
|
||||||
|
-DCMAKE_CXX_LINKER_DEPFILE_SUPPORTED=FALSE
|
||||||
|
# https://github.com/ziglang/zig/issues/22213
|
||||||
|
|
||||||
# Now cmake will use zig as the C/C++ compiler. We reset the environment variables
|
# Now cmake will use zig as the C/C++ compiler. We reset the environment variables
|
||||||
# so that installation and testing do not get affected by them.
|
# so that installation and testing do not get affected by them.
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,10 @@ cmake .. \
|
||||||
-DZIG_TARGET_MCPU="$MCPU" \
|
-DZIG_TARGET_MCPU="$MCPU" \
|
||||||
-DZIG_STATIC=ON \
|
-DZIG_STATIC=ON \
|
||||||
-DZIG_NO_LIB=ON \
|
-DZIG_NO_LIB=ON \
|
||||||
-GNinja
|
-GNinja \
|
||||||
|
-DCMAKE_C_LINKER_DEPFILE_SUPPORTED=FALSE \
|
||||||
|
-DCMAKE_CXX_LINKER_DEPFILE_SUPPORTED=FALSE
|
||||||
|
# https://github.com/ziglang/zig/issues/22213
|
||||||
|
|
||||||
# Now cmake will use zig as the C/C++ compiler. We reset the environment variables
|
# Now cmake will use zig as the C/C++ compiler. We reset the environment variables
|
||||||
# so that installation and testing do not get affected by them.
|
# so that installation and testing do not get affected by them.
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,10 @@ cmake .. \
|
||||||
-DZIG_TARGET_MCPU="$MCPU" \
|
-DZIG_TARGET_MCPU="$MCPU" \
|
||||||
-DZIG_STATIC=ON \
|
-DZIG_STATIC=ON \
|
||||||
-DZIG_NO_LIB=ON \
|
-DZIG_NO_LIB=ON \
|
||||||
-GNinja
|
-GNinja \
|
||||||
|
-DCMAKE_C_LINKER_DEPFILE_SUPPORTED=FALSE \
|
||||||
|
-DCMAKE_CXX_LINKER_DEPFILE_SUPPORTED=FALSE
|
||||||
|
# https://github.com/ziglang/zig/issues/22213
|
||||||
|
|
||||||
# Now cmake will use zig as the C/C++ compiler. We reset the environment variables
|
# Now cmake will use zig as the C/C++ compiler. We reset the environment variables
|
||||||
# so that installation and testing do not get affected by them.
|
# so that installation and testing do not get affected by them.
|
||||||
|
|
@ -97,7 +100,10 @@ cmake .. \
|
||||||
-DZIG_TARGET_MCPU="$MCPU" \
|
-DZIG_TARGET_MCPU="$MCPU" \
|
||||||
-DZIG_STATIC=ON \
|
-DZIG_STATIC=ON \
|
||||||
-DZIG_NO_LIB=ON \
|
-DZIG_NO_LIB=ON \
|
||||||
-GNinja
|
-GNinja \
|
||||||
|
-DCMAKE_C_LINKER_DEPFILE_SUPPORTED=FALSE \
|
||||||
|
-DCMAKE_CXX_LINKER_DEPFILE_SUPPORTED=FALSE
|
||||||
|
# https://github.com/ziglang/zig/issues/22213
|
||||||
|
|
||||||
unset CC
|
unset CC
|
||||||
unset CXX
|
unset CXX
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue