File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 2626
2727mkdir deploy
2828cp ./mmwis/deploy/mmwis deploy/
29- cp ./mmwis/deploy/struction deploy/
29+ if [ -f ./mmwis/deploy/struction ]; then
30+ cp ./mmwis/deploy/struction deploy/
31+ fi
3032cp ./build/redumis deploy/
3133cp ./build/graphchecker deploy/
3234cp ./build/sort_adjacencies deploy/
Original file line number Diff line number Diff line change @@ -141,8 +141,12 @@ target_include_directories(lib_mmwis PRIVATE ${MMWIS_INCLUDES})
141141
142142add_dependencies (lib_mmwis libkaffpa)
143143
144- option (STRUCTION_ENABLE_APPS "enable/disable struction executables" )
145- add_subdirectory (extern/struction EXCLUDE_FROM_ALL )
144+ option (STRUCTION_ENABLE_APPS "enable/disable struction executables" ON )
145+ if (STRUCTION_ENABLE_APPS)
146+ add_subdirectory (extern/struction)
147+ else ()
148+ add_subdirectory (extern/struction EXCLUDE_FROM_ALL )
149+ endif ()
146150
147151add_executable (mmwis "app/mmwis.cpp" $<TARGET_OBJECTS:libkaffpa>
148152 $<TARGET_OBJECTS:libmapping>
Original file line number Diff line number Diff line change 1919# compile mmwis and hils
2020
2121rm -rf deploy
22- # rm -rf build
22+ rm -rf build
2323mkdir build
2424cd build
2525cmake ../ -DCMAKE_C_COMPILER=$( which gcc) -DCMAKE_CXX_COMPILER=$( which g++) -DCMAKE_BUILD_TYPE=${buildtype}
2828
2929mkdir deploy
3030cp ./build/mmwis deploy/mmwis
31- cp ./build/extern/struction/branch_reduce_convergence deploy/struction
32- # rm -rf build
31+ if [ -f ./build/extern/struction/branch_reduce_convergence ]; then
32+ cp ./build/extern/struction/branch_reduce_convergence deploy/struction
33+ fi
34+ rm -rf build
3335
3436
You can’t perform that action at this time.
0 commit comments