Modify the build.sh tp pass jenkins build 07/84407/1
authorPramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
Fri, 5 Apr 2019 14:54:27 +0000 (07:54 -0700)
committerPramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
Fri, 5 Apr 2019 14:55:22 +0000 (07:55 -0700)
Change-Id: I7b7a113816d1680c4cf3b8f93ced58f2157e0b0d
Issue-ID: AAF-793
Signed-off-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
build.sh

index 8cb1efa..856fcc2 100644 (file)
--- a/build.sh
+++ b/build.sh
@@ -17,16 +17,13 @@ sudo apt-get -y install \
     libcmocka0 \
     libcmocka-dev \
     build-essential \
-    git \
     pkg-config \
-    vim \
     gcc \
     g++ \
     m4 \
     curl \
     wget \
     liburiparser-dev \
-    libssl-dev \
     pandoc \
     opensc \
     default-jdk \
@@ -79,7 +76,7 @@ cd ..
 rm -rf tpm2-abrmd-2.0.0
 
 cd tpm2-tools-3.1.0
-./configure
+./configure --disable-hardening
 make
 sudo make install
 cd ..
@@ -93,7 +90,7 @@ cd ../..
 echo "Build TPM-Plugin"
 cd TPM2-Plugin
 ./bootstrap
-./configure
+./configure LDFLAGS="-L/usr/local/ssl/lib"
 sudo make install
 cd ..
 sudo ldconfig