This repository automates building Odin and LLVM with as few dependencies as possible.
The recommended flow is to download a distributable bundle which may be found in the following:
Click the latest successful pipeline for the list of generated artifacts.
The following runtime dependencies are required for Odin distributables:
- Clang 12+ in
PATH
- GLIBC v2.31+
Alternatively you may use ./odin_llvm.sh
to reproduce Odin locally.
NOTE: actions/upload-artifact breaks file permissions! actions/upload-artifact#38
# After downloading an artifact, fix permissions and test Odin
unzip odin-linux-llvm-*.zip -d odin
cd odin
chmod +x {libLLVM-*.so,odin}
./odin run examples/demo/demo.odin -file