mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
chore: stop using "build" target in CI
This commit is contained in:
@@ -14,8 +14,7 @@ ENV CONCRETE_PROJECT=/concrete
|
||||
# Setup and build compiler
|
||||
COPY /compiler /compiler
|
||||
WORKDIR /compiler
|
||||
RUN make Python3_EXECUTABLE=/opt/python/${python_tag}/bin/python build
|
||||
RUN make python-bindings
|
||||
RUN make Python3_EXECUTABLE=/opt/python/${python_tag}/bin/python python-bindings
|
||||
# Fix MLIR package
|
||||
RUN touch build/tools/zamalang/python_packages/zamalang_core/mlir/__init__.py
|
||||
RUN touch build/tools/zamalang/python_packages/zamalang_core/mlir/dialects/__init__.py
|
||||
|
||||
@@ -12,7 +12,6 @@ COPY /llvm-project /llvm-project
|
||||
COPY /compiler /compiler
|
||||
WORKDIR /compiler
|
||||
RUN mkdir -p /build
|
||||
RUN make BUILD_DIR=/build -B build
|
||||
RUN make BUILD_DIR=/build zamacompiler python-bindings
|
||||
ENV PYTHONPATH "$PYTHONPATH:/build/tools/zamalang/python_packages/zamalang_core:/build/tools/zamalang/python_packages/zamalang_core/mlir/_mlir_libs/"
|
||||
ENV PATH "$PATH:/build/bin"
|
||||
|
||||
Reference in New Issue
Block a user