Skip to content

Commit

Permalink
Merge pull request #51 from topolarity/ct/fix-1.6
Browse files Browse the repository at this point in the history
Remove `@noinline` for Julia 1.6 / 1.7
  • Loading branch information
topolarity authored Dec 12, 2024
2 parents 2e35b2d + 449cb13 commit 46e1e54
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ steps:
os: "linux"
arch: "x86_64"
timeout_in_minutes: 60
- label: "Julia v1.10 (x86-64)"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
arch: "x86_64"
- JuliaCI/julia-test#v1:
agents:
queue: "juliaecosystem"
sandbox.jl: "true"
os: "linux"
arch: "x86_64"
timeout_in_minutes: 60
- label: "Julia v1.6 (i686)"
plugins:
- JuliaCI/julia:
Expand All @@ -31,3 +43,23 @@ steps:
os: "linux"
arch: "x86_64"
timeout_in_minutes: 60
- label: "Julia v1.10 (i686)"
plugins:
- JuliaCI/julia:
version: "1.10"
- staticfloat/sandbox#v1:
rootfs_url: "https://github.com/JuliaCI/rootfs-images/releases/download/v5.44/agent_linux.i686.tar.gz"
rootfs_treehash: "c0e2d7ef8f233d978c15e61734f0dfa25aba7536"
workspaces:
- "/cache:/cache"
# Once inside the sandbox, install a different version of Julia to run our tests
- JuliaCI/julia:
version: "1.10"
arch: "i686"
- JuliaCI/julia-test#v1:
agents:
queue: "juliaecosystem"
sandbox.jl: "true"
os: "linux"
arch: "x86_64"
timeout_in_minutes: 60
2 changes: 1 addition & 1 deletion src/LinuxPerf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ macro pstats(args...)
Base.donotdelete(val)
stats = Stats(bench)
else
stats = (@noinline rand()) < 0 ? val : Stats(bench)
stats = rand() < 0 ? val : Stats(bench)
end
return stats::Stats
catch
Expand Down

0 comments on commit 46e1e54

Please sign in to comment.