diff options
author | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2017-03-02 19:01:29 +0100 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-03-02 10:01:29 -0800 |
commit | ed582cef68585b6090866fb0bb3aa2cc72dbe2ed (patch) | |
tree | a2ae4def802cc244ce38044974c34d64e669b675 /var/spack/repos/builtin/packages/ipopt | |
parent | 5ce926d2d16d7ecd5aae72f586caba74cf07862d (diff) | |
download | spack-ed582cef68585b6090866fb0bb3aa2cc72dbe2ed.tar.gz spack-ed582cef68585b6090866fb0bb3aa2cc72dbe2ed.tar.bz2 spack-ed582cef68585b6090866fb0bb3aa2cc72dbe2ed.tar.xz spack-ed582cef68585b6090866fb0bb3aa2cc72dbe2ed.zip |
New interface for passing build information among specs (#1875)
- Added a new interface for Specs to pass build information
- Calls forwarded from Spec to Package are now explicit
- Added descriptor within Spec to manage forwarding
- Added state in Spec to maintain query information
- Modified a few packages (the one involved in spack install pexsi) to showcase changes
- This uses an object wrapper to `spec` to implement the `libs` sub-calls.
- wrapper is returned from `__getitem__` only if spec is concrete
- allows packagers to access build information easily
Diffstat (limited to 'var/spack/repos/builtin/packages/ipopt')
-rw-r--r-- | var/spack/repos/builtin/packages/ipopt/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/ipopt/package.py b/var/spack/repos/builtin/packages/ipopt/package.py index bd1e5f36ef..1aa8e807c4 100644 --- a/var/spack/repos/builtin/packages/ipopt/package.py +++ b/var/spack/repos/builtin/packages/ipopt/package.py @@ -53,8 +53,8 @@ class Ipopt(Package): mumps_flags = "-ldmumps -lmumps_common -lpord -lmpiseq" mumps_libcmd = "-L%s " % mumps_dir.lib + mumps_flags - blas_lib = spec['blas'].blas_libs.ld_flags - lapack_lib = spec['lapack'].lapack_libs.ld_flags + blas_lib = spec['blas'].libs.ld_flags + lapack_lib = spec['lapack'].libs.ld_flags configure_args = [ "--prefix=%s" % prefix, |