mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
fix: update LD_PRELOAD in docker image and workflows
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user