mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: re2-next: Fix tests.
* gnu/packages/regex.scm (re2-next)[arguments]: Add #:tests?. <#:configure-flags>: Build tests for native builds. [native-inputs]: Add googlebenchmark. Change-Id: I565fdd236d0c37b84c5bacc64a8c27aa17ddd8e0
This commit is contained in:
parent
8ecb6052ab
commit
e7b8d43eb2
1 changed files with 4 additions and 3 deletions
|
@ -81,12 +81,13 @@ Python. It is a C++ library.")
|
||||||
(base32
|
(base32
|
||||||
"11q0kz8b3y5ysn58fr62yhib520f9l3grbn8gxr8x5s9k700vq11"))))
|
"11q0kz8b3y5ysn58fr62yhib520f9l3grbn8gxr8x5s9k700vq11"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"
|
(arguments (list #:tests? (not (%current-target-system))
|
||||||
|
#:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"
|
||||||
;; "-DRE2_USE_ICU=ON"
|
;; "-DRE2_USE_ICU=ON"
|
||||||
#$@(if (%current-target-system)
|
#$@(if (not (%current-target-system))
|
||||||
#~("-DRE2_BUILD_TESTING=ON")
|
#~("-DRE2_BUILD_TESTING=ON")
|
||||||
#~()))))
|
#~()))))
|
||||||
(native-inputs (list googletest))
|
(native-inputs (list googlebenchmark googletest))
|
||||||
(propagated-inputs (list abseil-cpp))))
|
(propagated-inputs (list abseil-cpp))))
|
||||||
|
|
||||||
(define-public tre
|
(define-public tre
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue