summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/scripts/clang.sh
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2018-08-17 13:30:50 +0530
committerAmar Tumballi <amarts@redhat.com>2018-08-25 17:46:42 +0000
commitf5db035f35b9fbf03b66b160ad0efb41739e19c2 (patch)
treedacc80639d8ec42b93c2a514350551a170201069 /build-gluster-org/scripts/clang.sh
parent5fe020cafb2d26458142f2a809d253360756b0f5 (diff)
clang: remove block-device from the build
Change-Id: If6a16648d832443f428ee5d1d656febae16656e0 Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'build-gluster-org/scripts/clang.sh')
-rw-r--r--build-gluster-org/scripts/clang.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-gluster-org/scripts/clang.sh b/build-gluster-org/scripts/clang.sh
index 24deb98..3ea4759 100644
--- a/build-gluster-org/scripts/clang.sh
+++ b/build-gluster-org/scripts/clang.sh
@@ -3,7 +3,7 @@ sudo mock -r fedora-27-x86_64 --config-opts=dnf_warning=False --init
sudo mock -r fedora-27-x86_64 --config-opts=dnf_warning=False --install langpacks-en glibc-langpack-en automake autoconf libtool flex bison openssl-devel libxml2-devel python-devel libaio-devel libibverbs-devel librdmacm-devel readline-devel lvm2-devel glib2-devel userspace-rcu-devel libcmocka-devel libacl-devel sqlite-devel fuse-devel redhat-rpm-config clang clang-analyzer git
sudo mock -r fedora-27-x86_64 --config-opts=dnf_warning=False --copyin $WORKSPACE /src
sudo mock -r fedora-27-x86_64 --config-opts=dnf_warning=False --chroot "cd /src && ./autogen.sh"
-sudo mock -r fedora-27-x86_64 --config-opts=dnf_warning=False --chroot "cd /src && ./configure CC=clang --enable-gnfs --enable-debug"
+sudo mock -r fedora-27-x86_64 --config-opts=dnf_warning=False --chroot "cd /src && ./configure CC=clang --enable-gnfs --disable-bd --enable-debug"
sudo mock -r fedora-27-x86_64 --config-opts=dnf_warning=False --chroot "cd /src && scan-build -o /src/clangScanBuildReports -disable-checker deadcode.DeadStores -v -v --use-cc clang --use-analyzer=/usr/bin/clang make"
sudo mock -r fedora-27-x86_64 --config-opts=dnf_warning=False --copyout /src/clangScanBuildReports $WORKSPACE/clangScanBuildReports
sudo mock -r fedora-27-x86_64 --config-opts=dnf_warning=False --clean