Skip to content

Commit 58f14b3

Browse files
committed
Try
1 parent 95436cf commit 58f14b3

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/enzyme-bazel.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -135,27 +135,27 @@ jobs:
135135
- name: Set BAZEL_FLAGS
136136
shell: bash
137137
run: |
138-
BAZEL_FLAGS=""
139-
which clang
140-
# BAZEL_FLAGS="${BAZEL_FLAGS} --linkopt=-fuse-ld=lld"
141-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=TPU_TOPOLOGY"
142-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=TPU_WORKER_ID"
143-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=TPU_SKIP_MDS_QUERY=true"
144-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=TPU_TOPOLOGY_WRAP"
145-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=TPU_CHIPS_PER_HOST_BOUNDS"
146-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=TPU_ACCELERATOR_TYPE"
147-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=TPU_RUNTIME_METRICS_PORTS"
148-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=TPU_TOPOLOGY_ALT"
149-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=TPU_HOST_BOUNDS"
150-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=TPU_WORKER_HOSTNAMES"
151-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=CHIPS_PER_HOST_BOUNDS"
152-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=HOST_BOUNDS"
153-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=ALT=false"
154-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=WRAP"
155-
# BAZEL_FLAGS="${BAZEL_FLAGS} --test_env=VBAR_CONTROL_SERVICE_URL"
156-
# BAZEL_FLAGS="${BAZEL_FLAGS} --repo_env=CC=`which clang`"
157-
# BAZEL_FLAGS="${BAZEL_FLAGS} --define=using_clang=true"
158-
# echo "BAZEL_FLAGS=${BAZEL_FLAGS}" >> "${GITHUB_ENV}"
138+
BAZEL_FLAGS=(
139+
--linkopt=-fuse-ld=lld
140+
--test_env=TPU_TOPOLOGY
141+
--test_env=TPU_WORKER_ID
142+
--test_env=TPU_SKIP_MDS_QUERY=true
143+
--test_env=TPU_TOPOLOGY_WRAP
144+
--test_env=TPU_CHIPS_PER_HOST_BOUNDS
145+
--test_env=TPU_ACCELERATOR_TYPE
146+
--test_env=TPU_RUNTIME_METRICS_PORTS
147+
--test_env=TPU_TOPOLOGY_ALT
148+
--test_env=TPU_HOST_BOUNDS
149+
--test_env=TPU_WORKER_HOSTNAMES
150+
--test_env=CHIPS_PER_HOST_BOUNDS
151+
--test_env=HOST_BOUNDS
152+
--test_env=ALT=false
153+
--test_env=WRAP
154+
--test_env=VBAR_CONTROL_SERVICE_URL
155+
--repo_env=CC=$(which clang)
156+
--define=using_clang=true
157+
)
158+
echo "BAZEL_FLAGS=${BAZEL_FLAGS[@]}" >> "${GITHUB_ENV}"
159159
160160
# - name: EnzymeJaX build
161161
# working-directory: ${{ env.BASE_DIR }}/'Enzyme-JaX'

0 commit comments

Comments
 (0)