From 7afab658064585174b04eb4f39ea14b603962a0c Mon Sep 17 00:00:00 2001 From: jpekkila Date: Mon, 7 Oct 2019 16:39:49 +0300 Subject: [PATCH] Fixed the compilation script to use the correct name for the preprocessed file --- scripts/compile_acc_module.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/compile_acc_module.sh b/scripts/compile_acc_module.sh index c8a3a9f..311b039 100755 --- a/scripts/compile_acc_module.sh +++ b/scripts/compile_acc_module.sh @@ -10,5 +10,5 @@ echo "-- ACC project dir: ${MODULE_DIR}" for source in ${MODULE_DIR}/*.ac do ${ACC_DIR}/preprocess.sh $source -I ${MODULE_DIR} -I ${ACC_STDLIB_DIR} - ${ACC_BINARY_DIR}/acc < stencil_kernel.ac.preprocessed + ${ACC_BINARY_DIR}/acc < $(basename -- "$source").preprocessed done