<!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="node18.html"> <LINK REL="previous" HREF="node16.html"> <LINK REL="up" HREF="node11.html"> <LINK REL="next" HREF="node18.html"> </HEAD> <BODY > <DIV CLASS="navigation"><!--Navigation Panel--> <A NAME="tex2html442" HREF="node18.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html438" HREF="node11.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html432" HREF="node16.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html440" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <BR> <B> Next:</B> <A NAME="tex2html443" HREF="node18.html">Running unit tests</A> <B> Up:</B> <A NAME="tex2html439" HREF="node11.html">Installation</A> <B> Previous:</B> <A NAME="tex2html433" HREF="node16.html">Compilation with clamav-milter enabled</A> <B> <A NAME="tex2html441" 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, and 3.5. Some installations have reported problems using earlier LLVM versions. Versions of LLVM beyond 3.5 are not currently supported in ClamAV. <P> <BR><HR> <ADDRESS> Cisco 2016-02-29 </ADDRESS> </BODY> </HTML>