Skip to content
Snippets Groups Projects
Commit a4fef03c authored by mkirsz's avatar mkirsz
Browse files

Example testing tweaks...

parent afe65dc0
No related branches found
No related tags found
No related merge requests found
Pipeline #33989 failed
......@@ -46,7 +46,6 @@ run-unit-tests-1:
build-release-shared:
stage: build.release
needs: []
script:
- cd ${RELEASE_DIR}
- cmake .. -DCMAKE_BUILD_TYPE=Release -DTADAH_ENABLE_OPENMP=ON -DCMAKE_INSTALL_PREFIX=${INSTALL_PATH}
......@@ -63,7 +62,6 @@ build-release-shared:
build-release-static:
stage: build.release
needs: []
script:
- cd ${RELEASE_DIR}
- cmake .. -DCMAKE_BUILD_TYPE=Release -DTADAH_ENABLE_OPENMP=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=${INSTALL_PATH}
......@@ -112,7 +110,7 @@ build-example-1-static:
- cd $RELEASE_DIR
- make install
- cd ../examples/ex_1
- g++ -O3 ex1.cpp -ltadah -llapack -fopenmp
- g++ -O3 ex1.cpp -ltadah -lblas -llapack -fopenmp
artifacts:
paths:
- examples/ex_1/a.out
......@@ -124,7 +122,7 @@ build-example-2-static:
- cd $RELEASE_DIR
- make install
- cd ../examples/ex_2
- g++ -O3 ex2.cpp -ltadah -llapack -fopenmp
- g++ -O3 ex2.cpp -ltadah -lblas -llapack -fopenmp
artifacts:
paths:
- examples/ex_2/a.out
......@@ -136,7 +134,7 @@ build-example-1-shared:
- cd $RELEASE_DIR
- make install
- cd ../examples/ex_1
- g++ -O3 ex1.cpp -ltadah -llapack -fopenmp
- g++ -O3 ex1.cpp -ltadah -lblas -llapack -fopenmp
artifacts:
paths:
- examples/ex_1/a.out
......@@ -148,7 +146,7 @@ build-example-2-shared:
- cd $RELEASE_DIR
- make install
- cd ../examples/ex_2
- g++ -O3 ex2.cpp -ltadah -llapack -fopenmp
- g++ -O3 ex2.cpp -ltadah -lblas -llapack -fopenmp
artifacts:
paths:
- examples/ex_2/a.out
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment