Skip to content

Commit 801a009

Browse files
committed
ci: run dsp/nn library ci for terapines on specified machine
Signed-off-by: Huaqi Fang <578567190@qq.com>
1 parent c0ba320 commit 801a009

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ build_library_terapines:
9595
stage: build
9696
interruptible: true
9797
retry: 1
98+
tags:
99+
- env::docker
100+
- env::nfs
101+
- net::outside
98102
only:
99103
refs:
100104
- master
@@ -113,6 +117,9 @@ build_library_terapines:
113117
- apt install -y python3 python3-pip
114118
- pip3 install prettytable
115119
- cd NMSIS
120+
- echo "Setup Zcc toolchain PATH"
121+
- export PATH=/home/share/devtools/zcc/linux64/latest/bin/:$PATH
122+
- zcc -v
116123
- echo "Generate NMSIS Library for Nuclei RISC-V Processors with terapines"
117124
- make gen TOOLCHAIN=terapines > build_terapines.log 2>&1
118125
- buildsts=${PIPESTATUS[0]}
@@ -235,6 +242,10 @@ test_nn_library_terapines:
235242
- log_nmsis_*.zip
236243
- NMSIS/Logs
237244
expire_in: 2 day
245+
tags:
246+
- env::docker
247+
- env::nfs
248+
- net::outside
238249
parallel:
239250
matrix:
240251
- NUCLEI_DSP: ["rv32_NO", "rv64_NO", "N1", "N2", "N3"]
@@ -244,6 +255,9 @@ test_nn_library_terapines:
244255
- pip3 install -r $NUCLEI_SDK_ROOT/tools/scripts/requirements.txt
245256
- export NUCLEI_SDK_NMSIS=$(readlink -f NMSIS)
246257
- export NMSIS_LOGS=$NUCLEI_SDK_NMSIS/Logs
258+
- echo "Setup Zcc toolchain PATH"
259+
- export PATH=/home/share/devtools/zcc/linux64/latest/bin/:$PATH
260+
- zcc -v
247261
# change ilm/dlm size from 64K to 1M for ${SOC}
248262
- sed -i "s/64K/1M/g" $NUCLEI_SDK_ROOT/SoC/${SOC}/Board/nuclei_fpga_eval/Source/GCC/gcc_${SOC}_ilm.ld
249263
# change ilm/dlm size from 64K to 1M for evalsoc from Nuclei SDK 0.6.0
@@ -323,12 +337,19 @@ test_dsp_library_terapines:
323337
parallel:
324338
matrix:
325339
- NUCLEI_DSP: ["rv32_NO", "rv64_NO", "N1", "N2", "N3", "f16"]
340+
tags:
341+
- env::docker
342+
- env::nfs
343+
- net::outside
326344
script:
327345
- git clone -b $SDK_BRANCH $NUCLEI_SDK NMSIS/nuclei_sdk
328346
- export NUCLEI_SDK_ROOT=$(readlink -f NMSIS/nuclei_sdk)
329347
- pip3 install -r $NUCLEI_SDK_ROOT/tools/scripts/requirements.txt
330348
- export NUCLEI_SDK_NMSIS=$(readlink -f NMSIS)
331349
- export NMSIS_LOGS=$NUCLEI_SDK_NMSIS/Logs
350+
- echo "Setup Zcc toolchain PATH"
351+
- export PATH=/home/share/devtools/zcc/linux64/latest/bin/:$PATH
352+
- zcc -v
332353
# change ilm/dlm size from 64K to 1M for ${SOC}
333354
- sed -i "s/64K/1M/g" $NUCLEI_SDK_ROOT/SoC/${SOC}/Board/nuclei_fpga_eval/Source/GCC/gcc_${SOC}_ilm.ld
334355
# change ilm/dlm size from 64K to 1M for evalsoc from Nuclei SDK 0.6.0

0 commit comments

Comments
 (0)