<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!--Converted with LaTeX2HTML 2008 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Using the system LLVM</TITLE> <META NAME="description" CONTENT="Using the system LLVM"> <META NAME="keywords" CONTENT="clamdoc"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2008"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="clamdoc.css"> <LINK REL="next" HREF="node16.html"> <LINK REL="previous" HREF="node14.html"> <LINK REL="up" HREF="node9.html"> <LINK REL="next" HREF="node16.html"> </HEAD> <BODY > <DIV CLASS="navigation"><!--Navigation Panel--> <A NAME="tex2html312" HREF="node16.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html308" HREF="node9.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html302" HREF="node14.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html310" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <BR> <B> Next:</B> <A NAME="tex2html313" HREF="node16.html">Running unit tests</A> <B> Up:</B> <A NAME="tex2html309" HREF="node9.html">Installation</A> <B> Previous:</B> <A NAME="tex2html303" HREF="node14.html">Compilation with clamav-milter enabled</A> <B> <A NAME="tex2html311" HREF="node1.html">Contents</A></B> <BR> <BR></DIV> <!--End of Navigation Panel--> <H2><A NAME="SECTION00046000000000000000"> Using the system LLVM</A> </H2> Some problems have been reported when compiling ClamAV's built-in LLVM with recent C++ compiler releases. These problems may be avoided by installing and using an external LLVM system library. To configure ClamAV to use LLVM that is installed as a system library instead of the built-in LLVM JIT, use following: <PRE> $ ./configure --with-system-llvm=/myllvm/bin/llvm-config $ make $ sudo make install </PRE> The argument to <code>--with-system-llvm</code> is optional, indicating the path name of the LLVM configuration utility (llvm-config). With no argument to <code>--with-system-llvm</code>, <code>./configure</code> will search for LLVM in /usr/local/ and then /usr. <BR> <BR> Recommended versions of LLVM are 3.2, 3.3, 3.4, 3.5, and 3.6. Some installations have reported problems using earlier LLVM versions. Versions of LLVM beyond 3.6 are not currently supported in ClamAV. <P> <BR><HR> <ADDRESS> Cisco 2018-03-28 </ADDRESS> </BODY> </HTML>