summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <z572@z572.online>2025-07-12 13:51:49 +0800
committerZheng Junjie <z572@z572.online>2025-07-13 18:37:47 +0800
commit278a80f399e06df516e408f57871ae2bead9b19b (patch)
tree7da3adf347559860773cc6046c98c238cd9fd78f
parentb1438011b38199b674c6f3aea7ffd37a2886749e (diff)
gnu: python-pyscf: Make tune works.
* gnu/packages/chemistry.scm (python-pyscf)[native-inputs]: Add (canonical-package gcc). Change-Id: Ibee49cb64581bd9e6743cdd16aa25739ac53112c
-rw-r--r--gnu/packages/chemistry.scm13
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index eb37a493a9..afa21d0b02 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -812,9 +812,16 @@ your colleagues, or to generate pre-rendered animations.")
"-DBUILD_XCFUN=OFF"
"-DBUILD_LIBCINT=OFF"))))))))
(native-inputs
- (list cmake-minimal
- python-setuptools
- python-wheel))
+ (list
+ cmake-minimal
+ ;; HACK: Add gcc, make tune work.
+ ;; build-system-with-tuning-compiler on guix/transformations.scm
+ ;; want to find compiler on the build-inputs, but gcc is on the
+ ;; python-build-system's host-inputs, so when tune it , will report:
+ ;; "failed to determine which compiler is used"
+ (canonical-package gcc)
+ python-setuptools
+ python-wheel))
(inputs
(list
;; Use qcint when tuning for x86_64.