z64 / odin-bootstrap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository automates building Odin and LLVM with as few dependencies as possible.

Using

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.

Errata

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

Special Thanks

About

License:ISC License


Languages

Language:Shell 100.0%