@@ -225,16 +225,7 @@ jobs:
225
225
-DCMAKE_C_COMPILER="clang.exe" \
226
226
-DCMAKE_CXX_COMPILER="clang++.exe" \
227
227
-DOPTION_TARGET_MESSAGING=OFF \
228
- -DOPTION_TARGET_PARALLEL=OFF \
229
- -DOPTION_TARGET_CHOMBO2D_SOLVER=OFF \
230
- -DOPTION_TARGET_CHOMBO3D_SOLVER=OFF \
231
- -DOPTION_TARGET_SMOLDYN_SOLVER=ON \
232
228
-DOPTION_TARGET_FV_SOLVER=ON \
233
- -DOPTION_TARGET_STOCHASTIC_SOLVER=ON \
234
- -DOPTION_TARGET_NFSIM_SOLVER=ON \
235
- -DOPTION_TARGET_MOVINGBOUNDARY_SOLVER=OFF \
236
- -DOPTION_TARGET_SUNDIALS_SOLVER=ON \
237
- -DOPTION_TARGET_HY3S_SOLVERS=OFF \
238
229
-DOPTION_TARGET_DOCS=OFF \
239
230
-B . -S ..
240
231
@@ -254,14 +245,6 @@ jobs:
254
245
echo "------ running FiniteVolume_x64 ------"
255
246
./bin/FiniteVolume_x64 || true
256
247
echo
257
- echo "------ running NFsim_x64 ------"
258
- ./bin/NFsim_x64 || true
259
- echo "------ running SundialsSolverStandalone_x64 ------"
260
- ./bin/SundialsSolverStandalone_x64 || true
261
- echo "------ running VCellStoch_x64 ------"
262
- ./bin/VCellStoch_x64 || true
263
- echo "------ running smoldyn_x64 ------"
264
- ./bin/smoldyn_x64 || true
265
248
echo "------ running testzip ------"
266
249
./bin/testzip || true
267
250
echo "------ running ziptool ------"
@@ -293,16 +276,7 @@ jobs:
293
276
cmake \
294
277
-G Ninja \
295
278
-DOPTION_TARGET_MESSAGING=OFF \
296
- -DOPTION_TARGET_PARALLEL=OFF \
297
- -DOPTION_TARGET_CHOMBO2D_SOLVER=OFF \
298
- -DOPTION_TARGET_CHOMBO3D_SOLVER=OFF \
299
- -DOPTION_TARGET_SMOLDYN_SOLVER=ON \
300
279
-DOPTION_TARGET_FV_SOLVER=ON \
301
- -DOPTION_TARGET_STOCHASTIC_SOLVER=ON \
302
- -DOPTION_TARGET_NFSIM_SOLVER=ON \
303
- -DOPTION_TARGET_MOVINGBOUNDARY_SOLVER=ON \
304
- -DOPTION_TARGET_SUNDIALS_SOLVER=ON \
305
- -DOPTION_TARGET_HY3S_SOLVERS=OFF \
306
280
-B . -S ..
307
281
308
282
ninja
@@ -320,14 +294,6 @@ jobs:
320
294
echo "------ running FiniteVolume_x64 ------"
321
295
./bin/FiniteVolume_x64 || true
322
296
echo
323
- echo "------ running NFsim_x64 ------"
324
- ./bin/NFsim_x64 || true
325
- echo "------ running SundialsSolverStandalone_x64 ------"
326
- ./bin/SundialsSolverStandalone_x64 || true
327
- echo "------ running VCellStoch_x64 ------"
328
- ./bin/VCellStoch_x64 || true
329
- echo "------ running smoldyn_x64 ------"
330
- ./bin/smoldyn_x64 || true
331
297
echo "------ running testzip ------"
332
298
./bin/testzip || true
333
299
echo "------ running ziptool ------"
@@ -340,27 +306,27 @@ jobs:
340
306
run : |
341
307
mkdir build/upload
342
308
cd build/bin
343
- rm hello_test TestVCellStoch testzip ziptool || true
309
+ rm testzip ziptool || true
344
310
ls *_x64 | awk '{print $1}' | xargs -I '{}' otool -L '{}' | grep ")" | grep -v "build" | grep -v "System" | awk '{print $1}' | xargs -I '{}' cp -vn '{}' . || true
345
311
ls *.dylib | awk '{print $1}' | xargs -I '{}' otool -L '{}' | grep ")" | grep -v "build" | grep -v "System" | awk '{print $1}' | xargs -I '{}' cp -vn '{}' . || true
346
312
ls *.dylib | awk '{print $1}' | xargs -I '{}' otool -L '{}' | grep ")" | grep -v "build" | grep -v "System" | awk '{print $1}' | xargs -I '{}' cp -vn '{}' . || true
347
313
chmod u+w,+x *
348
314
tar czvf ../upload/mac64_bad_paths.tgz .
349
315
../../.github/scripts/install_name_tool_macos.sh
350
- tar czvf ../upload/mac64 .tgz --dereference .
316
+ tar czvf ../upload/fvsolver_mac64 .tgz --dereference .
351
317
352
318
- name : handle shared object paths for Windows native build
353
319
if : matrix.platform == 'windows-latest'
354
320
shell : msys2 {0}
355
321
run : |
356
322
mkdir build/upload
357
323
cd build/bin
358
- rm hello_test TestVCellStoch testzip ziptool || true
324
+ rm testzip ziptool || true
359
325
ls *.exe | awk '{print $1}' | xargs -I '{}' ldd '{}' | grep '=> /' | grep -v build | grep -iv windows | awk '{print $3}' | xargs -I '{}' cp -vn '{}' . || true
360
326
ls *.dll | awk '{print $1}' | xargs -I '{}' ldd '{}' | grep '=> /' | grep -v build | grep -iv windows | awk '{print $3}' | xargs -I '{}' cp -vn '{}' . || true
361
327
ls *.dll | awk '{print $1}' | xargs -I '{}' ldd '{}' | grep '=> /' | grep -v build | grep -iv windows | awk '{print $3}' | xargs -I '{}' cp -vn '{}' . || true
362
328
chmod u+w,+x *
363
- zip ../upload/win64 .zip ./*
329
+ zip ../upload/fvsolver_win64 .zip ./*
364
330
cd ../..
365
331
# fi
366
332
@@ -370,41 +336,41 @@ jobs:
370
336
run : |
371
337
mkdir build/upload
372
338
cd build/bin
373
- rm hello_test TestVCellStoch testzip ziptool || true
339
+ rm testzip ziptool || true
374
340
ls *_x64 | awk '{print $1}' | xargs -I '{}' ldd '{}' | grep "=> /" | grep -v "build" | awk '{print $3}' | xargs -I '{}' cp -vn '{}' . || true
375
341
ls *.so | awk '{print $1}' | xargs -I '{}' ldd '{}' | grep "=> /" | grep -v "build" | awk '{print $3}' | xargs -I '{}' cp -vn '{}' . || true
376
342
ls *.so | awk '{print $1}' | xargs -I '{}' ldd '{}' | grep "=> /" | grep -v "build" | awk '{print $3}' | xargs -I '{}' cp -vn '{}' . || true
377
343
chmod u+w,+x *
378
- tar czvf ../upload/linux64 .tgz --dereference .
344
+ tar czvf ../upload/fvsolver_linux64 .tgz --dereference .
379
345
cd ../..
380
346
381
347
- name : Upload Intel Macos binaries
382
348
if : matrix.platform == 'macos-13'
383
349
uses : actions/upload-artifact@v4
384
350
with :
385
- name : macos_x86_64 .tgz
386
- path : build/upload/mac64 .tgz
351
+ name : fvsolver_macos_x86_64 .tgz
352
+ path : build/upload/fvsolver_mac64 .tgz
387
353
388
354
- name : Upload ARM Macos binaries
389
355
if : matrix.platform == 'macos-14'
390
356
uses : actions/upload-artifact@v4
391
357
with :
392
- name : macos_arm64 .tgz
393
- path : build/upload/mac64 .tgz
358
+ name : fvsolver_macos_arm64 .tgz
359
+ path : build/upload/fvsolver_mac64 .tgz
394
360
395
361
- name : Upload Windows binaries
396
362
if : matrix.platform == 'windows-latest'
397
363
uses : actions/upload-artifact@v4
398
364
with :
399
- name : win64 .zip
400
- path : build/upload/win64 .zip
365
+ name : fvsolver_win64 .zip
366
+ path : build/upload/fvsolver_win64 .zip
401
367
402
368
- name : Upload Linux binaries
403
369
if : matrix.platform == 'ubuntu-latest'
404
370
uses : actions/upload-artifact@v4
405
371
with :
406
- name : linux64 .tgz
407
- path : build/upload/linux64 .tgz
372
+ name : fvsolver_linux64 .tgz
373
+ path : build/upload/fvsolver_linux64 .tgz
408
374
409
375
- name : Setup tmate session
410
376
if : ${{ failure() }}
0 commit comments