@@ -38,7 +38,7 @@ properties ([parameters([
3838])])
3939
4040def build_hls_project (build_dir , project , simulation ) {
41- def target = simulation ? " ${ project} -sim" : " ${ project} "
41+ def target = simulation ? " ${ project} -sim" : " ${ project} -hls "
4242 if (simulation) {
4343 echo " Running HLS RTL/C cosimulation for project ${ project} ."
4444 } else {
@@ -98,12 +98,6 @@ node {
9898 // Pull request build
9999 checkout scm
100100 }
101- dir (' libvma' ) {
102- // libvma is needed to build the host apps
103- git credentialsId : ' 336fdc5e-b4a2-47dc-adde-ce4343484399' , url :
104- ' [email protected] :haggai_e/libvma.git' ,
branch :
' nica' 105- }
106-
107101 dir (' googletest' ) {
108102 // Google test for the HLS ikernel tests and NICA tests
109103 git ' https://github.com/google/googletest'
@@ -112,24 +106,12 @@ node {
112106 $CMAKE -DBUILD_GMOCK=OFF -DBUILD_GTEST=ON .
113107 make -j"""
114108 }
115- dir(' libvma' ) {
116- // Build libvma, pointing it to the HLS repository for its headers
117- withEnv([" ACLOCAL_PATH=/usr/share/aclocal" ]) {
118- sh '''
119- ./autogen.sh
120- ./configure IKERNEL_PATH=`pwd`/../nica
121- make -j
122- '''
123- }
124- }
125109 dir(' nica/build' ) {
126110 // Build the HLS repository (host part only)
127111 // One ikernel
128112 sh """
129113 rm -f CMakeCache.txt
130114 $CMAKE \
131- -DNICA_DIR=`pwd`/../../libvma/src/nica \
132- -DVMA_DIR=`pwd`/../../libvma/src \
133115 -DGTEST_ROOT=${ GTEST_ROOT} \
134116 -DXILINX_VIVADO_VERSION=${ params.VIVADO_VERSION} \
135117 -DNUM_IKERNELS=1 \
@@ -146,8 +128,6 @@ node {
146128 // // Two ikernels
147129 // sh """
148130 // $CMAKE \
149- // -DNICA_DIR=`pwd`/../../libvma/src/nica \
150- // -DVMA_DIR=`pwd`/../../libvma/src \
151131 // -DGTEST_ROOT=${GTEST_ROOT} \
152132 // -DNUM_IKERNELS=2 \
153133 // ..
@@ -182,6 +162,11 @@ node {
182162 ]
183163 currentBuild. result = ' SUCCESS'
184164 parallel branches
165+
166+ // cleanup
167+ dir(' nica/build' ) {
168+ sh " find -maxdepth 4 -name .autopilot -exec rm -r '{}' ';'"
169+ }
185170}
186171
187172// Choose the ikernel to build based on the branch name
@@ -191,6 +176,7 @@ def getBuildIkernel(branchName) {
191176 ' pktgen' : ' pktgen' ,
192177 ' memcached-cr' : ' memcached' ,
193178 ' memcached-ddr' : ' memcached' ,
179+ ' async-memory' : ' memcached' ,
194180 ' echo' : ' echo'
195181 ]. withDefault { key -> ' threshold' }
196182
0 commit comments