ilc (Ionlang command-line utility) is a CLI tool for compiling Ion code.
- LLVM must be built from source on Windows. A different, close version of LLVM
might work, but you will need to modify
CMakeLists.txt
, specifically wherefind_package(LLVM X.0.0 REQUIRED CONFIG)
occurs.
# Clone the repository.¹
$ git clone https://github.com/ionlang
$ cd ionlang
# Generate Makefiles and build.
$ mkdir build
$ cd build
$ cmake ..
$ cmake --build .
- Make sure you've selected the correct branch you're intending to
build (
dev
for latest changes,master
for stable), and initialized git submodules after cloning the repository and prior to building.
-
Imported target "x::x" includes non-existent path "/x"
Windows:
- Delete all installation directories (from both
Program Files
andProgram Files (x86)
ofionir
). - Re-install the
ionir
project. - Reload the project.
- Delete all installation directories (from both