Skip to content

Commit 7aa6faa

Browse files
committed
parallel build
1 parent 3d94ab6 commit 7aa6faa

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.drone.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,15 @@ steps:
5959
image: ubuntu:18.04
6060
environment:
6161
CC: gcc
62-
CXX: g++
6362
CMAKE_FLAGS: '-DDYNAMIC_ARCH=1 -DTARGET=ARMV8 -DNUM_THREADS=32 -DNOFORTRAN=ON -DBUILD_WITHOUT_LAPACK=ON'
6463
commands:
6564
- echo "CMAKE_FLAGS:= $CMAKE_FLAGS"
6665
- apt-get update -y
67-
- apt-get install -y make $CC $CXX g++ perl cmake
66+
- apt-get install -y make $CC g++ perl cmake
6867
- $CC --version
6968
- mkdir build && cd build
7069
- cmake $CMAKE_FLAGS ..
71-
- cmake --build .
70+
- make -j
7271
- ctest
7372

7473
---
@@ -84,14 +83,13 @@ steps:
8483
image: ubuntu:18.04
8584
environment:
8685
CC: clang
87-
CXX: clang++
8886
CMAKE_FLAGS: '-DDYNAMIC_ARCH=1 -DTARGET=ARMV8 -DNUM_THREADS=32 -DNOFORTRAN=ON -DBUILD_WITHOUT_LAPACK=ON'
8987
commands:
9088
- echo "CMAKE_FLAGS:= $CMAKE_FLAGS"
9189
- apt-get update -y
92-
- apt-get install -y make $CC $CXX perl cmake
90+
- apt-get install -y make $CC g++ perl cmake
9391
- $CC --version
9492
- mkdir build && cd build
9593
- cmake $CMAKE_FLAGS ..
96-
- cmake --build .
94+
- make -j
9795
- ctest

0 commit comments

Comments
 (0)