chore(ci): Reduce number of compiler test for macos

This commit is contained in:
Bourgerie Quentin
2024-02-09 16:44:17 +01:00
committed by Quentin Bourgerie
parent 0376a175a9
commit ebea2e3cae
2 changed files with 10 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ ifeq ($(shell uname), Linux)
OS=linux
else ifeq ($(shell uname), Darwin)
OS=darwin
MINIMAL_TESTS_BOOL=ON
endif
# Set rust flags to activate target cpu features
@@ -291,7 +292,11 @@ generate-cpu-tests: \
$(FIXTURE_CPU_DIR)/end_to_end_linalg_enc_enc_matmul_dot.yaml
SECURITY_TO_TEST=128
OPTIMIZATION_STRATEGY_TO_TEST=dag-mono dag-multi
ifeq ($(MINIMAL_TESTS),ON)
OPTIMIZATION_STRATEGY_TO_TEST=dag-multi
else
OPTIMIZATION_STRATEGY_TO_TEST=dag-mono dag-multi
endif
PARALLEL_END_2_END_TESTS= end_to_end_jit_test end_to_end_jit_lambda
run-end-to-end-tests: $(GTEST_PARALLEL_PY) build-end-to-end-tests generate-cpu-tests
$(foreach TEST,$(PARALLEL_END_2_END_TESTS), \

View File

@@ -31,7 +31,10 @@ def main(args):
print("# /!\ THIS FILE HAS BEEN GENERATED THANKS THE end_to_end_levelled_gen.py scripts")
print("# This reference file aims to test all levelled ops with all bitwidth than we known that the compiler/optimizer support.\n\n")
# unsigned
for p in range(MIN_PRECISON, MAX_PRECISION+1):
step = 1
if args.minimal:
step = 6
for p in range(MIN_PRECISON, MAX_PRECISION+1, step):
if p != 1:
print("---")
def may_check_error_rate():