mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: rttr: Modernize the package.
* gnu/packages/cpp.scm (rttr): Modernize the package. [arguments]: Use GEXPs. Change-Id: I23022d0ae7deced76abc02121b242db2fe615a69
This commit is contained in:
parent
91710c42f6
commit
b0800210c8
1 changed files with 9 additions and 11 deletions
|
|
@ -625,22 +625,20 @@ Scalable Vector Graphics (SVG) files.")
|
|||
(file-name (git-file-name name version))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
'(;; No check target. Setting test-target to "unit_test" runs it twice.
|
||||
#:tests? #f
|
||||
#:configure-flags
|
||||
'("-DBUILD_DOCUMENTATION=OFF" "-DBUILD_EXAMPLES=OFF"
|
||||
"-DBUILD_UNIT_TESTS=OFF")
|
||||
(list
|
||||
;; No check target. Setting test-target to "unit_test" runs it twice.
|
||||
#:tests? #f
|
||||
#:configure-flags
|
||||
#~(list "-DBUILD_DOCUMENTATION=OFF"
|
||||
"-DBUILD_EXAMPLES=OFF"
|
||||
"-DBUILD_UNIT_TESTS=OFF")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; library_test fails in chroot.
|
||||
(add-after 'unpack 'skip-library-test
|
||||
(lambda _
|
||||
(substitute* "src/unit_tests/unit_tests.cmake"
|
||||
(("misc/library_test.cpp") ""))
|
||||
#t))
|
||||
(add-before 'configure 'relax-gcc-14-strictness
|
||||
(lambda _
|
||||
(setenv "CXXFLAGS" "-Wno-error=pessimizing-move"))))))
|
||||
(("misc/library_test.cpp") "")))))))
|
||||
(native-inputs (list pkg-config))
|
||||
(home-page "https://github.com/rttrorg/rttr/")
|
||||
(synopsis "C++ Reflection Library")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue