aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 957770264..e7acf1e9f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,7 +7,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Download LLVM
- run: sudo apt-get install llvm-11 llvm-config-11 clang-11
+ run: sudo apt-get install llvm-11
- name: build odin
run: make release
- name: Odin run
diff --git a/Makefile b/Makefile
index 30d73e211..5e55e8f5a 100644
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,8 @@ ifeq ($(OS), Darwin)
LDFLAGS:=$(LDFLAGS) $(shell llvm-config) -lLLVM-C
endif
ifeq ($(OS), Linux)
- CFLAGS:=$(CFLAGS) $(shell llvm-config --cxxflags --ldflags) -DLLVM_BACKEND_SUPPORT -DUSE_NEW_LLVM_ABI_SYSTEM
- LDFLAGS:=$(LDFLAGS) $(shell llvm-config) -lLLVM-C
+ CFLAGS:=$(CFLAGS) $(shell llvm-config-11 --cxxflags --ldflags) -DLLVM_BACKEND_SUPPORT -DUSE_NEW_LLVM_ABI_SYSTEM
+ LDFLAGS:=$(LDFLAGS) $(shell llvm-config-11) -lLLVM-C
endif
all: debug demo