aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Nithin K Joy <nithinjoy121212@gmail.com> 2023-09-19 06:04:57 +0530
committerGravatar GitHub <noreply@github.com> 2023-09-18 17:34:57 -0700
commit6df837cff18882ae323d49e1a9def7fc6ab5a5b0 (patch)
tree7e3d733de3520f5261c264d8deb43f6dac157c7b
parentc55b2c56a42ee4f317f7732ddf4ae629abe9d4eb (diff)
downloadbun-6df837cff18882ae323d49e1a9def7fc6ab5a5b0.tar.gz
bun-6df837cff18882ae323d49e1a9def7fc6ab5a5b0.tar.zst
bun-6df837cff18882ae323d49e1a9def7fc6ab5a5b0.zip
updated llvm version from 15 to 16 in makefile (#5696)
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4fc13a430..f13568f38 100644
--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,7 @@ ZIG ?= $(shell which zig 2>/dev/null || echo -e "error: Missing zig. Please make
# so if that's resolved, it won't build for C++
REAL_CC = $(shell which clang-16 2>/dev/null || which clang 2>/dev/null)
REAL_CXX = $(shell which clang++-16 2>/dev/null || which clang++ 2>/dev/null)
-CLANG_FORMAT = $(shell which clang-format-15 2>/dev/null || which clang-format 2>/dev/null)
+CLANG_FORMAT = $(shell which clang-format-16 2>/dev/null || which clang-format 2>/dev/null)
CC = $(REAL_CC)
CXX = $(REAL_CXX)
@@ -177,7 +177,7 @@ endif
ifeq ($(OS_NAME),linux)
LIBICONV_PATH =
-AR = $(shell which llvm-ar-15 2>/dev/null || which llvm-ar 2>/dev/null || which ar 2>/dev/null)
+AR = $(shell which llvm-ar-16 2>/dev/null || which llvm-ar 2>/dev/null || which ar 2>/dev/null)
endif
OPTIMIZATION_LEVEL=-O3 $(MARCH_NATIVE)
@@ -274,7 +274,7 @@ STRIP=/usr/bin/strip
endif
ifeq ($(OS_NAME),linux)
-STRIP=$(shell which llvm-strip 2>/dev/null || which llvm-strip-15 2>/dev/null || which strip 2>/dev/null || echo "Missing strip")
+STRIP=$(shell which llvm-strip 2>/dev/null || which llvm-strip-16 2>/dev/null || which strip 2>/dev/null || echo "Missing strip")
endif