https://github.com/llvmparty/packages
Precompiled LLVM packages ready for (de)obfuscation related development.
https://github.com/llvmparty/packages
Last synced: 21 days ago
JSON representation
Precompiled LLVM packages ready for (de)obfuscation related development.
- Host: GitHub
- URL: https://github.com/llvmparty/packages
- Owner: LLVMParty
- Created: 2020-11-20T19:02:49.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-12T18:11:59.000Z (3 months ago)
- Last Synced: 2025-02-12T19:26:09.246Z (3 months ago)
- Language: CMake
- Homepage:
- Size: 40 KB
- Stars: 13
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# packages
## Build instructions
**Note**: End users do not need to run these commands, they are just here for reference.
Build `packages/ubuntu`:
```
export LLVM_TAG="ghcr.io/llvmparty/packages/ubuntu:22.04-llvm19.1.7"
docker buildx build --platform linux/arm64 -t "$LLVM_TAG" . -f llvm.Dockerfile
docker buildx build --platform linux/amd64 -t "$LLVM_TAG" . -f llvm.Dockerfile
docker buildx build --platform linux/arm64,linux/amd64 -t "$LLVM_TAG" . -f llvm.Dockerfile
docker push "$LLVM_TAG"
```Build `packages/dependencies`:
```
export HASH=$(python hash.py --simple | cut -c 1-8)
export DATE="$(date +"%Y%m%d")"
export TAG="ghcr.io/llvmparty/packages/dependencies:22.04-llvm19-$DATE-$HASH"
docker buildx build --platform linux/arm64 -t "$TAG" . -f dependencies.Dockerfile
docker buildx build --platform linux/amd64 -t "$TAG" . -f dependencies.Dockerfile
docker buildx build --platform linux/arm64,linux/amd64 -t "$TAG" . -f dependencies.Dockerfile
docker push "$TAG"
```References:
- https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/
- https://docs.docker.com/build/building/multi-stage/