[Pkg-clamav-devel] build clamav with system LLVM

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sun May 4 09:44:47 UTC 2014


Hi,

On 03.05.2014 01:05, Scott Kitterman wrote:
> On May 2, 2014 5:33:16 PM EDT, Andreas Cadhalpun <andreas.cadhalpun at googlemail.com> wrote:
>> When do you plan to upload to experimental?
>
> Hopefully tomorrow. Possible tonight.

Thanks for uploading.
Now it has built on all architectures, where clamav uses LLVM.
These are apparently only amd64, i386 and powerpc.

On other platforms the log contains
configure: error: CPU support is untested, not building LLVM
or:
configure: error: OS kfreebsd-gnu is not supported, not building LLVM

The latter comes from the following part of libclamav/c++/configure.ac:
     AC_MSG_CHECKING([for supported OS])
     case "$target_cpu" in
	i?86|amd64|x86_64|powerpc*)
	    case "$target_os" in
	 
darwin*|freebsd*|openbsd*|netbsd*|dragonfly*|linux*|solaris*|win32*|mingw*)
		    AC_MSG_RESULT([ok ($target_cpu-$target_os)])

I'm not familiar with the different *bsd's, but I guess that kfreebsd is 
not that different from freebsd, so we could try to enable JIT on 
kfreebsd by adding it to that list.

What's your opinion?

Best regards,
Andreas



More information about the Pkg-clamav-devel mailing list