1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-07-22 10:47:43 +02:00

adapt build_trexio for new location of the generator

This commit is contained in:
q-posev 2021-04-30 14:26:56 +02:00
parent caee3576b7
commit e25f444b9b

View File

@ -10,6 +10,7 @@ TREXIO_ROOT=$(dirname "${PWD}../")
# First define readonly global variables.
readonly SRC=${TREXIO_ROOT}/src
readonly TOOLS=${TREXIO_ROOT}/tools
# Go to src directory
cd ${SRC}
@ -66,7 +67,9 @@ cd ..
# Populate templates with TREXIO structure according to trex.json file
echo "run generator script to populate templates"
cp ${TOOLS}/generator.py ${SRC}
python3 generator.py
rm -f -- ${SRC}/generator.py
# Put pieces of source files together
echo "compile populated files in the lib source files "