Commit 31bc59eb authored by P-A Bouttier's avatar P-A Bouttier
Browse files

En fait, non

parent 0ec93dcb
......@@ -59,34 +59,10 @@
(bindir (string-append out "/bin"))
(libdir (string-append out "/lib"))
(incdir (string-append out "/include")))
;;(copy-recursively "../bin" bindir)
;;(copy-recursively "../lib" libdir)
;(for-each (lambda (f) (install-file f bindir))
; (find-files "../bin/" "."))
(for-each (lambda (f) (install-file f libdir))
(find-files "../lib/" "."))
(for-each (lambda (f) (install-file f incdir))
(find-files "../include/" "."))
;;(let ((ld.so (string-append (assoc-ref inputs "glibc")
;; ,(glibc-dynamic-linker)))
;; (runpath (string-append (assoc-ref inputs "glibc")
;; "/lib:"
;;; (assoc-ref inputs "gcc:lib")
; "/lib:"
; (assoc-ref inputs "openmpi")
; "/lib:"
; (assoc-ref inputs "openblas")
; "/lib:"
; (assoc-ref inputs "gsl")
; "/lib:" libdir)))
; (define (candidate? file stat)
; (and (not (string-suffix? ".o" file)) ;exclude crt*.o
; (not (string-suffix? ".dbg" file))
; (elf-file? file)))
; (for-each (lambda (file)
; (invoke "patchelf" "--set-rpath" runpath file))
; (find-files out candidate?))
))))))
(inputs
`(("openmpi" ,openmpi)
......@@ -96,7 +72,7 @@
(synopsis "Classical molecular dynamics simulator")
(description "LAMMPS is a classical molecular dynamics simulator designed to run efficiently on parallel computers. LAMMPS has potentials for solid-state materials (metals, semiconductors), soft matter (biomolecules, polymers), and coarse-grained or mesoscopic systems. It can be used to model atoms or, more generically, as a parallel particle simulator at the atomic, meso, or continuum scale.")
(home-page "http://lammps.sandia.gov/")
(license license:gpl2+))))
(license license:gpl2+)))
(define-public lammps
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment