Commit Graph

40 Commits

Author SHA1 Message Date
Ayoub Benaissa
f128982756 fix(docker): use bash as a shell
also uses directly the root home folder
2022-11-02 19:16:44 +01:00
Ayoub Benaissa
5269250908 fix(docker): add rust binary dir to PATH 2022-11-02 16:43:13 +01:00
youben11
e40c6392cb ci: build and test rust bindings 2022-11-02 14:46:38 +01:00
youben11
8f05f9ea72 ci: change package release process
it should be now faster using the same compilation cache as the test
build.
2022-09-19 13:24:20 +01:00
youben11
698bd28104 ci: refactor docker images and CI jobs
use a single docker image for all testing environments
unify some CI jobs on this single environment
also parameterize the build of the doc, which no longer have a hardcoded
path for the compiler build directory
2022-09-13 15:18:15 +01:00
youben11
584942251f refactor: remove copy of concrete lib
it is no longer needed, as we have access to a binary release now
2022-09-13 15:18:15 +01:00
youben11
f88cd95eaf ci: update df image to use latest hpx
also removes some old copies in dockerfile that were meant to reduce
image size. However, as many entities need to be copied now, we might
need to have a better approach for this (using make install maybe), and
copy everything that is necessary into the right place.
2022-09-13 15:18:15 +01:00
youben11
0cd9a7984d feat: support dataflow execution in python packages
use latest image manylinux_2_28_x86_64 using libc 2.28
2022-09-13 15:18:15 +01:00
Quentin Bourgerie
c08a06ed8e chore: Just rename configuration variable to enable the dataflow runtime 2022-08-24 11:35:05 +02:00
youben11
5668e447e7 feat: support python 3.7 2022-07-07 09:55:44 +01:00
Mayeul@Zama
928a44d243 chore(ci): enforce ending files with a newline 2022-06-16 17:04:25 +02:00
Andi Drebes
45577fb79e Rebase onto llvm-project f69328049e9e with local changes
This commit rebases the compiler onto commit f69328049e9e from
llvm-project.

Changes:

* Use of the one-shot bufferizer for improved memory management

* A new pass `OneShotBufferizeDPSWrapper` that converts functions
  returning tensors to destination-passing-style as required by the
  one-shot bufferizer

* A new pass `LinalgGenericOpWithTensorsToLoopsPass` that converts
  `linalg.generic` operations with value semantics to loop nests

* Rebase onto a fork of llvm-project at f69328049e9e with local
  modifications to enable bufferization of `linalg.generic` operations
  with value semantics

* Workaround for the absence of type propagation after type conversion
  via extra patterns in all dialect conversion passes

* Printer, parser and verifier definitions moved from inline
  declarations in ODS to the respective source files as required by
  upstream changes

* New tests for functions with a large number of inputs

* Increase the number of allowed task inputs as required by new tests

* Use upstream function `mlir_configure_python_dev_packages()` to
  locate Python development files for compatibility with various CMake
  versions

Co-authored-by: Quentin Bourgerie <quentin.bourgerie@zama.ai>
Co-authored-by: Ayoub Benaissa <ayoub.benaissa@zama.ai>
Co-authored-by: Antoniu Pop <antoniu.pop@zama.ai>
2022-06-14 14:35:25 +02:00
rudy
923a1b58e1 feat(optimizer): plug online parameter estimation 2022-04-29 15:11:42 +02:00
rudy
9387b8793c feat(ci): clear ccache stats in docker image 2022-04-13 11:31:15 +02:00
Antoniu Pop
17c72f2e2d fix(dataflow docker image): remove obsolete libDFRuntime.so references in the dockerfile. 2022-04-02 10:59:25 +01:00
rudy
2c4d399575 feat(KeySetCache): use a artifacts to store the cache 2022-03-30 10:11:38 +02:00
Quentin Bourgerie
e0bff49dad chore(ci): Change base image for Concrete C API to Concrete compiler C API 2022-02-17 15:53:23 +01:00
youben11
05ebbb1029 ci: use gcc7.5 in linux release builds 2022-01-19 21:49:47 +00:00
Antoniu Pop
87994d000e ci(perf) : build gcc7.5 in separate image. 2022-01-19 21:49:47 +00:00
Antoniu Pop
25116ec979 ci/release: upgrade python packages release image to gcc-7.5.0 2022-01-19 21:49:47 +00:00
youben11
fcf5ee05d5 chore: rename docker images
use concrete-compiler instead of concretefhe-compiler
2022-01-06 12:40:10 +01:00
youben11
e73291abdc chore: rename compiler to concrete-compiler
zamalang => concretelang
zamacompiler => concretecompiler
2021-12-29 15:13:34 +01:00
youben11
a94e05e85b ci: release mac
improve current workflow: more parallelism and factoring of steps with
matrix
2021-12-16 09:15:25 +01:00
youben11
d4f0dbc4f8 fix: add /build/bin to PATH
FileCheck wasn't found during tests
2021-12-14 15:04:08 +01:00
youben11
6c1800048a ci: test on gcc6.3 2021-12-13 16:35:56 +01:00
Antoniu Pop
bb44124999 feat(dfr): add the DFR (DataFlow Runtime). 2021-12-08 18:35:29 +00:00
Ayoub Benaissa
85954f0373 fix: correct PYTHONPATH in docker image 2021-11-15 10:30:43 +01:00
youben11
3246f8b035 chore: remove build files from docker image
- Reduce the size of the docker image
- Make sure ccache is always used => faster CI tests
2021-11-12 15:05:55 +01:00
Andi Drebes
2033a70ad2 ci: Use ccache when building the project
In some cases, even small changes in zamacompiler lead to the
recompilation of the LLVM / MLIR sources, causing significant delay in
the CI. This change forces the use of ccache to speed up recompilation
after the project has been built at least once.
2021-11-04 16:01:27 +01:00
youben11
941465060e build: setup target and tools for building tarballs 2021-10-28 15:59:31 +01:00
youben11
dc2d6a362e chore: stop using "build" target in CI 2021-10-28 15:59:31 +01:00
youben11
5a2e9460fb build: setup build tools for python package
- Docker image to build wheels for linux_x86_64 CPython 3.[8,9,10] with
  GLIBC >= 2.24
- Specify which Python to use in Makefile
- Fix cmake build to handle when libpython isn't available (cmake>3.18)
2021-10-26 16:31:04 +02:00
youben11
bfc763144c ci: new unified build system 2021-10-07 14:38:50 +01:00
Quentin Bourgerie
96c50d5dca fix/chore(docker/zamalang-env): Update to the latest concrete-api-env 2021-08-16 18:54:56 +02:00
Quentin Bourgerie
e290447389 chore(compiler): Get the concrete capi release 2021-08-13 14:05:29 +02:00
youben11
c58abe6565 chore(ci): add python testing 2021-08-05 13:49:29 +02:00
youben11
3707f3a350 chore(ci): docker image for zamalang compiler 2021-08-03 08:53:26 +01:00
Ayoub Benaissa
ab53ef71c6 feat(compiler): Python bindings (#53)
- feat(compiler): python bindings
- build: update docker image for python bindings
- pin pybind11 to 2.6.2, 2.7 is not having correct include_dirs set (still
a question why?)
- using generated parser/printer
2021-07-28 15:58:51 +01:00
Quentin Bourgerie
af23854480 fix(compiler): Fixing some step to speedup the build of the container of the mlir-env 2021-06-16 14:31:21 +02:00
Quentin Bourgerie
b948c5c6a5 chore(compiler): Actions for build and test compiler 2021-06-16 14:31:21 +02:00