From 6d5f21d2964348d311f8b44c3caa665f7ec80aa3 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Mon, 18 Dec 2023 16:52:03 +0530 Subject: [PATCH 01/13] DEV: Reshape ArrayConstant if needed --- src/lc/clang_ast_to_asr.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/src/lc/clang_ast_to_asr.h b/src/lc/clang_ast_to_asr.h index 8aed95a..b3177b3 100644 --- a/src/lc/clang_ast_to_asr.h +++ b/src/lc/clang_ast_to_asr.h @@ -521,6 +521,39 @@ class ClangASTtoASRVisitor: public clang::RecursiveASTVisitorbase.loc; + Vec new_shape_; new_shape_.reserve(al, target_expr_rank); + for( size_t i = 0; i < target_expr_rank; i++ ) { + new_shape_.push_back(al, ASRUtils::get_size(target_expr, i + 1, al)); + } + + Vec new_shape_dims; new_shape_dims.reserve(al, 1); + ASR::dimension_t new_shape_dim; new_shape_dim.loc = loc; + new_shape_dim.m_length = ASRUtils::EXPR(ASR::make_IntegerConstant_t(al, loc, + target_expr_rank, ASRUtils::TYPE(ASR::make_Integer_t(al, loc, 4)))); + new_shape_dim.m_start = ASRUtils::EXPR(ASR::make_IntegerConstant_t(al, loc, + 0, ASRUtils::TYPE(ASR::make_Integer_t(al, loc, 4)))); + new_shape_dims.push_back(al, new_shape_dim); + ASR::ttype_t* new_shape_type = ASRUtils::TYPE(ASR::make_Array_t(al, loc, + ASRUtils::TYPE(ASR::make_Integer_t(al, loc, 4)), new_shape_dims.p, + new_shape_dims.size(), ASR::array_physical_typeType::FixedSizeArray)); + ASR::expr_t* new_shape = ASRUtils::EXPR(ASR::make_ArrayConstant_t(al, loc, + new_shape_.p, new_shape_.size(), new_shape_type, ASR::arraystorageType::RowMajor)); + ASR::expr_t* reshaped_expr = ASRUtils::EXPR(ASR::make_ArrayReshape_t(al, loc, expr, + new_shape, target_expr_type, nullptr)); + expr = reshaped_expr; + } + bool TraverseVarDecl(clang::VarDecl *x) { std::string name = x->getName().str(); if( scopes.size() > 0 ) { @@ -551,6 +584,7 @@ class ClangASTtoASRVisitor: public clang::RecursiveASTVisitor init_exprs; init_exprs.reserve(al, x->getNumInits()); clang::Expr** clang_inits = x->getInits(); + ASR::expr_t* assignment_target_copy = assignment_target; + assignment_target = nullptr; for( size_t i = 0; i < x->getNumInits(); i++ ) { TraverseStmt(clang_inits[i]); init_exprs.push_back(al, ASRUtils::EXPR(tmp)); } + assignment_target = assignment_target_copy; ASR::ttype_t* type = ASRUtils::expr_type(init_exprs[init_exprs.size() - 1]); Vec dims; dims.reserve(al, 1); ASR::dimension_t dim; dim.loc = Lloc(x); From b72ee9ee62fa749549305812b765db8dc81721ad Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Mon, 18 Dec 2023 16:55:17 +0530 Subject: [PATCH 02/13] TEST: Add initialiser in tests/array_04.cpp --- tests/array_04.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/array_04.cpp diff --git a/tests/array_04.cpp b/tests/array_04.cpp new file mode 100644 index 0000000..7f324bd --- /dev/null +++ b/tests/array_04.cpp @@ -0,0 +1,19 @@ +#include +#include "xtensor/xtensor.hpp" +#include "xtensor/xio.hpp" +#include "xtensor/xview.hpp" + +int main() { + + xt::xtensor arr1 = { + {1.0, 2.0, 3.0}, + {2.0, 5.0, 7.0}, + {2.0, 5.0, 7.0}}; + + xt::xtensor arr2 {5.0, 6.0, 7.0}; + + // xt::xarray res = xt::view(arr1, 1) + arr2; // TODO: Uncomment this statement + std::cout << arr2; + + return 0; +} From eac86ac4f89833fbb1253a472ae37d0c02661be8 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Mon, 18 Dec 2023 20:20:14 +0530 Subject: [PATCH 03/13] TEST: Add array_03.cpp & array_04.cpp in integration_tests --- integration_tests/array_03.cpp | 19 +++++++++++++++++++ integration_tests/array_04.cpp | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 integration_tests/array_03.cpp create mode 100644 integration_tests/array_04.cpp diff --git a/integration_tests/array_03.cpp b/integration_tests/array_03.cpp new file mode 100644 index 0000000..6620feb --- /dev/null +++ b/integration_tests/array_03.cpp @@ -0,0 +1,19 @@ +#include +#include "xtensor/xtensor.hpp" +#include "xtensor/xio.hpp" +#include "xtensor/xview.hpp" + +int main() { + + xt::xtensor arr1; /* { // TODO: Uncomment this initializer + {1.0, 2.0, 3.0}, + {2.0, 5.0, 7.0}, + {2.0, 5.0, 7.0}}; */ + + xt::xtensor arr2 {5.0, 6.0, 7.0}; + + // xt::xarray res = xt::view(arr1, 1) + arr2; // TODO: Uncomment this statement + std::cout << arr2; + + return 0; +} diff --git a/integration_tests/array_04.cpp b/integration_tests/array_04.cpp new file mode 100644 index 0000000..7f324bd --- /dev/null +++ b/integration_tests/array_04.cpp @@ -0,0 +1,19 @@ +#include +#include "xtensor/xtensor.hpp" +#include "xtensor/xio.hpp" +#include "xtensor/xview.hpp" + +int main() { + + xt::xtensor arr1 = { + {1.0, 2.0, 3.0}, + {2.0, 5.0, 7.0}, + {2.0, 5.0, 7.0}}; + + xt::xtensor arr2 {5.0, 6.0, 7.0}; + + // xt::xarray res = xt::view(arr1, 1) + arr2; // TODO: Uncomment this statement + std::cout << arr2; + + return 0; +} From eafc8f17b57a28b9b62e52ebaaed541bc68af63f Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Mon, 18 Dec 2023 20:21:06 +0530 Subject: [PATCH 04/13] DEV: Do not reshape for fixed sized targets --- src/lc/clang_ast_to_asr.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lc/clang_ast_to_asr.h b/src/lc/clang_ast_to_asr.h index b3177b3..c3f6158 100644 --- a/src/lc/clang_ast_to_asr.h +++ b/src/lc/clang_ast_to_asr.h @@ -527,7 +527,9 @@ class ClangASTtoASRVisitor: public clang::RecursiveASTVisitor Date: Mon, 18 Dec 2023 20:22:03 +0530 Subject: [PATCH 05/13] TEST: Use installed LC executable instead of src/bin/lc --- integration_tests/run_tests.py | 2 +- src/libasr/compiler_tester/tester.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/integration_tests/run_tests.py b/integration_tests/run_tests.py index 0e355cb..9fbeac8 100755 --- a/integration_tests/run_tests.py +++ b/integration_tests/run_tests.py @@ -85,7 +85,7 @@ def main(): # Setup global NO_OF_THREADS, fast_tests - os.environ["PATH"] += os.pathsep + LC_PATH + # os.environ["PATH"] += os.pathsep + LC_PATH # delete previously created directories (if any) for backend in SUPPORTED_BACKENDS: run_cmd(f"rm -rf {BASE_DIR}/test-{backend}") diff --git a/src/libasr/compiler_tester/tester.py b/src/libasr/compiler_tester/tester.py index e6c4926..35da61c 100644 --- a/src/libasr/compiler_tester/tester.py +++ b/src/libasr/compiler_tester/tester.py @@ -336,7 +336,7 @@ def run_test(testname, basename, cmd, infile, update_reference=False, log.debug(s + " " + check()) -def tester_main(compiler, single_test): +def tester_main(compiler, single_test, is_lcompilers_executable_installed=False): parser = argparse.ArgumentParser(description=f"{compiler} Test Suite") parser.add_argument("-u", "--update", action="store_true", help="update all reference results") @@ -387,8 +387,9 @@ def tester_main(compiler, single_test): no_color = args.no_color # So that the tests find the `lcompiler` executable - os.environ["PATH"] = os.path.join(SRC_DIR, "bin") \ - + os.pathsep + os.environ["PATH"] + if not is_lcompilers_executable_installed: + os.environ["PATH"] = os.path.join(SRC_DIR, "bin") \ + + os.pathsep + os.environ["PATH"] test_data = toml.load(open(os.path.join(ROOT_DIR, "tests", "tests.toml"))) filtered_tests = test_data["test"] if specific_tests: From 9643caa85bec3c9b97f3b0193a06b866e961f287 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Mon, 18 Dec 2023 20:23:55 +0530 Subject: [PATCH 06/13] TEST: Register array_03.cpp and pass CONDA_PREFIX/include to lc --- integration_tests/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration_tests/CMakeLists.txt b/integration_tests/CMakeLists.txt index 38023a3..bbe8752 100644 --- a/integration_tests/CMakeLists.txt +++ b/integration_tests/CMakeLists.txt @@ -87,7 +87,7 @@ macro(RUN_UTIL RUN_FAIL RUN_NAME RUN_FILE_NAME RUN_LABELS RUN_EXTRAFILES RUN_EXT OR (LC_BACKEND STREQUAL "c") OR (LC_BACKEND STREQUAL "fortran")) add_custom_command( OUTPUT ${name}.o - COMMAND ${LC} -c ${extra_args} ${CMAKE_CURRENT_SOURCE_DIR}/${file_name} -o ${name}.o --extra-arg -I${CMAKE_CURRENT_SOURCE_DIR}/../src/runtime/include -- + COMMAND ${LC} -c ${extra_args} ${CMAKE_CURRENT_SOURCE_DIR}/${file_name} -o ${name}.o --extra-arg-before -I$CONDA_PREFIX/include --extra-arg -I${CMAKE_CURRENT_SOURCE_DIR}/../src/runtime/include -- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${file_name} VERBATIM) add_executable(${name} ${name}.o ${extra_files}) @@ -183,3 +183,4 @@ RUN(NAME expr3.c FAIL LABELS gcc c wasm llvm NOFAST) # arrays RUN(NAME array_01.cpp LABELS gcc llvm NOFAST) RUN(NAME array_02.cpp LABELS gcc llvm NOFAST) +RUN(NAME array_03.cpp LABELS gcc llvm NOFAST) From 5843805c52dc08c176cb31ce2bb99a80da277585 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Mon, 18 Dec 2023 20:25:11 +0530 Subject: [PATCH 07/13] DEV: Register array_04.cpp --- tests/tests.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/tests.toml b/tests/tests.toml index fa78ca0..c273c2c 100644 --- a/tests/tests.toml +++ b/tests/tests.toml @@ -32,3 +32,7 @@ asr = true filename = "../integration_tests/array_02.cpp" extra_arg = "-Isrc/runtime/include" asr = true + +[[test]] +filename = "../integration_tests/array_04.cpp" +asr = true From fb2de34d5b08e19393b76329c90cd3d6f2495505 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Mon, 18 Dec 2023 20:25:31 +0530 Subject: [PATCH 08/13] TEST: Updated reference tests --- tests/reference/asr-array_04-be6ac8a.json | 13 + tests/reference/asr-array_04-be6ac8a.stdout | 278 ++++++++++++++++++++ 2 files changed, 291 insertions(+) create mode 100644 tests/reference/asr-array_04-be6ac8a.json create mode 100644 tests/reference/asr-array_04-be6ac8a.stdout diff --git a/tests/reference/asr-array_04-be6ac8a.json b/tests/reference/asr-array_04-be6ac8a.json new file mode 100644 index 0000000..270de19 --- /dev/null +++ b/tests/reference/asr-array_04-be6ac8a.json @@ -0,0 +1,13 @@ +{ + "basename": "asr-array_04-be6ac8a", + "cmd": "lc --asr-dump --no-color {infile} -o {outfile} -extra-arg=\"\"", + "infile": "tests/../integration_tests/array_04.cpp", + "infile_hash": "a3e79a9500684211e6e080dc262e6f1e5005e257df6d05381f9dc9c6", + "outfile": null, + "outfile_hash": null, + "stdout": "asr-array_04-be6ac8a.stdout", + "stdout_hash": "8ccda65df8bedf43f3a0c20870b16ce84c05bc2dad0df3e41ddd122e", + "stderr": null, + "stderr_hash": null, + "returncode": 0 +} \ No newline at end of file diff --git a/tests/reference/asr-array_04-be6ac8a.stdout b/tests/reference/asr-array_04-be6ac8a.stdout new file mode 100644 index 0000000..ba8845e --- /dev/null +++ b/tests/reference/asr-array_04-be6ac8a.stdout @@ -0,0 +1,278 @@ +(TranslationUnit + (SymbolTable + 1 + { + main: + (Function + (SymbolTable + 2 + { + __return_var: + (Variable + 2 + __return_var + [] + ReturnVar + () + () + Default + (Integer 4) + () + Source + Public + Required + .false. + ), + arr1: + (Variable + 2 + arr1 + [] + Local + () + () + Default + (Allocatable + (Array + (Real 8) + [(() + ()) + (() + ())] + DescriptorArray + ) + ) + () + Source + Public + Required + .false. + ), + arr2: + (Variable + 2 + arr2 + [] + Local + () + () + Default + (Allocatable + (Array + (Real 8) + [(() + ())] + DescriptorArray + ) + ) + () + Source + Public + Required + .false. + ) + }) + main + (FunctionType + [] + (Integer 4) + Source + Implementation + () + .false. + .false. + .false. + .false. + .false. + [] + .false. + ) + [] + [] + [(Allocate + [((Var 2 arr1) + [((IntegerConstant 0 (Integer 4)) + (IntegerConstant 3 (Integer 4))) + ((IntegerConstant 0 (Integer 4)) + (IntegerConstant 3 (Integer 4)))] + () + ())] + () + () + () + ) + (= + (Var 2 arr1) + (ArrayReshape + (ArrayConstant + [(RealConstant + 1.000000 + (Real 8) + ) + (RealConstant + 2.000000 + (Real 8) + ) + (RealConstant + 3.000000 + (Real 8) + ) + (RealConstant + 2.000000 + (Real 8) + ) + (RealConstant + 5.000000 + (Real 8) + ) + (RealConstant + 7.000000 + (Real 8) + ) + (RealConstant + 2.000000 + (Real 8) + ) + (RealConstant + 5.000000 + (Real 8) + ) + (RealConstant + 7.000000 + (Real 8) + )] + (Array + (Real 8) + [((IntegerConstant 0 (Integer 4)) + (IntegerConstant 9 (Integer 4)))] + FixedSizeArray + ) + RowMajor + ) + (ArrayConstant + [(ArraySize + (Var 2 arr1) + (IntegerConstant 1 (Integer 4)) + (Integer 4) + () + ) + (ArraySize + (Var 2 arr1) + (IntegerConstant 2 (Integer 4)) + (Integer 4) + () + )] + (Array + (Integer 4) + [((IntegerConstant 0 (Integer 4)) + (IntegerConstant 2 (Integer 4)))] + FixedSizeArray + ) + RowMajor + ) + (Allocatable + (Array + (Real 8) + [(() + ()) + (() + ())] + DescriptorArray + ) + ) + () + ) + () + ) + (Allocate + [((Var 2 arr2) + [((IntegerConstant 0 (Integer 4)) + (IntegerConstant 3 (Integer 4)))] + () + ())] + () + () + () + ) + (= + (Var 2 arr2) + (ArrayConstant + [(RealConstant + 5.000000 + (Real 8) + ) + (RealConstant + 6.000000 + (Real 8) + ) + (RealConstant + 7.000000 + (Real 8) + )] + (Array + (Real 8) + [((IntegerConstant 0 (Integer 4)) + (IntegerConstant 3 (Integer 4)))] + FixedSizeArray + ) + RowMajor + ) + () + ) + (Print + [(Var 2 arr2)] + () + () + ) + (= + (Var 2 __return_var) + (IntegerConstant 0 (Integer 4)) + () + ) + (Return)] + (Var 2 __return_var) + Public + .false. + .false. + () + ), + main_program: + (Program + (SymbolTable + 3 + { + exit_code: + (Variable + 3 + exit_code + [] + Local + () + () + Default + (Integer 4) + () + Source + Public + Required + .false. + ) + }) + main_program + [main] + [(= + (Var 3 exit_code) + (FunctionCall + 1 main + 1 main + [] + (Integer 4) + () + () + ) + () + )] + ) + }) + [] +) From 64201df9d78a3d53970e14577038f811c8ad1a59 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Mon, 18 Dec 2023 20:26:11 +0530 Subject: [PATCH 09/13] TEST: Use installed lc --- run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.py b/run_tests.py index e5886a4..f00e34b 100755 --- a/run_tests.py +++ b/run_tests.py @@ -115,4 +115,4 @@ def is_included(backend): filename, update_reference, extra_args) if __name__ == "__main__": - tester_main("LC", single_test) + tester_main("LC", single_test, True) From 3e90d3cbfdcab31b6c1cf16485922735938a8842 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Mon, 18 Dec 2023 20:26:29 +0530 Subject: [PATCH 10/13] MISC: Delete tests/array_04.cpp --- tests/array_04.cpp | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 tests/array_04.cpp diff --git a/tests/array_04.cpp b/tests/array_04.cpp deleted file mode 100644 index 7f324bd..0000000 --- a/tests/array_04.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include -#include "xtensor/xtensor.hpp" -#include "xtensor/xio.hpp" -#include "xtensor/xview.hpp" - -int main() { - - xt::xtensor arr1 = { - {1.0, 2.0, 3.0}, - {2.0, 5.0, 7.0}, - {2.0, 5.0, 7.0}}; - - xt::xtensor arr2 {5.0, 6.0, 7.0}; - - // xt::xarray res = xt::view(arr1, 1) + arr2; // TODO: Uncomment this statement - std::cout << arr2; - - return 0; -} From 83f248c414ba4651f096f8393dbce5e2b90b48f5 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Mon, 18 Dec 2023 20:37:57 +0530 Subject: [PATCH 11/13] TEST: Use EXTRA_ARGS to pass path to src/runtime/include --- integration_tests/CMakeLists.txt | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/integration_tests/CMakeLists.txt b/integration_tests/CMakeLists.txt index bbe8752..2b1379b 100644 --- a/integration_tests/CMakeLists.txt +++ b/integration_tests/CMakeLists.txt @@ -87,7 +87,7 @@ macro(RUN_UTIL RUN_FAIL RUN_NAME RUN_FILE_NAME RUN_LABELS RUN_EXTRAFILES RUN_EXT OR (LC_BACKEND STREQUAL "c") OR (LC_BACKEND STREQUAL "fortran")) add_custom_command( OUTPUT ${name}.o - COMMAND ${LC} -c ${extra_args} ${CMAKE_CURRENT_SOURCE_DIR}/${file_name} -o ${name}.o --extra-arg-before -I$CONDA_PREFIX/include --extra-arg -I${CMAKE_CURRENT_SOURCE_DIR}/../src/runtime/include -- + COMMAND ${LC} -c ${CMAKE_CURRENT_SOURCE_DIR}/${file_name} -o ${name}.o ${extra_args} -- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${file_name} VERBATIM) add_executable(${name} ${name}.o ${extra_files}) @@ -176,11 +176,16 @@ endmacro(RUN) # x86 --- compile to x86 binary directly # wasm --- compile to WASM binary directly -RUN(NAME expr1.c LABELS gcc c wasm llvm NOFAST) -RUN(NAME expr2.c LABELS gcc c wasm llvm NOFAST) -RUN(NAME expr3.c FAIL LABELS gcc c wasm llvm NOFAST) +RUN(NAME expr1.c LABELS gcc c wasm llvm NOFAST + EXTRA_ARGS --extra-arg=-I${CMAKE_CURRENT_SOURCE_DIR}/../src/runtime/include) +RUN(NAME expr2.c LABELS gcc c wasm llvm NOFAST + EXTRA_ARGS --extra-arg=-I${CMAKE_CURRENT_SOURCE_DIR}/../src/runtime/include) +RUN(NAME expr3.c FAIL LABELS gcc c wasm llvm NOFAST + EXTRA_ARGS --extra-arg=-I${CMAKE_CURRENT_SOURCE_DIR}/../src/runtime/include) # arrays -RUN(NAME array_01.cpp LABELS gcc llvm NOFAST) -RUN(NAME array_02.cpp LABELS gcc llvm NOFAST) +RUN(NAME array_01.cpp LABELS gcc llvm NOFAST + EXTRA_ARGS --extra-arg=-I${CMAKE_CURRENT_SOURCE_DIR}/../src/runtime/include) +RUN(NAME array_02.cpp LABELS gcc llvm NOFAST + EXTRA_ARGS --extra-arg=-I${CMAKE_CURRENT_SOURCE_DIR}/../src/runtime/include) RUN(NAME array_03.cpp LABELS gcc llvm NOFAST) From 6674254ec6766e8c582da458e91177992f218885 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Mon, 18 Dec 2023 23:08:10 +0530 Subject: [PATCH 12/13] CI: Set CPATH environment variable before running tests --- .github/workflows/CI.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 74df0cd..adb29b0 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -52,6 +52,7 @@ jobs: shell: bash -l -e {0} if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos') run: | + export CPATH=$CONDA_PREFIX/include:$CPATH lc --ast-dump tests/test.cpp lc --extra-arg=-Isrc/runtime/include examples/expr2.c --asr-dump ./run_tests.py @@ -77,5 +78,6 @@ jobs: shell: bash -l -e {0} if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos') run: | + export CPATH=$CONDA_PREFIX/include:$CPATH ./integration_tests/run_tests.py -b gcc llvm wasm c ./integration_tests/run_tests.py -b gcc llvm wasm c -f From 3597b8da12492735abfc6e6d52bbd62f688092ae Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Mon, 18 Dec 2023 23:10:13 +0530 Subject: [PATCH 13/13] TEST: Use EXTRA_ARGS to pass path to CONDA_PREFIX/include --- integration_tests/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration_tests/CMakeLists.txt b/integration_tests/CMakeLists.txt index 2b1379b..e8687ea 100644 --- a/integration_tests/CMakeLists.txt +++ b/integration_tests/CMakeLists.txt @@ -188,4 +188,5 @@ RUN(NAME array_01.cpp LABELS gcc llvm NOFAST EXTRA_ARGS --extra-arg=-I${CMAKE_CURRENT_SOURCE_DIR}/../src/runtime/include) RUN(NAME array_02.cpp LABELS gcc llvm NOFAST EXTRA_ARGS --extra-arg=-I${CMAKE_CURRENT_SOURCE_DIR}/../src/runtime/include) -RUN(NAME array_03.cpp LABELS gcc llvm NOFAST) +RUN(NAME array_03.cpp LABELS gcc llvm NOFAST + EXTRA_ARGS --extra-arg=-I${CONDA_PREFIX}/include)