fix: update LD_PRELOAD in docker image and workflows

This commit is contained in:
Arthur Meyre
2021-08-30 16:41:36 +02:00
parent c907cd0470
commit 74f0c9600e
2 changed files with 6 additions and 3 deletions

View File

@@ -59,12 +59,15 @@ jobs:
id: pytest
if: ${{ steps.conformance.outcome == 'success' && !cancelled() }}
env:
# TODO: remove this when concrete is statically linked with compiler
LD_PRELOAD: /concrete/target/release/libconcrete_ffi.so
# TODO: remove this when JIT doesn't need this
LD_PRELOAD: /compiler/build/lib/Runtime/libZamalangRuntime.so
run: |
make pytest
- name: Notebooks
if: ${{ steps.conformance.outcome == 'success' && !cancelled() }}
env:
# TODO: remove this when JIT doesn't need this
LD_PRELOAD: /compiler/build/lib/Runtime/libZamalangRuntime.so
run: |
make strip_nb
make notebook_timeout

View File

@@ -6,7 +6,7 @@ RUN echo "source /hdk/.docker_venv/bin/activate" >> /root/.bashrc && \
echo " source /hdk/.docker_venv/bin/activate" >> /root/.bashrc && \
echo " cd /hdk/ && make setup_env" >> /root/.bashrc && \
echo "fi" >> /root/.bashrc && \
echo "export LD_PRELOAD=/concrete/target/release/libconcrete_ffi.so" >> /root/.bashrc
echo "export LD_PRELOAD=/compiler/build/lib/Runtime/libZamalangRuntime.so" >> /root/.bashrc
WORKDIR /hdk