Skip to content

Commit

Permalink
hack: force ngcthreads=4 for CI purposes, revert later
Browse files Browse the repository at this point in the history
  • Loading branch information
d-netto committed Feb 11, 2023
1 parent 9698e23 commit 5489db2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/threading.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,9 @@ void jl_init_threading(void)
jl_n_threadpools = 1;
int16_t nthreads = JULIA_NUM_THREADS;
int16_t nthreadsi = 0;
int8_t ngcthreads = jl_options.ngcthreads;
// XXX: hack to run CI with 4 threads. Remove later
int8_t ngcthreads = 4;
// int8_t ngcthreads = jl_options.ngcthreads;
char *endptr, *endptri;

if (jl_options.nthreads != 0) { // --threads specified
Expand Down

0 comments on commit 5489db2

Please sign in to comment.