mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02: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:
@@ -81,12 +81,13 @@ Python. It is a C++ library.")
|
||||
(base32
|
||||
"11q0kz8b3y5ysn58fr62yhib520f9l3grbn8gxr8x5s9k700vq11"))))
|
||||
(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"
|
||||
#$@(if (%current-target-system)
|
||||
#$@(if (not (%current-target-system))
|
||||
#~("-DRE2_BUILD_TESTING=ON")
|
||||
#~()))))
|
||||
(native-inputs (list googletest))
|
||||
(native-inputs (list googlebenchmark googletest))
|
||||
(propagated-inputs (list abseil-cpp))))
|
||||
|
||||
(define-public tre
|
||||
|
||||
Reference in New Issue
Block a user