| Stella Laurenzo | 67938cc | 2021-01-16 11:55:35 -0800 | [diff] [blame] | 1 | # GitHub Actions Based CI |
| 2 | |
| 3 | ## Debugging releases cookbook |
| 4 | |
| 5 | ### Build in the same Linux container as the release |
| 6 | |
| 7 | ``` |
| 8 | docker run --rm -it -v $(pwd):/work stellaraccident/manylinux2014_x86_64-bazel-3.7.2:latest /bin/bash |
| 9 | |
| 10 | # From within docker. |
| 11 | export PATH=/opt/python/cp38-cp38/bin:$PATH |
| 12 | cd /work |
| 13 | python ./build_tools/cmake/cmake_ci.py -B../iree-build \ |
| 14 | -DCMAKE_INSTALL_PREFIX=../iree-install -DCMAKE_BUILD_TYPE=Release \ |
| 15 | -DIREE_BUILD_SAMPLES=OFF -DIREE_BUILD_PYTHON_BINDINGS=ON \ |
| 16 | -DIREE_BUILD_TENSORFLOW_COMPILER=OFF -DIREE_BUILD_TFLITE_COMPILER=OFF -DIREE_BUILD_XLA_COMPILER=OFF |
| 17 | python ./build_tools/cmake/cmake_ci.py --build ../iree-build |
| 18 | ``` |