Skip to content

Commit 46e1e54

Browse files
authored
Merge pull request #51 from topolarity/ct/fix-1.6
Remove `@noinline` for Julia 1.6 / 1.7
2 parents 2e35b2d + 449cb13 commit 46e1e54

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.buildkite/pipeline.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ steps:
1111
os: "linux"
1212
arch: "x86_64"
1313
timeout_in_minutes: 60
14+
- label: "Julia v1.10 (x86-64)"
15+
plugins:
16+
- JuliaCI/julia#v1:
17+
version: "1.10"
18+
arch: "x86_64"
19+
- JuliaCI/julia-test#v1:
20+
agents:
21+
queue: "juliaecosystem"
22+
sandbox.jl: "true"
23+
os: "linux"
24+
arch: "x86_64"
25+
timeout_in_minutes: 60
1426
- label: "Julia v1.6 (i686)"
1527
plugins:
1628
- JuliaCI/julia:
@@ -31,3 +43,23 @@ steps:
3143
os: "linux"
3244
arch: "x86_64"
3345
timeout_in_minutes: 60
46+
- label: "Julia v1.10 (i686)"
47+
plugins:
48+
- JuliaCI/julia:
49+
version: "1.10"
50+
- staticfloat/sandbox#v1:
51+
rootfs_url: "https://github.com/JuliaCI/rootfs-images/releases/download/v5.44/agent_linux.i686.tar.gz"
52+
rootfs_treehash: "c0e2d7ef8f233d978c15e61734f0dfa25aba7536"
53+
workspaces:
54+
- "/cache:/cache"
55+
# Once inside the sandbox, install a different version of Julia to run our tests
56+
- JuliaCI/julia:
57+
version: "1.10"
58+
arch: "i686"
59+
- JuliaCI/julia-test#v1:
60+
agents:
61+
queue: "juliaecosystem"
62+
sandbox.jl: "true"
63+
os: "linux"
64+
arch: "x86_64"
65+
timeout_in_minutes: 60

src/LinuxPerf.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ macro pstats(args...)
11461146
Base.donotdelete(val)
11471147
stats = Stats(bench)
11481148
else
1149-
stats = (@noinline rand()) < 0 ? val : Stats(bench)
1149+
stats = rand() < 0 ? val : Stats(bench)
11501150
end
11511151
return stats::Stats
11521152
catch

0 commit comments

Comments
 (0)