From cf83bde4b1d50c187ed7ab1bf50cd879be0aa57c Mon Sep 17 00:00:00 2001 From: Tom Bannink Date: Mon, 17 Jun 2024 15:37:08 +0200 Subject: [PATCH] Update `--remote_cache` arguments in `release.yml` Remove `--distinct_host_configuration` flags --- .github/tools/release_linux.sh | 1 - .github/workflows/release.yml | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/tools/release_linux.sh b/.github/tools/release_linux.sh index 2fd22064..55a02523 100755 --- a/.github/tools/release_linux.sh +++ b/.github/tools/release_linux.sh @@ -7,7 +7,6 @@ python configure.py bazel build :build_pip_pkg \ --copt=-fvisibility=hidden \ --copt=-mavx \ - --distinct_host_configuration=false \ --verbose_failures \ --crosstool_top=@ubuntu20.04-gcc9_manylinux2014-cuda11.2-cudnn8.1-tensorrt7.2_config_cuda//crosstool:toolchain diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b9e647bd..b4bb1fdf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -157,11 +157,11 @@ jobs: export MACOSX_DEPLOYMENT_TARGET=10.14 if [[ -n $GOOGLE_APPLICATION_CREDENTIALS ]]; then - echo -e 'build --remote_http_cache=https://storage.googleapis.com/plumerai-bazel-cache/lce-release-macos-python${{ matrix.python-version }}' >> .bazelrc.user + echo -e 'build --remote_cache=https://storage.googleapis.com/plumerai-bazel-cache/lce-release-macos-python${{ matrix.python-version }}' >> .bazelrc.user echo -e 'build --google_default_credentials' >> .bazelrc.user fi - bazelisk build :build_pip_pkg --copt=-fvisibility=hidden --copt=-mavx --linkopt=-dead_strip --distinct_host_configuration=false + bazelisk build :build_pip_pkg --copt=-fvisibility=hidden --copt=-mavx --linkopt=-dead_strip bazel-bin/build_pip_pkg artifacts --plat-name macosx_10_14_x86_64 for f in artifacts/*.whl; do @@ -201,7 +201,7 @@ jobs: export MACOSX_DEPLOYMENT_TARGET=11.0 if [[ -n $GOOGLE_APPLICATION_CREDENTIALS ]]; then - echo -e 'build --remote_http_cache=https://storage.googleapis.com/plumerai-bazel-cache/lce-release-macos-arm-python${{ matrix.python-version }}' >> .bazelrc.user + echo -e 'build --remote_cache=https://storage.googleapis.com/plumerai-bazel-cache/lce-release-macos-arm-python${{ matrix.python-version }}' >> .bazelrc.user echo -e 'build --google_default_credentials' >> .bazelrc.user fi @@ -239,7 +239,7 @@ jobs: - name: Build manylinux2014 wheels run: | if [[ -n $GOOGLE_APPLICATION_CREDENTIALS ]]; then - echo -e 'build --remote_http_cache=https://storage.googleapis.com/plumerai-bazel-cache/lce-release-manylinux-python${{ matrix.python-version }}' >> .bazelrc.user + echo -e 'build --remote_cache=https://storage.googleapis.com/plumerai-bazel-cache/lce-release-manylinux-python${{ matrix.python-version }}' >> .bazelrc.user echo -e 'build --google_default_credentials' >> .bazelrc.user fi @@ -302,7 +302,7 @@ jobs: "" | python configure.py - bazelisk --output_base=C:\build_output build :build_pip_pkg --enable_runfiles --local_ram_resources=4096 --remote_http_cache=https://storage.googleapis.com/plumerai-bazel-cache/lce-release-windows-python${{ matrix.python-version }} --google_default_credentials + bazelisk --output_base=C:\build_output build :build_pip_pkg --enable_runfiles --local_ram_resources=4096 --remote_cache=https://storage.googleapis.com/plumerai-bazel-cache/lce-release-windows-python${{ matrix.python-version }} --google_default_credentials bazel-bin/build_pip_pkg wheelhouse env: LCE_RELEASE_VERSION: ${{ github.event.inputs.version }}