speedcat/build_test.sh
Slendi 0f5db0972c Use LLVM-18
Signed-off-by: Slendi <slendi@socopon.com>
2024-04-08 00:11:36 +03:00

10 lines
386 B
Bash
Executable File

#!/bin/sh
set -xe
LLVMC=llvm-config
LLVM_LINKER="-lc++ $($LLVMC --libs core --cxxflags --ldflags --system-libs|tr '\n' ' ')"
odin run src -o:none -debug -out:speedcat -extra-linker-flags:"$LLVM_LINKER" -- test_type_checker.cat
clang -I/opt/homebrew/include /opt/homebrew/lib/libraylib.a -lm -framework Cocoa -framework OpenGL -framework IOKit test_type_checker.ll test.c -o raylib