From 5c26cf9d73b441af2cc49549e4fb299126f82717 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 24 Apr 2021 21:58:44 +0100 Subject: [PATCH] Try `llvm-config-11` in the Makefil --- .github/workflows/ci.yml | 2 +- Makefile | 4 ++-- 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