@@ -38,7 +38,7 @@ properties ([parameters([
38
38
])])
39
39
40
40
def build_hls_project (build_dir , project , simulation ) {
41
- def target = simulation ? " ${ project} -sim" : " ${ project} "
41
+ def target = simulation ? " ${ project} -sim" : " ${ project} -hls "
42
42
if (simulation) {
43
43
echo " Running HLS RTL/C cosimulation for project ${ project} ."
44
44
} else {
@@ -98,12 +98,6 @@ node {
98
98
// Pull request build
99
99
checkout scm
100
100
}
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
-
107
101
dir (' googletest' ) {
108
102
// Google test for the HLS ikernel tests and NICA tests
109
103
git ' https://github.com/google/googletest'
@@ -112,24 +106,12 @@ node {
112
106
$CMAKE -DBUILD_GMOCK=OFF -DBUILD_GTEST=ON .
113
107
make -j"""
114
108
}
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
- }
125
109
dir(' nica/build' ) {
126
110
// Build the HLS repository (host part only)
127
111
// One ikernel
128
112
sh """
129
113
rm -f CMakeCache.txt
130
114
$CMAKE \
131
- -DNICA_DIR=`pwd`/../../libvma/src/nica \
132
- -DVMA_DIR=`pwd`/../../libvma/src \
133
115
-DGTEST_ROOT=${ GTEST_ROOT} \
134
116
-DXILINX_VIVADO_VERSION=${ params.VIVADO_VERSION} \
135
117
-DNUM_IKERNELS=1 \
@@ -146,8 +128,6 @@ node {
146
128
// // Two ikernels
147
129
// sh """
148
130
// $CMAKE \
149
- // -DNICA_DIR=`pwd`/../../libvma/src/nica \
150
- // -DVMA_DIR=`pwd`/../../libvma/src \
151
131
// -DGTEST_ROOT=${GTEST_ROOT} \
152
132
// -DNUM_IKERNELS=2 \
153
133
// ..
@@ -182,6 +162,11 @@ node {
182
162
]
183
163
currentBuild. result = ' SUCCESS'
184
164
parallel branches
165
+
166
+ // cleanup
167
+ dir(' nica/build' ) {
168
+ sh " find -maxdepth 4 -name .autopilot -exec rm -r '{}' ';'"
169
+ }
185
170
}
186
171
187
172
// Choose the ikernel to build based on the branch name
@@ -191,6 +176,7 @@ def getBuildIkernel(branchName) {
191
176
' pktgen' : ' pktgen' ,
192
177
' memcached-cr' : ' memcached' ,
193
178
' memcached-ddr' : ' memcached' ,
179
+ ' async-memory' : ' memcached' ,
194
180
' echo' : ' echo'
195
181
]. withDefault { key -> ' threshold' }
196
182
0 commit comments