Skip to content

Commit b15cf34

Browse files
Zentrikgiordano
andauthored
[LLVM] Rebuild for riscv64 (#10204)
* [LLVM] Rebuild for riscv64 but change version number * Undo version bump * fixup! Undo version bump * Apply suggestions from code review * [LLVM] Only enable Intel JIT Events on x86_64 architecture --------- Co-authored-by: Mosè Giordano <[email protected]> Co-authored-by: Mosè Giordano <[email protected]>
1 parent ebe490b commit b15cf34

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

L/LLVM/LLVM_full@19/build_tarballs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ include("../common.jl")
44

55
build_tarballs(ARGS, configure_build(ARGS, version; experimental_platforms=true)...;
66
preferred_gcc_version=v"10", preferred_llvm_version=v"18", julia_compat="1.6")
7-
# Build trigger: 5
7+
# Build trigger: 7

L/LLVM/LLVM_full_assert@19/build_tarballs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ include("../common.jl")
44

55
build_tarballs(ARGS, configure_build(ARGS, version; assert=true, experimental_platforms=true)...;
66
preferred_gcc_version=v"10", preferred_llvm_version=v"18", julia_compat="1.6")
7-
# Build trigger: 6
7+
# Build trigger: 8

L/LLVM/common.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ if [[ ${target} == *linux* ]]; then
248248
# CMAKE_FLAGS+=(-DLLVM_USE_OPROFILE=1)
249249
fi
250250
# if [[ ${target} == *linux* ]] || [[ ${target} == *mingw32* ]]; then
251-
if [[ ${target} == *linux* ]]; then # TODO only LLVM12
251+
if [[ "${LLVM_MAJ_VER}" -ge "12" && ${target} == x86_64-linux* ]]; then
252+
# Intel VTune is available only on x86_64 architectures
252253
CMAKE_FLAGS+=(-DLLVM_USE_INTEL_JITEVENTS=1)
253254
fi
254255

0 commit comments

Comments
 (0)