mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 10:53:14 +01:00
- Add bindings for InsertValue and ExtractValue - Updates to use new APIs where they were renamed or removed. - Add generic error messages if LLVM didn't provide one. - Enable typesafe variadic arguments for GetGEP.
10 lines
263 B
Bash
10 lines
263 B
Bash
#!/bin/sh
|
|
|
|
g++ llvm-ext.cpp -c `llvm-config --cxxflags`
|
|
g++ llvm-opt.cpp -c `llvm-config --cxxflags`
|
|
g++ llvm-typemonitor.cpp -c `llvm-config --cxxflags`
|
|
|
|
rm -f libllvm-c-ext.a
|
|
ar rc libllvm-c-ext.a llvm-ext.o llvm-opt.o llvm-typemonitor.o
|
|
ranlib libllvm-c-ext.a
|