File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,17 @@ jobs:
39
39
with :
40
40
version : ${{ matrix.version }}
41
41
arch : ${{ matrix.arch }}
42
+
42
43
- name : Build libEnzyme
44
+ if : ${{ matrix.os != 'macOS-latest'}}
43
45
run : |
44
46
julia --project=jl/deps -e 'using Pkg; Pkg.instantiate()'
45
47
julia --project=jl/deps jl/deps/build_local.jl ./enzyme
48
+ - name : Build libEnzyme MacOS
49
+ if : ${{ matrix.os == 'macOS-latest'}}
50
+ run : |
51
+ julia --project=jl/deps -e 'using Pkg; Pkg.instantiate()'
52
+ SDKROOT=`xcrun --show-sdk-path` julia --project=jl/deps jl/deps/build_local.jl ./enzyme
46
53
- uses : julia-actions/julia-buildpkg@v1
47
54
with :
48
55
project : jl
Original file line number Diff line number Diff line change @@ -8275,8 +8275,7 @@ class AdjointGenerator
8275
8275
assert (normalReturn->getType () == newCall->getType ());
8276
8276
gutils->replaceAWithB (newCall, normalReturn);
8277
8277
gutils->erase (newCall);
8278
- } else
8279
- eraseIfUnused (*orig);
8278
+ }
8280
8279
return ;
8281
8280
}
8282
8281
}
You can’t perform that action at this time.
0 commit comments