Atri Bhattacharya
64f6087492
- Update to version 2.2.0: * Experimental support for modifying the expression tree directly from Python (see e.g. Fourier transforms). * Fix for integration by parts (gh#kpeeters/cadabra2#71) * Fix for incorrect conversion to sympy expressions. * Optionally build with support for Mathematica scalar backend; see map_mma. * Many bugfixes for expression display and sympy conversion. * Now using pybind instead of boost.python, in preparation for * Windows port, and to enable building against Anaconda. * Copy/paste of output cells added. * New simplify command, which simplifies the scalar parts of expressions, and can be switched to use either Sympy or Mathematica. * Fix to treat derivatives with respect to explicit coordinates as scalars in evaluate; see this Q&A post. * Fix for failure to flag errors for WeightInherit property. * Fixed: vary on single-term expressions * (gh#kpeeters/cadabra2#57) * Fixed: evaluate with dense factors and no 'values' property on indices (gh#kpeeters/cadabra2#68) - Rename and rebase cadabra2-2.1.7.patch to cadabra2-add-pthread-to-cxxflags.patch. - Add BuildRequires: libboost_date_time1_66_0-devel, new dependency with version 2.2.0. - All python bindings are now required to be installed in _datadir. - New binary cadabra2cadabra. OBS-URL: https://build.opensuse.org/request/show/593224 OBS-URL: https://build.opensuse.org/package/show/science/cadabra2?expand=0&rev=19
14 lines
506 B
Diff
14 lines
506 B
Diff
Index: cadabra2-2.2.0/CMakeLists.txt
|
|
===================================================================
|
|
--- cadabra2-2.2.0.orig/CMakeLists.txt
|
|
+++ cadabra2-2.2.0/CMakeLists.txt
|
|
@@ -80,7 +80,7 @@ debug_message("Initial compiler flags: $
|
|
|
|
# GCC
|
|
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
|
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -Wall -Wno-unused-but-set-variable")
|
|
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -Wall -Wno-unused-but-set-variable -pthread")
|
|
endif()
|
|
|
|
# Clang
|