mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: colobot, leela-zero: Add Boost workaround.
This works around and incompatibility with CMake 3.14 and Boost 1.70, see <https://bugs.gnu.org/36721>. * gnu/packages/games.scm (colobot, leela-zero)[arguments]: Add "-DBoost_NO_BOOST_CMAKE=ON" in <#:configure-flags>.
This commit is contained in:
parent
57d87f435f
commit
da9adfc7f7
1 changed files with 5 additions and 1 deletions
|
@ -5397,6 +5397,8 @@ (define-public colobot
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;no test
|
`(#:tests? #f ;no test
|
||||||
|
;; XXX: Work around <https://bugs.gnu.org/36721>.
|
||||||
|
#:configure-flags '("-DBoost_NO_BOOST_CMAKE=ON")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'make-git-checkout-writable
|
(add-after 'unpack 'make-git-checkout-writable
|
||||||
|
@ -7621,7 +7623,9 @@ (define-public leela-zero
|
||||||
("qtbase" ,qtbase)
|
("qtbase" ,qtbase)
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags '("-DUSE_BLAS=YES")
|
'(#:configure-flags '("-DUSE_BLAS=YES"
|
||||||
|
;; XXX: Work around <https://bugs.gnu.org/36721>.
|
||||||
|
"-DBoost_NO_BOOST_CMAKE=ON")
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(add-before 'configure 'fix-tests
|
(add-before 'configure 'fix-tests
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
|
Loading…
Reference in a new issue