Missing IntelJITEvents and OProfileJIT libs

Hi all,

I am experiencing a problem with the libraries IntelJITEvents and OProfileJIT
They are listed in the `llvm-config --libs all` output but they are not present
in the lib install directory.
I am using git, revision 153741.

Am I missing something ? Is this a known issue ?

Thanks,
Alberto

Hi Alberto,

I can confirm the problem you mentioned, and will look at fixing it. You have indeed stumbled on a bug; the two libraries mentioned should only be required if you build with profiling enabled (--enable-intel-jitevents --enable-oprofile flags to configure, or "-DUSE_INTEL_JITEVENTS -DUSE_OPROFILE" flags to cmake.)

A workaround, for the time being, would be to ignore those two missing libraries.

Thanks,
Dan

Hello Daniel,

thank you very much for the clarification.
I confirm that the two libraries showed up without specifying the two
configure flags.

Cheers,
Alberto

Hi all,

I can confirm the same problem, but something similar happens
when building llvm with --enable-targets=host-only:
`llvm-config --libs all` still lists all libraries for mips/sparc/powerpc/etc.

Cheers,
Ralf