Skip to content

Commit

Permalink
Update --remote_cache arguments in release.yml
Browse files Browse the repository at this point in the history
Remove `--distinct_host_configuration` flags
  • Loading branch information
Tombana committed Jun 17, 2024
1 parent 15fcadb commit cf83bde
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/tools/release_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ python configure.py
bazel build :build_pip_pkg \
--copt=-fvisibility=hidden \
--copt=-mavx \
--distinct_host_configuration=false \
--verbose_failures \
[email protected]_manylinux2014-cuda11.2-cudnn8.1-tensorrt7.2_config_cuda//crosstool:toolchain

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit cf83bde

Please sign in to comment.