exaloop / exaloop/codon

Out of the tree build fails several tests executing "codon_test"

Open
#393 3 comments 0 reactions 1 assignee Claimed by @inumanag View on GitHub
installation
Dominant language
Python
Stars
16.8k
Forks
603
Avg merge
4d 23h
Merged PRs (30d)
6

Description

When building this project out of tree (for example in /tmp) and then executing `codon_test` several tests fail due to somehow assuming the source tree is at `../` :
```
mkdir /tmp/codon-build
cd /tmp/codon-build
cmake -S $codon_source_path \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_DIR=$(llvm-config --cmakedir) \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++
...
cmake --build . --config Release
...
./codon_test
...
446 FAILED TESTS
```
But if moving `codon_test` and it's dependencies under a folder inside the source tree then the tests pass.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.