Compare commits

..

3 Commits

4 changed files with 11 additions and 5 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.20)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/scc/cmake)
project(TGC-ISS VERSION 1.0.0 LANGUAGES CXX)
@ -12,7 +12,7 @@ if(CMAKE_PROJECT_NAME STREQUAL "TGC-ISS")
option(FW_BUILD "Enable the automatic download and build of some firmware to run on the ISS" OFF)
option(ENABLE_SANITIZER "Enable address sanitizer" OFF)
option(ENABLE_CLANG_TIDY "Add clang-tidy and clang-format automatically to builds" OFF)
option(WITH_TCC "Build TCC backend" ON)
option(WITH_TCC "Build TCC backend" OFF)
option(WITH_LLVM "Build LLVM backend" OFF)
option(WITH_ASMJIT "Build ASMJIT backend" ON)

8
Jenkinsfile vendored
View File

@ -31,7 +31,7 @@ pipeline {
stage("build TGC-ISS"){
steps {
sh 'conan profile new default --detect --force '
sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWITH_ASMJIT=ON -DWITH_TCC=OFF -DWITH_LLVM=ON'
sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWITH_ASMJIT=ON -DWITH_TCC=ON -DWITH_LLVM=ON'
sh 'cmake --build build -j'
}
}
@ -50,6 +50,12 @@ pipeline {
sh "python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim build/dbt-rise-tgc/tgc-sim -w interp --dockerless --backend interp"
}
}
stage("Test tcc") {
steps {
sh "mkdir tcc"
sh "python3 TGC-COMPLIANCE/run_act.py -core TGC5C -sim build/dbt-rise-tgc/tgc-sim -w tcc --dockerless --backend tcc"
}
}
stage("Test asmjit") {
steps {
sh "mkdir asmjit"

@ -1 +1 @@
Subproject commit 4f6c718143e9fb57cbf87e37f2fad0c9ba87f91c
Subproject commit f78cc53a33c57bbe970aea69519cdadb73ede9ab

@ -1 +1 @@
Subproject commit 58fb815f329b92fc8cb71ebaa9ccbc0db8e23620
Subproject commit 37db31fb4b4cd9b1b633ce0834a7cd2e4d71a106