File tree Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -99,21 +99,28 @@ jobs:
9999 - name : Load Julia packages from cache
100100 id : julia-cache
101101 uses : julia-actions/cache@v2
102- - name : Build local libReactant
103- timeout-minutes : 60
102+ - name : Modify Enzyme-JAX commit
103+ timeout-minutes : 1
104104 run : |
105- # Modify commit Enzyme-JAX commit
106105 sed -i.bak 's/ENZYMEXLA_COMMIT = ".*"/ENZYMEXLA_COMMIT = "${{ github.sha }}"/' ReactantExtra/WORKSPACE
107106
108- # Modify XLA commit
107+ cat ReactantExtra/WORKSPACE
108+ working-directory : ${{ env.REACTANT_DIR }}/deps
109+ - name : Modify XLA commit
110+ timeout-minutes : 1
111+ shell : bash
112+ run : |
109113 if [[ -n "${{ matrix.xla_commit }}" ]]; then
110114 sed -E -i.bak \
111- -e 's?load\("@jax//third_party/xla:revision.bzl", "XLA_COMMIT", "XLA_SHA256"\)??' \
112- -e 's/(# )?XLA_COMMIT = ".*"/XLA_COMMIT = "0123456789abcdef0123456789abcdef01234567"/' \
113- -e 's/(# )?XLA_SHA256 = ""/XLA_SHA256 = ""/' \
115+ -e 's/xla_workspace\(NEW_XLA_PATCHES(, .*)?\)/xla_workspace(NEW_XLA_PATCHES, "${{ matrix.xla_commit }}")/' \
114116 ReactantExtra/WORKSPACE
115- fi
116117
118+ cat ReactantExtra/WORKSPACE
119+ fi
120+ working-directory : ${{ env.REACTANT_DIR }}/deps
121+ - name : Build local libReactant
122+ timeout-minutes : 60
123+ run : |
117124 julia --project --color=yes -e 'using Pkg; Pkg.instantiate()'
118125 julia --project --color=yes -O0 build_local.jl --cc=clang --gcc_host_compiler_path=
119126 working-directory : ${{ env.REACTANT_DIR }}/deps
You can’t perform that action at this time.
0 commit comments