From dc2d6a362e1300aef4b586eeb20e2b3068046db2 Mon Sep 17 00:00:00 2001 From: youben11 Date: Thu, 28 Oct 2021 09:09:07 +0100 Subject: [PATCH] chore: stop using "build" target in CI --- .github/workflows/concrete-lib-compatibility.yml | 2 +- builders/Dockerfile.release_manylinux_2_24_x86_64 | 3 +-- builders/Dockerfile.zamalang-env | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/concrete-lib-compatibility.yml b/.github/workflows/concrete-lib-compatibility.yml index 1082fb054..bf8d114e0 100644 --- a/.github/workflows/concrete-lib-compatibility.yml +++ b/.github/workflows/concrete-lib-compatibility.yml @@ -53,7 +53,7 @@ jobs: cd /compiler pip install pytest export CONCRETE_PROJECT=/concrete - make -B BUILD_DIR=/build build + make -B BUILD_DIR=/build build-initialized make BUILD_DIR=/build test - name: Send Slack Notification diff --git a/builders/Dockerfile.release_manylinux_2_24_x86_64 b/builders/Dockerfile.release_manylinux_2_24_x86_64 index efd00a0fd..ed539a31f 100644 --- a/builders/Dockerfile.release_manylinux_2_24_x86_64 +++ b/builders/Dockerfile.release_manylinux_2_24_x86_64 @@ -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 diff --git a/builders/Dockerfile.zamalang-env b/builders/Dockerfile.zamalang-env index 471e62bc5..3ab5f138f 100644 --- a/builders/Dockerfile.zamalang-env +++ b/builders/Dockerfile.zamalang-env @@ -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"