symengine
symengine copied to clipboard
error: too many arguments provided to function-like macro invocation
[4/180] cd /usr/ports/math/symengine/work/symengine-0.6.0/symengine && /usr/local/bin/cmake -DCOTIRE_BUILD_TYPE:STRING=Release -P /usr/ports/math/symengine/work/symengine-0.6.0/cmake/cotire.cmake precompile /usr/ports/math/symengine/work/.build/symengine/symengine_CXX_cotire.cmake /usr/ports/math/symengine/work/.build/symengine/cotire/symengine_CXX_prefix.hxx /usr/ports/math/symengine/work/.build/symengine/cotire/symengine_CXX_prefix.hxx.pch polys/uintpoly_flint.cpp
FAILED: symengine/cotire/symengine_CXX_prefix.hxx.pch
cd /usr/ports/math/symengine/work/symengine-0.6.0/symengine && /usr/local/bin/cmake -DCOTIRE_BUILD_TYPE:STRING=Release -P /usr/ports/math/symengine/work/symengine-0.6.0/cmake/cotire.cmake precompile /usr/ports/math/symengine/work/.build/symengine/symengine_CXX_cotire.cmake /usr/ports/math/symengine/work/.build/symengine/cotire/symengine_CXX_prefix.hxx /usr/ports/math/symengine/work/.build/symengine/cotire/symengine_CXX_prefix.hxx.pch polys/uintpoly_flint.cpp
In file included from /usr/ports/math/symengine/work/.build/symengine/cotire/symengine_CXX_prefix.hxx:4:
In file included from /usr/ports/math/symengine/work/.build/symengine/cotire/symengine_CXX_prefix.cxx:32:
In file included from /usr/local/llvm90/include/llvm/ExecutionEngine/ExecutionEngine.h:26:
In file included from /usr/local/llvm90/include/llvm/IR/Module.h:26:
In file included from /usr/local/llvm90/include/llvm/IR/Function.h:30:
In file included from /usr/local/llvm90/include/llvm/IR/GlobalObject.h:18:
In file included from /usr/local/llvm90/include/llvm/IR/GlobalValue.h:27:
In file included from /usr/local/llvm90/include/llvm/Support/MD5.h:33:
/usr/local/llvm90/include/llvm/Support/Endian.h:51:47: error: too many arguments provided to function-like macro invocation
inline value_type byte_swap(value_type value, endianness endian) {
^
/usr/local/include/flint/longlong.h:120:9: note: macro 'byte_swap' defined here
#define byte_swap(x) \
^
OS: FreeBSD 12.1 clang-9 symengine-0.6.0 flint2-2.6.0
Can you try adding -DWITH_COTIRE=no to cmake args?
With -DWITH_COTIRE=no the problem went away.