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

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Tue May 6 19:17:01 UTC 2014


Hi Scott,

On 04.05.2014 20:31, Scott Kitterman wrote:
> On May 4, 2014 2:07:11 PM EDT, Andreas Cadhalpun <andreas.cadhalpun at googlemail.com> wrote:
>> On 04.05.2014 17:26, Scott Kitterman wrote:
>>> On May 4, 2014 5:44:47 AM EDT, Andreas Cadhalpun
>> <andreas.cadhalpun at googlemail.com> wrote:
>>>> On 03.05.2014 01:05, Scott Kitterman wrote:
>>>> 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?
>>>
>>> In general, I'm in favor.
>>
>> OK.
>
> Right. Got confused. Let's try it.  I can access porter boxes to test.

I have installed Debian/kfreebsd-amd64 (jessie) in a VirtualBox.
Then I built clamav with the following change on top of the aca_llvm branch:
--- a/libclamav/c++/configure.ac
+++ b/libclamav/c++/configure.ac
@@ -141,7 +141,7 @@ if test "$enable_llvm" = "auto"; then
      case "$target_cpu" in
         i?86|amd64|x86_64|powerpc*)
             case "$target_os" in
- 
darwin*|freebsd*|openbsd*|netbsd*|dragonfly*|linux*|solaris*|win32*|mingw*)
+ 
darwin*|freebsd*|kfreebsd*|openbsd*|netbsd*|dragonfly*|linux*|solaris*|win32*|mingw*)
                     AC_MSG_RESULT([ok ($target_cpu-$target_os)])
                     ;;
                 *)

It built successfully, so I think this can be enabled.

What do you think about merging aca_llvm to unstable now?

It would probably make sense to upload these changes together with the 
new upstream version 0.98.2.

Best regards,
Andreas



More information about the Pkg-clamav-devel mailing list