mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: abseil-cpp: Skip 2 tests on riscv64-linux.
* gnu/packages/cpp.scm (abseil-cpp)[arguments]: When building for riscv64-linux replace the 'check phase to skip 2 tests. Change-Id: I92a35795dad1a00606954aae7515701ad402f243
This commit is contained in:
parent
68edde635d
commit
cdb7157300
1 changed files with 9 additions and 1 deletions
|
@ -1529,7 +1529,15 @@ (define-public abseil-cpp
|
|||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; absl_time_test requires this environment variable.
|
||||
(setenv "TZDIR" (string-append #$(package-source base)
|
||||
"/absl/time/internal/cctz/testdata/zoneinfo")))))))))))
|
||||
"/absl/time/internal/cctz/testdata/zoneinfo"))))
|
||||
#$@(if (target-riscv64?)
|
||||
#~((replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
|
||||
(invoke "ctest" "-E"
|
||||
"absl_symbolize_test|absl_log_format_test")))))
|
||||
#~()))))))))
|
||||
|
||||
(define (abseil-cpp-for-c++-standard base version)
|
||||
(hidden-package
|
||||
|
|
Loading…
Reference in a new issue