File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -99,18 +99,29 @@ 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
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 : |
108113 # Modify XLA commit
109114 if [[ -n "${{ matrix.xla_commit }}" ]]; then
110- sed -i.bak \
111- -e 's/xla_workspace(NEW_XLA_PATCHES) /xla_workspace(NEW_XLA_PATCHES, "${{ matrix.xla_commit }}") ReactantExtra/WORKSPACE
112- fi
115+ sed -E - i.bak \
116+ -e 's/xla_workspace\ (NEW_XLA_PATCHES(, .*)?\) /xla_workspace(NEW_XLA_PATCHES, "${{ matrix.xla_commit }}")/' \
117+ ReactantExtra/WORKSPACE
113118
119+ cat ReactantExtra/WORKSPACE
120+ fi
121+ working-directory : ${{ env.REACTANT_DIR }}/deps
122+ - name : Build local libReactant
123+ timeout-minutes : 60
124+ run : |
114125 julia --project --color=yes -e 'using Pkg; Pkg.instantiate()'
115126 julia --project --color=yes -O0 build_local.jl --cc=clang --gcc_host_compiler_path=
116127 working-directory : ${{ env.REACTANT_DIR }}/deps
You can’t perform that action at this time.
0 commit comments