diff --git a/ci/azure/macos_script b/ci/azure/macos_script index c9adb84d496aece9769c84e2555745248af2d07b..2bc0e75e6167f07246ca436ddaff65f0f8384791 100755 --- a/ci/azure/macos_script +++ b/ci/azure/macos_script @@ -49,7 +49,7 @@ unset CXX make $JOBS install stage3-release/bin/zig build test docs \ - --zig-lib-dir ../lib \ + --zig-lib-dir "$(pwd)/../lib" \ -Denable-macos-sdk \ -Dstatic-llvm \ --search-prefix "$PREFIX" diff --git a/ci/azure/pipelines.yml b/ci/azure/pipelines.yml index 172336423d6b6856da19adda912a347c8c84283b..45504c5b6ee91d444f8fc854926eddc4f64b7689 100644 --- a/ci/azure/pipelines.yml +++ b/ci/azure/pipelines.yml @@ -60,7 +60,6 @@ jobs: displayName: 'Build' - pwsh: | - Set-Variable -Name ZIGLIBDIR -Value "$(Get-Location)\lib" Set-Variable -Name ZIGINSTALLDIR -Value "$(Get-Location)\stage3-release" function CheckLastExitCode { @@ -72,7 +71,6 @@ jobs: & "$ZIGINSTALLDIR\bin\zig.exe" build test docs ` --search-prefix "$ZIGPREFIXPATH" ` - --zig-lib-dir "$ZIGLIBDIR" ` -Dstatic-llvm ` -Dskip-non-native ` -Dskip-stage2-tests diff --git a/ci/srht/freebsd_script b/ci/srht/freebsd_script index cf1d00d22cb4277fcade287376e996b4dc43ca31..d54f13d03e73d6d6757a7730bb443b5d53f8b443 100755 --- a/ci/srht/freebsd_script +++ b/ci/srht/freebsd_script @@ -56,7 +56,7 @@ ZIG_LIBC="$ZIG_LIBC_TXT" samu install # Here we skip some tests to save time. stage3/bin/zig build test docs \ - --zig-lib-dir ../lib \ + --zig-lib-dir "$(pwd)/../lib" \ -Dstatic-llvm \ --search-prefix "$PREFIX" \ -Dskip-stage1 \ diff --git a/ci/zinc/linux_test_stage3_debug b/ci/zinc/linux_test_stage3_debug index 7f871e39583667c65508ec0f894cb235c0d80f1f..401b225f3d3937cd510014a887da5b8c0041ae25 100755 --- a/ci/zinc/linux_test_stage3_debug +++ b/ci/zinc/linux_test_stage3_debug @@ -56,7 +56,7 @@ stage3/bin/zig build test \ -Dstatic-llvm \ -Dtarget=native-native-musl \ --search-prefix "$DEPS_LOCAL" \ - --zig-lib-dir ../lib + --zig-lib-dir "$(pwd)/../lib" # Explicit exit helps show last command duration. exit diff --git a/ci/zinc/linux_test_stage3_release b/ci/zinc/linux_test_stage3_release index d450d7bc79f02de971c920587f3a5448c4b1d8ff..63883a39488ff12e38ad22e5367fc09d42f4db84 100755 --- a/ci/zinc/linux_test_stage3_release +++ b/ci/zinc/linux_test_stage3_release @@ -41,14 +41,14 @@ ninja install -Dstatic-llvm \ -Dtarget=native-native-musl \ --search-prefix "$DEPS_LOCAL" \ - --zig-lib-dir ../lib + --zig-lib-dir "$(pwd)/../lib" # Produce the experimental std lib documentation. mkdir -p "$RELEASE_STAGING/docs/std" "$RELEASE_STAGING/bin/zig" test ../lib/std/std.zig \ -femit-docs=$RELEASE_STAGING/docs/std \ -fno-emit-bin \ - --zig-lib-dir ../lib + --zig-lib-dir "$(pwd)/../lib" cp ../LICENSE $RELEASE_STAGING/ cp ../zig-cache/langref.html $RELEASE_STAGING/docs/