File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,17 @@ jobs:
121121 - name : Build local libReactant
122122 timeout-minutes : 60
123123 run : |
124+ # Modify commit Enzyme-JAX commit
125+ sed -i.bak 's/ENZYMEXLA_COMMIT = ".*"/ENZYMEXLA_COMMIT = "${{ github.sha }}"/' ReactantExtra/WORKSPACE
126+
127+ # Modify XLA commit
128+ if [[ -n "${{ matrix.xla_commit }}" ]]; then
129+ sed -E -i.bak \
130+ -e 's?load\("@jax//third_party/xla:revision.bzl", "XLA_COMMIT", "XLA_SHA256"\)??' \
131+ -e 's/(# )?XLA_COMMIT = ".*"/XLA_COMMIT = "${{ matrix.xla_commit }}"/' \
132+ -e 's/(# )?XLA_SHA256 = ""/XLA_SHA256 = ""/' \
133+ ReactantExtra/WORKSPACE
134+ fi
124135 julia --project --color=yes -e 'using Pkg; Pkg.instantiate()'
125136 julia --project --color=yes -O0 build_local.jl --cc=clang --gcc_host_compiler_path=
126137 working-directory : ${{ env.REACTANT_DIR }}/deps
You can’t perform that action at this time.
0 commit comments