We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1355b59 commit 34f8c0bCopy full SHA for 34f8c0b
L/LLVM/common.jl
@@ -248,7 +248,8 @@ if [[ ${target} == *linux* ]]; then
248
# CMAKE_FLAGS+=(-DLLVM_USE_OPROFILE=1)
249
fi
250
# if [[ ${target} == *linux* ]] || [[ ${target} == *mingw32* ]]; then
251
-if [[ ${target} == *linux* ]]; then # TODO only LLVM12
+if [[ "${LLVM_MAJ_VER}" -ge "12" && ${target} == x86_64-linux* ]];
252
+ # Intel VTune is available only on x86_64 architectures
253
CMAKE_FLAGS+=(-DLLVM_USE_INTEL_JITEVENTS=1)
254
255
0 commit comments