Skip to content

Commit 2716056

Browse files
committed
treat Enzyme more as a normal dependency
1 parent 449ab06 commit 2716056

File tree

2 files changed

+3
-24
lines changed

2 files changed

+3
-24
lines changed

.buildkite/pipeline.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,9 @@ steps:
4040
command: |
4141
julia -e 'println("--- :julia: Instantiating project")
4242
using Pkg
43-
try
44-
Pkg.develop([PackageSpec(; path=pwd()), PackageSpec("Enzyme"), PackageSpec("EnzymeCore"), PackageSpec("CUDA")])
45-
catch err
46-
Pkg.develop(; path=pwd())
47-
Pkg.add(["CUDA", "Enzyme"])
48-
end' || exit 3
43+
Pkg.develop(; path=pwd())
44+
Pkg.add(["CUDA", "Enzyme"])
45+
' || exit 3
4946
5047
julia -e 'println("+++ :julia: Running tests")
5148
using CUDA

.github/workflows/ci.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -128,24 +128,6 @@ jobs:
128128
end'
129129
echo '[pocl_jll]' > test/LocalPreferences.toml
130130
echo 'libpocl_path="${{ github.workspace }}/target/lib/libpocl.so"' >> test/LocalPreferences.toml
131-
- name: "Co-develop Enzyme and KA"
132-
run: |
133-
julia -e '
134-
using Pkg
135-
withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0) do
136-
Pkg.activate("test")
137-
Pkg.add(["Enzyme", "EnzymeCore"])
138-
139-
# to check compatibility, also add Enzyme to the main environment
140-
# (or Pkg.test, which merges both environments, could fail)
141-
Pkg.activate(".")
142-
# Try to co-develop Enzyme and KA
143-
try
144-
Pkg.develop([PackageSpec("Enzyme"), PackageSpec("EnzymeCore")])
145-
catch err
146-
end
147-
end
148-
'
149131
- uses: julia-actions/julia-buildpkg@v1
150132
- uses: julia-actions/julia-runtest@v1
151133
with:

0 commit comments

Comments
 (0)