From 6cdeec5376fd36eda5be31ec40e4c9471c77a311 Mon Sep 17 00:00:00 2001 From: Scott Mabin Date: Thu, 24 Oct 2024 15:04:08 +0100 Subject: [PATCH] build src explicitely --- .github/workflows/build-aarch64-apple-darwin.yaml | 2 +- .github/workflows/build-x86_64-apple-darwin.yaml | 2 +- .github/workflows/build-x86_64-pc-windows-gnu.yaml | 2 +- .github/workflows/build-x86_64-pc-windows-msvc.yaml | 2 +- support/rust-build/aarch64-unknown-linux-gnu/build.sh | 2 +- .../x86_64-pc-windows-gnu/build-rust-toolchain-msys2.sh | 2 +- support/rust-build/x86_64-unknown-linux-gnu/build.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-aarch64-apple-darwin.yaml b/.github/workflows/build-aarch64-apple-darwin.yaml index fe463bdf..0558338f 100644 --- a/.github/workflows/build-aarch64-apple-darwin.yaml +++ b/.github/workflows/build-aarch64-apple-darwin.yaml @@ -54,7 +54,7 @@ jobs: submodules: true - name: Prepare build run: | - arch -arm64 python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description="${{ github.event.inputs.release_version }}" --enable-extended --enable-cargo-native-static --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv --dist-compression-formats='xz' --set rust.jemalloc --enable-lld + arch -arm64 python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description="${{ github.event.inputs.release_version }}" --enable-extended --enable-cargo-native-static --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv,src --dist-compression-formats='xz' --set rust.jemalloc --enable-lld - name: Build with x.py - dist packages - with cached LLVM run: arch -arm64 python3 x.py dist --stage 2 || echo "silence pkg build error" - name: Upload Release Asset diff --git a/.github/workflows/build-x86_64-apple-darwin.yaml b/.github/workflows/build-x86_64-apple-darwin.yaml index 73c4d7cf..095f86d5 100644 --- a/.github/workflows/build-x86_64-apple-darwin.yaml +++ b/.github/workflows/build-x86_64-apple-darwin.yaml @@ -55,7 +55,7 @@ jobs: submodules: true - name: Prepare build run: | - python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description="${{ github.event.inputs.release_version }}" --enable-extended --enable-cargo-native-static --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv --dist-compression-formats='xz' --set rust.jemalloc --enable-lld + python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description="${{ github.event.inputs.release_version }}" --enable-extended --enable-cargo-native-static --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv,src --dist-compression-formats='xz' --set rust.jemalloc --enable-lld - name: Build with x.py - dist packages run: | brew install ninja diff --git a/.github/workflows/build-x86_64-pc-windows-gnu.yaml b/.github/workflows/build-x86_64-pc-windows-gnu.yaml index 9c3bf83f..722dc105 100644 --- a/.github/workflows/build-x86_64-pc-windows-gnu.yaml +++ b/.github/workflows/build-x86_64-pc-windows-gnu.yaml @@ -58,7 +58,7 @@ jobs: - name: Prepare build working-directory: "R:" run: | - C:\msys64\usr\bin\env.exe MSYSTEM=MINGW64 /usr/bin/bash -lc "cd /r; python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description='${{ github.event.inputs.release_version }}' --enable-extended --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv --dist-compression-formats='xz' --enable-lld" + C:\msys64\usr\bin\env.exe MSYSTEM=MINGW64 /usr/bin/bash -lc "cd /r; python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description='${{ github.event.inputs.release_version }}' --enable-extended --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv,src --dist-compression-formats='xz' --enable-lld" - name: Build with x.py - dist packages id: build-rust working-directory: "R:" diff --git a/.github/workflows/build-x86_64-pc-windows-msvc.yaml b/.github/workflows/build-x86_64-pc-windows-msvc.yaml index 6774edc5..2c936f30 100644 --- a/.github/workflows/build-x86_64-pc-windows-msvc.yaml +++ b/.github/workflows/build-x86_64-pc-windows-msvc.yaml @@ -59,7 +59,7 @@ jobs: working-directory: "R:" shell: powershell run: | - python src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description="${{ github.event.inputs.release_version }}" --enable-extended --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv,analysis,rust-analysis --dist-compression-formats='xz' --enable-lld + python src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description="${{ github.event.inputs.release_version }}" --enable-extended --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv,analysis,rust-analysis,src --dist-compression-formats='xz' --enable-lld - name: Build with x.py - dist packages working-directory: "R:" continue-on-error: true diff --git a/support/rust-build/aarch64-unknown-linux-gnu/build.sh b/support/rust-build/aarch64-unknown-linux-gnu/build.sh index 69793d8d..2bcff4f0 100755 --- a/support/rust-build/aarch64-unknown-linux-gnu/build.sh +++ b/support/rust-build/aarch64-unknown-linux-gnu/build.sh @@ -4,5 +4,5 @@ set -e git clone --recursive --depth 1 --shallow-submodules https://github.com/esp-rs/rust.git cd rust -python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description="${RELEASE_DESCRIPTION}" --enable-extended --enable-cargo-native-static --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv --dist-compression-formats='xz' --enable-lld +python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description="${RELEASE_DESCRIPTION}" --enable-extended --enable-cargo-native-static --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv,src --dist-compression-formats='xz' --enable-lld python3 x.py dist --stage 2 diff --git a/support/rust-build/x86_64-pc-windows-gnu/build-rust-toolchain-msys2.sh b/support/rust-build/x86_64-pc-windows-gnu/build-rust-toolchain-msys2.sh index ad71926d..96dfbeba 100644 --- a/support/rust-build/x86_64-pc-windows-gnu/build-rust-toolchain-msys2.sh +++ b/support/rust-build/x86_64-pc-windows-gnu/build-rust-toolchain-msys2.sh @@ -4,6 +4,6 @@ cd c: git clone --recursive --depth 1 --shallow-submodules https://github.com/esp-rs/rust.git r cd r -python3 src/bootstrap/configure.py --experimental-targets=Xtensa --enable-extended --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv --dist-compression-formats='xz' --host 'x86_64-pc-windows-gnu' --enable-lld +python3 src/bootstrap/configure.py --experimental-targets=Xtensa --enable-extended --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv,src --dist-compression-formats='xz' --host 'x86_64-pc-windows-gnu' --enable-lld python3 x.py dist --stage 2 diff --git a/support/rust-build/x86_64-unknown-linux-gnu/build.sh b/support/rust-build/x86_64-unknown-linux-gnu/build.sh index 0f1d9a3a..ce1dc1c7 100755 --- a/support/rust-build/x86_64-unknown-linux-gnu/build.sh +++ b/support/rust-build/x86_64-unknown-linux-gnu/build.sh @@ -4,5 +4,5 @@ set -e git clone --recursive --depth 1 --shallow-submodules https://github.com/esp-rs/rust.git cd rust -python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description="${RELEASE_DESCRIPTION}" --enable-extended --enable-cargo-native-static --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv --dist-compression-formats='xz' --enable-lld +python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --release-description="${RELEASE_DESCRIPTION}" --enable-extended --enable-cargo-native-static --tools=clippy,cargo,rustfmt,rust-analyzer-proc-macro-srv,src --dist-compression-formats='xz' --enable-lld python3 x.py dist --stage 2 \ No newline at end of file