aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-07-16 15:18:20 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-07-16 17:56:13 +0200
commit54b3c45e2881a2cc71d06d21f0ca39b6e47666db (patch)
treed54a08fb49f3e758ea5695643112ef55fe4a7957
parent5369f4cbc6ecaa827a86d56bba4000c0cee70da7 (diff)
Makefile: test executor build with clang
To get more compiler coverage and to not let it rot. clang get detect more bugs statically.
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 87f64e150..6bbeb3cf7 100644
--- a/Makefile
+++ b/Makefile
@@ -281,6 +281,7 @@ presubmit_arch: descriptions
env HOSTOS=openbsd HOSTARCH=amd64 $(MAKE) host
env HOSTOS=darwin HOSTARCH=amd64 $(MAKE) host
env TARGETOS=linux TARGETARCH=amd64 $(MAKE) target
+ env TARGETOS=linux TARGETARCH=amd64 SYZ_CLANG=yes $(MAKE) target
env TARGETOS=linux TARGETARCH=386 $(MAKE) target
env TARGETOS=linux TARGETARCH=arm64 $(MAKE) target
env TARGETOS=linux TARGETARCH=arm $(MAKE) target
@@ -332,7 +333,7 @@ install_prerequisites:
sudo apt-get install -y -q g++-mips64el-linux-gnuabi64 || true
sudo apt-get install -y -q g++-s390x-linux-gnu || true
sudo apt-get install -y -q g++-riscv64-linux-gnu || true
- sudo apt-get install -y -q ragel clang-format
+ sudo apt-get install -y -q clang clang-format ragel
go get -u golang.org/x/tools/cmd/goyacc
check_copyright: