Skip to content

Commit bd5f76e

Browse files
committed
C tests should find clang binary using utility script
1 parent 490cbe0 commit bd5f76e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/sphincsplus/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
cur_dir = $(dir $(abspath $(firstword $(MAKEFILE_LIST))))
2-
3-
CLANG := clang-18
42
TOP := $(cur_dir)/../..
53

4+
CLANG := $(shell $(TOP)/scripts/find_clang)
5+
66
PARAMS = sphincs-shake-256f
77
THASH = robust
88

tests/sphincsplus/fuzzer/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cur_dir = $(dir $(abspath $(firstword $(MAKEFILE_LIST))))
22
TOP := $(cur_dir)/../../..
33

44
# Generate code, user performance analysis
5-
CC := clang-18
5+
CLANG := $(shell $(TOP)/scripts/find_clang)
66
LLVM_PROFDATA := $(subst clang,llvm-profdata,$(CC))
77
LLVM_COV := $(subst clang,llvm-cov,$(CC))
88

tests/sphincsplus/optimization/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cur_dir = $(dir $(abspath $(firstword $(MAKEFILE_LIST))))
22
TOP := $(cur_dir)/../../..
33

4-
CC := clang-18
4+
CLANG := $(shell $(TOP)/scripts/find_clang)
55

66
PARAMS = sphincs-shake-128f
77
THASH = simple

0 commit comments

Comments
 (0)