Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lisaong/accera-llvm-canary
Infrastructure for Canary builds of LLVM for Accera. This will be used to generate docker images of various LLVM versions to be applied to canary builds.
https://github.com/lisaong/accera-llvm-canary
Last synced: 4 days ago
JSON representation
Infrastructure for Canary builds of LLVM for Accera. This will be used to generate docker images of various LLVM versions to be applied to canary builds.
- Host: GitHub
- URL: https://github.com/lisaong/accera-llvm-canary
- Owner: lisaong
- License: mit
- Created: 2021-12-13T14:08:52.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T03:39:54.000Z (almost 2 years ago)
- Last Synced: 2023-03-01T22:47:27.980Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 85.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# accera-llvm-canary
Infrastructure for Canary builds of LLVM for Accera[![llvm ubuntu build](https://github.com/lisaong/accera-llvm-canary/actions/workflows/dockerbuild.yml/badge.svg)](https://github.com/lisaong/accera-llvm-canary/actions/workflows/dockerbuild.yml)
## Docker build
To build the release version of LLVM for a given ref (llvmorg-14.0.0-rc4):
```shell
git submodule init
git submodule update# to build multi-arch
docker buildx build . \
--build-arg LLVM_RELEASE=llvmorg-14.0.0-rc4 --tag lisaong/accera-llvm-ubuntu:main-llvmorg-14.0.0-rc4 \
--platform linux/arm64,linux/amd64 \
--load# or, to build for just the host platform
docker build . \
--build-arg LLVM_RELEASE=llvmorg-14.0.0-rc4 --tag lisaong/accera-llvm-ubuntu:main-llvmorg-14.0.0-rc4
```To build both release and debug versions of LLVM for a given ref (llvmorg-13.0.1):
```shell
# to build multi-arch
docker buildx build . \
--build-arg LLVM_BUILD_TYPE=debug \
--build-arg LLVM_RELEASE=llvmorg-13.0.1 --tag lisaong/accera-llvm-ubuntu:main-llvmorg-13.0.1 \
--platform linux/arm64,linux/amd64 \
--load# or, to build for just the host platform
docker build . \
--build-arg LLVM_BUILD_TYPE=debug \
--build-arg LLVM_RELEASE=llvmorg-13.0.1 --tag lisaong/accera-llvm-ubuntu:main-llvmorg-13.0.1
```Building debug-only LLVM is not supported by vcpkg.
## Local dev build
To build locally without docker (only Linux is supported currently):
```shell
sh build.sh llvmorg-13.0.1
```To incrementally build locally after running `build.sh` at least once, run:
```shell
sh build.dev.sh
```