Skip to content

Commit

Permalink
Moved MSan to run earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
mxaddict committed Feb 19, 2024
1 parent a3070a3 commit 6067ba9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ task:
lint_script:
- ./ci/lint_run_all.sh

task:
name: 'MSan, depends'
<< : *GLOBAL_TASK_TEMPLATE
persistent_worker:
labels:
type: medium
timeout_in: 300m # Use longer timeout for the *rare* case where a full build (llvm + msan + depends + ...) needs to be done.
env:
FILE_ENV: "./ci/test/00_setup_env_native_msan.sh"

task:
name: 'tidy'
<< : *GLOBAL_TASK_TEMPLATE
Expand Down Expand Up @@ -143,16 +153,6 @@ task:
env:
FILE_ENV: "./ci/test/00_setup_env_native_tsan.sh"

task:
name: 'MSan, depends'
<< : *GLOBAL_TASK_TEMPLATE
persistent_worker:
labels:
type: medium
timeout_in: 300m # Use longer timeout for the *rare* case where a full build (llvm + msan + depends + ...) needs to be done.
env:
FILE_ENV: "./ci/test/00_setup_env_native_msan.sh"

task:
name: 'ASan + LSan + UBSan + integer, no depends, USDT'
enable_bpfcc_script:
Expand Down
5 changes: 4 additions & 1 deletion src/blsct/arith/mcl/mcl_init.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ class MclInit
int compiledTimeVar = MCLBN_COMPILED_TIME_VAR;
#endif

if (blsInit(MCL_BLS12_381, compiledTimeVar) != 0) {
if (blsInit(
MCL_BLS12_381,
compiledTimeVar
) != 0) {
throw std::runtime_error("blsInit failed");
}
mclBn_setETHserialization(1);
Expand Down

0 comments on commit 6067ba9

Please sign in to comment.