mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
bdc000263a
This is to enable a smooth migration to the new one.
22 lines
676 B
Diff
22 lines
676 B
Diff
--- a/magicl.asd
|
|
+++ b/magicl.asd
|
|
@@ -143,6 +143,7 @@
|
|
(shared-object (make-pathname :type #+darwin "dylib" #-darwin "so"
|
|
:name "libexpokit"
|
|
:defaults fortran-file)))
|
|
+ (unless (probe-file (nn shared-object))
|
|
(uiop:run-program
|
|
(list "gfortran" "-fPIC" "-std=legacy"
|
|
"-c"
|
|
@@ -155,7 +156,7 @@
|
|
(nn object-file)
|
|
#+darwin "-lblas"
|
|
#+darwin "-llapack"))
|
|
- (delete-file object-file))))
|
|
+ (delete-file object-file)))))
|
|
|
|
|
|
(asdf:defsystem #:magicl/ext-expokit
|
|
|
|
Diff finished. Mon Oct 10 22:03:54 2022
|