-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
46 lines (41 loc) · 1.01 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
image: registry.git.rwth-aachen.de/acplt/build-docker-image/rte-crossbuild
variables:
GIT_SUBMODULE_STRATEGY: recursive
build:
stage: build
script:
- mkdir build
- cd build
- cmake ..
- make -j$(nproc)
build-win32-x64:
stage: build
script:
- mkdir build
- cd build
- cmake ..
- make -j$(nproc) ov_codegen
- cd ..
- mkdir build-win32
- cd build-win32
- cmake -DCMAKE_TOOLCHAIN_FILE=../rte/cmake/mingw-w64-x86_64.cmake -DOV_CODEGEN_PATH="../build/rte/core/codegen/ov_codegen" ..
- make -j$(nproc)
build-linux-armhf:
stage: build
script:
- mkdir build
- cd build
- cmake ..
- make -j$(nproc) ov_codegen
- cd ..
- mkdir build-win32
- cd build-win32
- cmake -DCMAKE_TOOLCHAIN_FILE=../rte/cmake/gcc-linux-armhf.cmake -DOV_CODEGEN_PATH="../build/rte/core/codegen/ov_codegen" ..
- make -j$(nproc)
build-static:
stage: build
script:
- mkdir build
- cd build
- cmake -DOV_STATIC_LIBRARIES=TRUE ..
- make -j$(nproc)