Skip to content

Commit 5a20b2a

Browse files
committed
run with more cores on buildkite
1 parent d8c89c7 commit 5a20b2a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.ci/create_sysimage_and_run_tests.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ using PackageCompiler
22

33
sysimage = tempname()
44

5-
ncores = Sys.isapple() ? Sys.CPU_THREADS : ceil(Int, Sys.CPU_THREADS / 2)
5+
if haskey(ENV, "BUILDKITE")
6+
ncores = Sys.CPU_THREADS
7+
else
8+
ncores = ceil(Int, Sys.CPU_THREADS / 2)
9+
end
610

711
withenv("JULIA_IMAGE_THREADS" => ncores) do
812
create_sysimage(["LinearAlgebra", "Test", "Distributed", "Dates", "REPL", "Printf", "Random"]; sysimage_path=sysimage, incremental=false, filter_stdlibs=true)

0 commit comments

Comments
 (0)