chore: rename compiler to concrete-compiler

zamalang => concretelang
zamacompiler => concretecompiler
This commit is contained in:
youben11
2021-12-28 11:48:27 +01:00
committed by Ayoub Benaissa
parent 971cb56182
commit e73291abdc
283 changed files with 1851 additions and 1851 deletions

View File

@@ -2,9 +2,9 @@
You can either install the compiler in user space or globally (you need root/sudo access):
1. User space install: extract the tarball to a chosen path and add chosen/path/zamacompiler/bin to your $PATH.
1. User space install: extract the tarball to a chosen path and add chosen/path/concretecompiler/bin to your $PATH.
2. Global install: extract the tarball to a temporary path , and copy
- temporary/path/zamacompiler/bin/zamacompiler to /usr/bin (or a directory in $PATH)
- temporary/path/zamacompiler/lib/libZamalangRuntime.so to /usr/lib (or another lib folder)
- temporary/path/concretecompiler/bin/concretecompiler to /usr/bin (or a directory in $PATH)
- temporary/path/concretecompiler/lib/libConcretelangRuntime.so to /usr/lib (or another lib folder)

View File

@@ -19,7 +19,7 @@ jobs:
--base_img_url \
https://api.github.com/orgs/zama-ai/packages/container/concrete-api-env/versions \
--env_img_url \
https://api.github.com/orgs/zama-ai/packages/container/zamalang-compiler/versions \
https://api.github.com/orgs/zama-ai/packages/container/concretelang-compiler/versions \
--token ${{ secrets.GH_TOKEN }}
- name: Send Slack Notification
@@ -47,7 +47,7 @@ jobs:
- name: Test compiler with latest concrete-ffi
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/zama-ai/zamalang-compiler
image: ghcr.io/zama-ai/concretelang-compiler
options: -v ${{ github.workspace }}/concrete:/concrete
run: |
cd /compiler

View File

@@ -10,9 +10,9 @@ on:
# DOCKER_IMAGE variables aren't used in BuildAndPushDockerImages because of https://github.com/actions/runner/issues/480
env:
DOCKER_IMAGE_TEST: ghcr.io/zama-ai/zamalang-compiler
DOCKER_IMAGE_TEST_GCC6: ghcr.io/zama-ai/concretefhe-compiler
DOCKER_IMAGE_TEST_DF: ghcr.io/zama-ai/zamalang-df-compiler
DOCKER_IMAGE_TEST: ghcr.io/zama-ai/concretefhe-compiler
DOCKER_IMAGE_TEST_GCC6: ghcr.io/zama-ai/concretefhe-compiler-gcc6
DOCKER_IMAGE_TEST_DF: ghcr.io/zama-ai/concretefhe-compiler-df
jobs:
########################
@@ -88,7 +88,7 @@ jobs:
cd /compiler
rm -rf /build
export PYTHONPATH=""
make CCACHE=ON BUILD_DIR=/build zamacompiler python-bindings
make CCACHE=ON BUILD_DIR=/build concretecompiler python-bindings
echo "Debug: ccache statistics (after the build):"
ccache -s
@@ -217,8 +217,8 @@ jobs:
run: |
cd compiler
make release_tarballs
sudo cp ${{ github.workspace }}/tarballs/zamacompiler.tar.gz ${{ github.workspace }}/tarballs/zamacompiler-`git describe --tags --abbrev=0`-x86_64-linux-gnu.tar.gz
echo "::set-output name=ASSET_NAME::zamacompiler-`git describe --tags --abbrev=0`-x86_64-linux-gnu.tar.gz"
sudo cp ${{ github.workspace }}/tarballs/concretecompiler.tar.gz ${{ github.workspace }}/tarballs/concretecompiler-`git describe --tags --abbrev=0`-x86_64-linux-gnu.tar.gz
echo "::set-output name=ASSET_NAME::concretecompiler-`git describe --tags --abbrev=0`-x86_64-linux-gnu.tar.gz"
- name: Upload Tarball
uses: actions/upload-release-asset@v1
@@ -296,13 +296,13 @@ jobs:
run: |
cd compiler
export CONCRETE_PROJECT=${{ github.workspace }}/concrete
make zamacompiler
mkdir -p tarballs/zamacompiler/lib tarballs/zamacompiler/bin
cp build/bin/zamacompiler tarballs/zamacompiler/bin
cp build/lib/libZamalangRuntime.dylib tarballs/zamacompiler/lib
cp ../.github/workflows/assets/Installation.md tarballs/zamacompiler/
cd tarballs && tar -czvf zamacompiler-`git describe --tags --abbrev=0`-x86_64-macos-catalina.tar.gz zamacompiler
echo "::set-output name=ASSET_NAME::zamacompiler-`git describe --tags --abbrev=0`-x86_64-macos-catalina.tar.gz"
make concretecompiler
mkdir -p tarballs/concretecompiler/lib tarballs/concretecompiler/bin
cp build/bin/concretecompiler tarballs/concretecompiler/bin
cp build/lib/libConcretelangRuntime.dylib tarballs/concretecompiler/lib
cp ../.github/workflows/assets/Installation.md tarballs/concretecompiler/
cd tarballs && tar -czvf concretecompiler-`git describe --tags --abbrev=0`-x86_64-macos-catalina.tar.gz concretecompiler
echo "::set-output name=ASSET_NAME::concretecompiler-`git describe --tags --abbrev=0`-x86_64-macos-catalina.tar.gz"
- name: Upload Tarball
if: matrix.python == '3.8'
@@ -410,14 +410,14 @@ jobs:
matrix:
include:
- name: test-env
image: ghcr.io/zama-ai/zamalang-compiler
dockerfile: builders/Dockerfile.zamalang-env
- name: test-env-gcc6
image: ghcr.io/zama-ai/concretefhe-compiler
dockerfile: builders/Dockerfile.zamalang-env-gcc6
dockerfile: builders/Dockerfile.concretefhe-compiler-env
- name: test-env-gcc6
image: ghcr.io/zama-ai/concretefhe-compiler-gcc6
dockerfile: builders/Dockerfile.concretefhe-compiler-gcc6-env
- name: test-df
image: ghcr.io/zama-ai/zamalang-df-compiler
dockerfile: builders/Dockerfile.zamalang-df-env
image: ghcr.io/zama-ai/concretefhe-compiler-df
dockerfile: builders/Dockerfile.concretefhe-compiler-df-env
steps:
- uses: actions/checkout@v2

View File

@@ -28,7 +28,7 @@ jobs:
run: echo "${{ secrets.GHCR_PASSWORD }}" | docker login -u ${{ secrets.GHCR_LOGIN }} --password-stdin ghcr.io
- name: Build
run: docker image build --no-cache -t compiler-latest-llvm -f builders/Dockerfile.zamalang-env .
run: docker image build --no-cache -t compiler-latest-llvm -f builders/Dockerfile.concretelang-env .
- name: Test compiler with latest LLVM
uses: addnab/docker-run-action@v3