diff options
Diffstat (limited to 'src/regress/lib/libcrypto/wycheproof')
-rw-r--r-- | src/regress/lib/libcrypto/wycheproof/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/Makefile b/src/regress/lib/libcrypto/wycheproof/Makefile index f2f7910b5b..a68a270580 100644 --- a/src/regress/lib/libcrypto/wycheproof/Makefile +++ b/src/regress/lib/libcrypto/wycheproof/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.9 2023/07/08 19:41:07 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.10 2025/07/09 05:04:35 tb Exp $ |
2 | 2 | ||
3 | WYCHEPROOF_TESTVECTORS = /usr/local/share/wycheproof/testvectors/ | 3 | WYCHEPROOF_TESTVECTORS = /usr/local/share/wycheproof/testvectors/ |
4 | 4 | ||
@@ -18,11 +18,17 @@ REGRESS_TARGETS += regress-wycheproof | |||
18 | CLEANFILES += wycheproof | 18 | CLEANFILES += wycheproof |
19 | 19 | ||
20 | wycheproof: wycheproof.go | 20 | wycheproof: wycheproof.go |
21 | go build -o wycheproof ${.CURDIR}/wycheproof.go | 21 | env GOCACHE=${.OBJDIR}/go-build go build -o wycheproof ${.CURDIR}/wycheproof.go |
22 | 22 | ||
23 | regress-wycheproof: wycheproof | 23 | regress-wycheproof: wycheproof |
24 | ./wycheproof | 24 | ./wycheproof |
25 | 25 | ||
26 | REGRESS_CLEANUP = clean-go-cache | ||
27 | |||
28 | clean-go-cache: | ||
29 | env GOCACHE=${.OBJDIR}/go-build go clean -cache | ||
30 | rm -rf ${.OBJDIR}/go-build | ||
31 | |||
26 | . endif | 32 | . endif |
27 | 33 | ||
28 | PROGS += wycheproof-primes | 34 | PROGS += wycheproof-primes |