updates for TGC-ISS in Jenkinfile
This commit is contained in:
45
Jenkinsfile
vendored
45
Jenkinsfile
vendored
@ -137,18 +137,43 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Checkout TGC-ISS TGC-Compliance and TGC-GEN") {
|
stages{
|
||||||
steps {
|
stage("Checkout TGC-ISS, TGC-Compliance and TGC-GEN"){
|
||||||
sh 'rm -rf * .??* '
|
steps {
|
||||||
checkout_iss_project("https://git.minres.com/TGFS/TGC-ISS.git", "develop")
|
sh 'rm -rf * .??* '
|
||||||
dir("TGC-COMPLIANCE"){
|
checkout_iss_project("https://git.minres.com/TGFS/TGC-ISS.git", "develop")
|
||||||
checkout_iss_project("https://git.minres.com/TGFS/TGC-COMPLIANCE.git", "master")
|
dir("TGC-COMPLIANCE"){
|
||||||
}
|
checkout_iss_project("https://git.minres.com/TGFS/TGC-COMPLIANCE.git", "master")
|
||||||
dir("TGC-GEN"){
|
}
|
||||||
checkout_iss_project("https://git.minres.com/TGFS/TGC-GEN.git", "develop")
|
dir("TGC-GEN"){
|
||||||
|
checkout_iss_project("https://git.minres.com/TGFS/TGC-GEN.git", "develop")
|
||||||
|
}
|
||||||
|
sh 'pwd'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
stage("Generate cores and build TGC-ISS"){
|
||||||
|
steps {
|
||||||
|
sh '''
|
||||||
|
for core in RV32GC; do
|
||||||
|
for backend in interp; do
|
||||||
|
TGC-GEN/scripts/generate_iss.sh -o dbt-rise-tgc/ -c $core -b ${backend} TGC-GEN/CoreDSL/${core}.core_desc
|
||||||
|
done
|
||||||
|
done
|
||||||
|
for core in RV64GC; do
|
||||||
|
for backend in interp; do
|
||||||
|
TGC-GEN/scripts/generate_iss.sh -o dbt-rise-tgc/ -c $core -b ${backend} TGC-GEN/CoreDSL/${core}.core_desc
|
||||||
|
done
|
||||||
|
done
|
||||||
|
'''
|
||||||
|
sh 'conan profile detect --force'
|
||||||
|
sh 'rm -rf build'
|
||||||
|
sh 'cmake -S . -B build --preset Release -DWITH_ASMJIT=ON -DWITH_TCC=ON -DWITH_LLVM=OFF'
|
||||||
|
sh 'cmake --build build -j'
|
||||||
|
sh 'build/dbt-rise-tgc/tgc-sim --isa ?'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage("start to check") {
|
stage("start to check") {
|
||||||
steps {
|
steps {
|
||||||
sh 'pwd'
|
sh 'pwd'
|
||||||
|
Reference in New Issue
Block a user