Atri Bhattacharya
a5904a94ef
- Update to version 2.2.8: * More versatile handling of Trace, including sorting using cyclic symmetry (Connor). * Fixes for combine (Connor). * Save command-line history (Connor). * Make imported notebooks use the default post_process function. * Make unwrap move scalars out of exterior (wedge) products, see this Q&A post. * Fix bug with indices with accents (github/166). * Added a cadabra2latex command to convert notebooks to LaTeX. * Fixed issue building with latest Homebrew on macOS. * Fixed Windows build issues and add python path settings at runtime. * Fixed bug with multipliers not reducing to canonical form. - Add Fix-linking-of-cadabra-module.patch - Remove timestamps from Doxygen generated HTML files, drop obsolete cadabra2-rpmlintrc - Use system jsoncpp - Drop conditionals for obsolete distro versions - Remove lots of unused/obsolete TeX BuildRequires. OBS-URL: https://build.opensuse.org/request/show/760749 OBS-URL: https://build.opensuse.org/package/show/science/cadabra2?expand=0&rev=31
32 lines
900 B
Diff
32 lines
900 B
Diff
From 71a406f32a654d2037b1d011f44af3fce4d9b50d Mon Sep 17 00:00:00 2001
|
|
From: Kasper Peeters <kasper.peeters@phi-sci.com>
|
|
Date: Fri, 13 Dec 2019 18:02:59 +0000
|
|
Subject: [PATCH] Fix linking of cadabra module.
|
|
|
|
---
|
|
cmake/version.cmake | 2 +-
|
|
core/CMakeLists.txt | 7 +++++--
|
|
2 files changed, 6 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
|
|
index d9356682ba..8141820ab8 100644
|
|
--- a/core/CMakeLists.txt
|
|
+++ b/core/CMakeLists.txt
|
|
@@ -216,6 +218,7 @@ set(LOCAL_SRC_FILES
|
|
SympyCdb.cc
|
|
YoungTab.cc
|
|
modules/xperm_new.cc
|
|
+ ${CADABRA_LIBS_DIR}/whereami/whereami.c
|
|
${ALGORITHM_SRC_FILES}
|
|
${PROPERTY_SRC_FILES}
|
|
)
|
|
@@ -278,6 +279,8 @@ target_link_libraries(cadabra2 PRIVATE
|
|
${GMPXX_LIBRARIES}
|
|
${GMP_LIBRARIES}
|
|
${Boost_LIBRARIES}
|
|
+ ${PYTHON_LIBRARIES}
|
|
+ ${GLIBMM3_LIBRARIES}
|
|
)
|
|
if(ENABLE_SYSTEM_JSONCPP)
|
|
target_link_libraries(cadabra2 PRIVATE
|