me
/
guix
Archived
1
0
Fork 0

gnu: cbqn: Build using GCC.

* gnu/packages/bqn.scm (cbqn-bootstrap, cbqn)[#:make-flags]: Set CC via
‘cc-for-target’.
[inputs]: Remove clang-toolchain.
master
Liliana Marie Prikler 2022-10-22 20:43:05 +02:00
parent 95c494e298
commit 558da6d18f
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2022 Christopher Rodriguez <yewscion@gmail.com> ;;; Copyright © 2022 Christopher Rodriguez <yewscion@gmail.com>
;;; Copyright © 2022 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -142,6 +143,7 @@ the same author.")
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list #:tests? #f ;skipping tests for bootstrap (list #:tests? #f ;skipping tests for bootstrap
#:make-flags #~(list (string-append "CC=" #$(cc-for-target)))
#:phases #~(modify-phases %standard-phases #:phases #~(modify-phases %standard-phases
(delete 'configure) (delete 'configure)
(add-before 'build 'generate-bytecode (add-before 'build 'generate-bytecode
@ -156,7 +158,7 @@ the same author.")
(copy-recursively "BQN" (copy-recursively "BQN"
(string-append #$output (string-append #$output
"/bin/bqn"))))))) "/bin/bqn")))))))
(native-inputs (list dbqn clang-toolchain bqn-sources)) (native-inputs (list dbqn bqn-sources))
(inputs (list icedtea-8 libffi)) (inputs (list icedtea-8 libffi))
(synopsis "BQN implementation in C") (synopsis "BQN implementation in C")
(description "This package provides the reference implementation of (description "This package provides the reference implementation of
@ -202,5 +204,4 @@ by APL.")
(native-inputs (list dbqn (native-inputs (list dbqn
bqn-sources bqn-sources
libffi libffi
clang-toolchain
linux-libre-headers)))) linux-libre-headers))))