From 4f659d112517360c5aa46a828b7b405c4e925eed Mon Sep 17 00:00:00 2001 From: Lukas Petr Date: Wed, 30 Oct 2024 14:39:31 +0100 Subject: [PATCH] tmp --- .github/workflows/builds.yml | 3 +++ diffkemp/simpll/simpll_build.py | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 394c13aa..c0c7c94d 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -39,12 +39,14 @@ jobs: sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-${{ env.llvm }} main" sudo apt update sudo apt install llvm-${{ env.llvm }}-dev clang-${{ env.llvm }} + sudo ln -s /usr/lib/llvm-${{ env.llvm }} /usr/local/lib/llvm ls "/usr/lib/llvm-${{ env.llvm }}/bin" echo "/usr/lib/llvm-${{ env.llvm }}/bin" >> $GITHUB_PATH echo $GITHUB_PATH - name: Release build and install of DiffKemp if: ${{ matrix.build-type == 'release' }} run: | + echo $PATH cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=Release sudo ninja -C build install pip install . @@ -53,6 +55,7 @@ jobs: - name: Development build of DiffKemp if: ${{ matrix.build-type == 'development' }} run: | + echo $PATH cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=Debug sudo ninja -C build pip install -e . diff --git a/diffkemp/simpll/simpll_build.py b/diffkemp/simpll/simpll_build.py index af4c334d..0b08614a 100755 --- a/diffkemp/simpll/simpll_build.py +++ b/diffkemp/simpll/simpll_build.py @@ -29,6 +29,7 @@ def get_root_dir(path, is_develop_build): return os.path.abspath(f"{path}/../..") +print(sys.path) ffibuilder = FFI() location = os.path.dirname(os.path.abspath(__file__)) root_dir = get_root_dir(location, is_develop_build=(len(sys.argv) == 1))