Hi Graham,
thanks a lot for the patch! The FreeMat with disabled JIT has just
landed to stretch and it was the only possible non-breaking
opportunity not to drop the package from the stretch.
I will test your patch and if everything OK, will provide fixed version
through backports.
Best regards
The attached patch fixes the build with LLVM 4.0.
However, JIT still needs to be re-enabled and properly tested, see #863794.
Description: Fix build failure with default LLVM 4.0
Author: Graham Inggs
Last-Update: 2017-06-03
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -258,7
Control: tags -1 patch
Gianfranco found that in LLVM 3.9, llvm/Target/TargetOptions.h now has:
#include "llvm/MC/MCAsmInfo.h"
which was not present in LLVM 3.8.
I tested the workaround below, which can be used until #850785 is fixed.
--- a/libs/libMatC/CJitFuncClang.hpp
+++
control: clone -1 -2
control: block -1 by -2
control: retitle -2 llvm-toolchain-3.9 make some reverse-dependencies FTBFS on
i386
control: reassign -2 src:llvm-toolchain-3.9
control: found -2 1:3.9.1-1
control: tags -2 patch
On Wed, 4 Jan 2017 16:14:03 +0200 Graham Inggs
Hi
The attached updated fix-llvm-build.patch fixes the build almost
everywhere by adding LLVMCoverage to OPTIONAL_LIBS.
The build now fails on i386 with the following:
In file included from
/usr/lib/llvm-3.9/include/llvm/Target/TargetOptions.h:20:0,
from
Package: src:freemat
Version:
Severity: important
Tags: sid stretch
[100%] Linking CXX executable FreeMat
cd /home/packages/tmp/freemat-4.2+dfsg1/debian/build/src && /usr/bin/cmake -E
cmake_link_script CMakeFiles/FreeMat.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2
6 matches
Mail list logo