Skip to content

Commit 5b07695

Browse files
authored
Derive compile config for runtime correctly (#684)
1 parent aaad5ba commit 5b07695

File tree

2 files changed

+4
-27
lines changed

2 files changed

+4
-27
lines changed

.buildkite/pipeline.yml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -92,32 +92,9 @@ steps:
9292
queue: "juliagpu"
9393
rocm: "*"
9494
if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
95-
timeout_in_minutes: 120
96-
soft_fail: true
97-
98-
- label: "AMDGPU.jl 1.11 opaque pointers"
99-
plugins:
100-
- JuliaCI/julia#v1:
101-
version: "1.11"
102-
- JuliaCI/julia-coverage#v1:
103-
codecov: true
104-
command: |
105-
julia -e 'println("--- :julia: Instantiating project")
106-
using Pkg
107-
Pkg.develop(; path=pwd())
108-
Pkg.develop(; name="AMDGPU")' || exit 3
109-
110-
julia -e 'println("+++ :julia: Running tests")
111-
using Pkg
112-
Pkg.test("AMDGPU"; coverage=true)'
113-
agents:
114-
queue: "juliagpu"
115-
rocm: "*"
116-
if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
117-
timeout_in_minutes: 120
118-
soft_fail: true
119-
env:
120-
JULIA_LLVM_ARGS: "-opaque-pointers"
95+
timeout_in_minutes: 30
96+
soft_fail:
97+
- exit_status: 3
12198

12299
- label: "Enzyme.jl"
123100
plugins:

src/rtlib.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function build_runtime(@nospecialize(job::CompilerJob))
9999

100100
# the compiler job passed into here is identifies the job that requires the runtime.
101101
# derive a job that represents the runtime itself (notably with kernel=false).
102-
config = CompilerConfig(job.config; kernel=false, toplevel=false)
102+
config = CompilerConfig(job.config; kernel=false, toplevel=false, only_entry=false, strip=false)
103103

104104
for method in values(Runtime.methods)
105105
def = if isa(method.def, Symbol)

0 commit comments

Comments
 (0)