-
Story
-
Resolution: Done
-
Critical
-
None
-
None
symengine 0.9.2 no longer builds from sources. The error message suggests that the old version does not support LLVM 18. Forcing LLVM 14 does the trick.
FAILED: symengine/CMakeFiles/symengine.dir/llvm_double.cpp.o /usr/bin/ccache /usr/lib64/ccache/c++ -Dsymengine_EXPORTS -I/work/bootstrap-output.gaudi-ubi9/work-dir/symengine-0.9.2/symengine-0.9.2/libsymengine -I/work/bootstrap-output.gaudi-ubi9/work-dir/symengine-0.9.2/symengine-0.9.2/libsymengine/build -isystem /work/bootstrap-output.gaudi-ubi9/work-dir/symengine-0.9.2/symengine-0.9.2/libsymengine/symengine/utilities/cereal/include -std=c++11 -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wno-unused-parameter -fno-common -O3 -funroll-loops -DNDEBUG -Wno-unknown-pragmas -std=c++17 -Wconversion -Wno-sign-conversion -MD -MT symengine/CMakeFiles/symengine.dir/llvm_double.cpp.o -MF symengine/CMakeFiles/symengine.dir/llvm_double.cpp.o.d -o symengine/CMakeFiles/symengine.dir/llvm_double.cpp.o -c /work/bootstrap-output.gaudi-ubi9/work-dir/symengine-0.9.2/symengine-0.9.2/libsymengine/symengine/llvm_double.cpp /work/bootstrap-output.gaudi-ubi9/work-dir/symengine-0.9.2/symengine-0.9.2/libsymengine/symengine/llvm_double.cpp: In member function ‘void SymEngine::LLVMVisitor::init(const vec_basic&, const vec_basic&, bool, unsigned int)’: /work/bootstrap-output.gaudi-ubi9/work-dir/symengine-0.9.2/symengine-0.9.2/libsymengine/symengine/llvm_double.cpp:266:56: error: ‘Level’ is not a member of ‘llvm::CodeGenOpt’; did you mean ‘getLevel’? 266 | .setOptLevel(static_cast<llvm::CodeGenOpt::Level>(opt_level)) | ^~~~~ | getLevel /work/bootstrap-output.gaudi-ubi9/work-dir/symengine-0.9.2/symengine-0.9.2/libsymengine/symengine/llvm_double.cpp:263:61: error: expected primary-expression before ‘(’ token 263 | executionengine = std::shared_ptr<llvm::ExecutionEngine>( | ^ /work/bootstrap-output.gaudi-ubi9/work-dir/symengine-0.9.2/symengine-0.9.2/libsymengine/symengine/llvm_double.cpp:266:56: error: ‘Level’ in namespace ‘llvm::CodeGenOpt’ does not name a type; did you mean ‘getLevel’? 266 | .setOptLevel(static_cast<llvm::CodeGenOpt::Level>(opt_level)) | ^~~~~ | getLevel /work/bootstrap-output.gaudi-ubi9/work-dir/symengine-0.9.2/symengine-0.9.2/libsymengine/symengine/llvm_double.cpp: In member function ‘void SymEngine::LLVMVisitor::loads(const string&)’: /work/bootstrap-output.gaudi-ubi9/work-dir/symengine-0.9.2/symengine-0.9.2/libsymengine/symengine/llvm_double.cpp:958:44: error: ‘Level’ is not a member of ‘llvm::CodeGenOpt’; did you mean ‘getLevel’? 958 | .setOptLevel(llvm::CodeGenOpt::Level::Aggressive) | ^~~~~ | getLevel ninja: build stopped: subcommand failed. 64/71 [00:43<00:04, 1.46pkg/s] ERROR: could not handle install dependency symengine==0.9.2 (0.9.2) for toplevel dependency habana-torch-plugin (1.18.0.524) because Command '['/opt/app-root/lib64/python3.11/site-packages/fromager/run_network_isolation.sh', 'cmake', '--build', '/work/bootstrap-output.gaudi-ubi9/work-dir/symengine-0.9.2/symengine-0.9.2/libsymengine/build', '--config', 'Release']' returned non-zero exit status 1.
- relates to
-
RHELAI-2235 yarl 1.17.1 can fail if bootstrap has only old Cython
- Closed
- mentioned on