Skip to content

Commit

Permalink
[LLVM] Rebuild for riscv64 (#10204)
Browse files Browse the repository at this point in the history
* [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]>
  • Loading branch information
3 people authored Jan 7, 2025
1 parent ebe490b commit b15cf34
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion L/LLVM/LLVM_full@19/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ include("../common.jl")

build_tarballs(ARGS, configure_build(ARGS, version; experimental_platforms=true)...;
preferred_gcc_version=v"10", preferred_llvm_version=v"18", julia_compat="1.6")
# Build trigger: 5
# Build trigger: 7
2 changes: 1 addition & 1 deletion L/LLVM/LLVM_full_assert@19/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ include("../common.jl")

build_tarballs(ARGS, configure_build(ARGS, version; assert=true, experimental_platforms=true)...;
preferred_gcc_version=v"10", preferred_llvm_version=v"18", julia_compat="1.6")
# Build trigger: 6
# Build trigger: 8
3 changes: 2 additions & 1 deletion L/LLVM/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ if [[ ${target} == *linux* ]]; then
# CMAKE_FLAGS+=(-DLLVM_USE_OPROFILE=1)
fi
# if [[ ${target} == *linux* ]] || [[ ${target} == *mingw32* ]]; then
if [[ ${target} == *linux* ]]; then # TODO only LLVM12
if [[ "${LLVM_MAJ_VER}" -ge "12" && ${target} == x86_64-linux* ]]; then
# Intel VTune is available only on x86_64 architectures
CMAKE_FLAGS+=(-DLLVM_USE_INTEL_JITEVENTS=1)
fi
Expand Down

0 comments on commit b15cf34

Please sign in to comment.