chore: stop using "build" target in CI

This commit is contained in:
youben11
2021-10-28 09:09:07 +01:00
committed by Ayoub Benaissa
parent 2c63018ed2
commit dc2d6a362e
3 changed files with 2 additions and 4 deletions

View File

@@ -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

View File

@@ -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"