diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2023-11-17 12:16:01 +0000 |
---|---|---|
committer | Eric Bavier <bavier@posteo.net> | 2023-11-18 19:56:31 -0600 |
commit | 3ffd91423719cdeba4e98d083087dc9d3213e862 (patch) | |
tree | 9923bf3f469d6a181e6b6bd6e5eb027fe8a096b7 | |
parent | e31c1dcce9e578c48f5b26e7f7293d6d90572fa4 (diff) | |
download | guix-3ffd91423719cdeba4e98d083087dc9d3213e862.tar.gz |
gnu: python-pynbody: Prepare for cross compilation.
* gnu/packages/astronomy.scm (python-pynbody)[arguments]{phases}: Add 'set-compiler phase. Change-Id: I64feabbdd76679d5a86a85a9f50cd0be90f60c1c Signed-off-by: Eric Bavier <bavier@posteo.net>
-rw-r--r-- | gnu/packages/astronomy.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 85180e40ad..e42b87144c 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -3575,7 +3575,12 @@ functions, so that they can be called with scalar or array inputs.") "--ignore=tests/sph_smooth_test.py" "--ignore=tests/subfind_test.py" "--ignore=tests/subfindhdf_gadget4_test.py" - "--ignore=tests/tipsy_test.py"))) + "--ignore=tests/tipsy_test.py") + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'set-compiler + (lambda _ + (setenv "CC" #$(cc-for-target))))))) (native-inputs (list python-cython python-pandas |