https://github.com/JuliaLang/julia
Raw File
Tip revision: e9d4bbc386116c331c4f023d742dc6ac00b41556 authored by Jeff Bezanson on 29 October 2019, 02:34:41 UTC
wip [ci skip]
Tip revision: e9d4bbc
llvm-ver.make
LLVM_VER_MAJ:=$(word 1, $(subst ., ,$(LLVM_VER)))
LLVM_VER_MIN:=$(word 2, $(subst ., ,$(LLVM_VER)))
# define a "short" LLVM version for easy comparisons
ifeq ($(LLVM_VER),svn)
LLVM_VER_SHORT:=svn
else
LLVM_VER_SHORT:=$(LLVM_VER_MAJ).$(LLVM_VER_MIN)
endif
LLVM_VER_PATCH:=$(word 3, $(subst ., ,$(LLVM_VER)))
ifeq ($(LLVM_VER_PATCH),)
LLVM_VER_PATCH := 0
endif
back to top