DBT-RISE-TGC/contrib/README.md

20 lines
1.1 KiB
Markdown

# requires conan version 1.59
# requires decent cmake version 3.23 for instance
git clone --recursive -b develop https://git.minres.com/TGFS/TGC-ISS.git
cd TGC-ISS/
setenv COWAREHOME /scratch/rocco/workarea/tools/synopsys/T-2022.06-3
setenv SNPSLMD_LICENSE_FILE 27001@lic02.arteris.com:5285@lic-node0:5285@lic03:5285@lic-node1
source $COWAREHOME/SLS/linux/setup.csh pae
setenv SNPS_ENABLE_MEM_ON_DEMAND_IN_GENERIC_MEM 1
setenv PATH $COWAREHOME/common/bin/:${PATH}
setenv LD_LIBRARY_PATH /scratch/rocco/workarea/tools/gcc-9.3.0-install/lib64/
setenv CC /scratch/rocco/workarea/tools/synopsys/T-2022.06-3/SLS/linux/common/bin//gcc
setenv CXX /scratch/rocco/workarea/tools/synopsys/T-2022.06-3/SLS/linux/common/bin//g++
cmake -S . -B build/Debug-PA -DCMAKE_BUILD_TYPE=Debug -DUSE_CWR_SYSTEMC=ON -DBUILD_SHARED_LIBS=ON -DCODEGEN=OFF -DCMAKE_INSTALL_PREFIX=/scratch/rocco/partners/minres/TGC-ISS/install
cd build/Debug-PA/
make -j 16 install
cd ../../dbt-rise-tgc/contrib
setenv TGFS_INSTALL_ROOT /scratch/rocco/partners/minres/TGC-ISS/install/
# import the TGC core itself
pct tgc_import.tcl