enables ISS build in jenkins
This commit is contained in:
92
Jenkinsfile
vendored
92
Jenkinsfile
vendored
@@ -146,62 +146,54 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Checkout TGC-ISS, TGC-Compliance and TGC-GEN"){
|
stage("Checkout TGC-ISS, TGC-Compliance and TGC-GEN"){
|
||||||
steps {
|
steps {
|
||||||
|
sh 'pwd'
|
||||||
|
dir("TGC-ISS"){
|
||||||
|
sh 'pwd'
|
||||||
|
sh 'rm -rf * .??* '
|
||||||
|
checkout_iss_project("https://git.minres.com/TGFS/TGC-ISS.git", "develop")
|
||||||
|
dir("TGC-COMPLIANCE"){
|
||||||
sh 'pwd'
|
sh 'pwd'
|
||||||
dir("TGC-ISS"){
|
checkout_iss_project("https://git.minres.com/TGFS/TGC-COMPLIANCE.git", "master")
|
||||||
sh 'pwd'
|
|
||||||
sh 'rm -rf * .??* '
|
|
||||||
checkout_iss_project("https://git.minres.com/TGFS/TGC-ISS.git", "develop")
|
|
||||||
dir("TGC-COMPLIANCE"){
|
|
||||||
sh 'pwd'
|
|
||||||
checkout_iss_project("https://git.minres.com/TGFS/TGC-COMPLIANCE.git", "master")
|
|
||||||
}
|
|
||||||
dir("TGC-GEN"){
|
|
||||||
sh 'pwd'
|
|
||||||
checkout_iss_project("https://git.minres.com/TGFS/TGC-GEN.git", "develop")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
dir("TGC-GEN"){
|
||||||
|
sh 'pwd'
|
||||||
|
checkout_iss_project("https://git.minres.com/TGFS/TGC-GEN.git", "develop")
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage("Generate cores and build TGC-ISS"){
|
stage("Generate cores and build TGC-ISS"){
|
||||||
steps {
|
|
||||||
sh 'pwd'
|
|
||||||
sh 'ls'
|
|
||||||
sh 'conan profile detect --force'
|
|
||||||
sh 'rm -rf build'
|
|
||||||
/*
|
|
||||||
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") {
|
|
||||||
steps {
|
steps {
|
||||||
sh 'pwd'
|
sh 'pwd'
|
||||||
|
sh 'ls'
|
||||||
|
sh 'rm -rf *@tmp'
|
||||||
|
sh 'ls'
|
||||||
|
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 TGC-ISS/build'
|
||||||
|
sh 'cmake -S . -B build --preset Release -DWITH_ASMJIT=ON -DWITH_TCC=ON -DWITH_LLVM=OFF'
|
||||||
|
sh 'cmake --build build -j'
|
||||||
|
sh 'TGC-ISS/build/dbt-rise-tgc/tgc-sim --isa ?'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage("start to run FW with ISS") {
|
||||||
|
steps {
|
||||||
|
sh 'pwd'
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
post {
|
|
||||||
failure {
|
|
||||||
sh("make -C hello-world/ clean")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user