diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2022-04-11 17:46:05 +0200 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2022-04-12 08:39:15 +0200 |
commit | 8d567289844061df13fec9939bdadfd32a3b1f0f (patch) | |
tree | b38d2fd87490339e5cdfe27ff23b4d1948b2b011 | |
parent | 39b58abd9c4dcdaf23eb203ad6d1f6b5d9cbb23a (diff) | |
download | spack-8d567289844061df13fec9939bdadfd32a3b1f0f.tar.gz spack-8d567289844061df13fec9939bdadfd32a3b1f0f.tar.bz2 spack-8d567289844061df13fec9939bdadfd32a3b1f0f.tar.xz spack-8d567289844061df13fec9939bdadfd32a3b1f0f.zip |
vmd: remove custom phases
-rw-r--r-- | var/spack/repos/builtin/packages/vmd/package.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/vmd/package.py b/var/spack/repos/builtin/packages/vmd/package.py index f3eeea17be..39aefae96f 100644 --- a/var/spack/repos/builtin/packages/vmd/package.py +++ b/var/spack/repos/builtin/packages/vmd/package.py @@ -26,8 +26,6 @@ class Vmd(Package): url='file://{0}/vmd-1.9.3.bin.LINUXAMD64-CUDA8-OptiX4-OSPRay111p1.opengl.tar.gz'.format(os.getcwd())) manual_download = True - phases = ['configure', 'install'] - depends_on('libx11', type=('run', 'link')) depends_on('libxi', type=('run', 'link')) depends_on('libxinerama', type=('run', 'link')) @@ -38,14 +36,14 @@ class Vmd(Package): env.set('VMDINSTALLBINDIR', self.prefix.bin) env.set('VMDINSTALLLIBRARYDIR', self.prefix.lib64) - def configure(self, spec, prefix): + def install(self, spec, prefix): configure = Executable('./configure') configure('LINUXAMD64') - - def install(self, spec, prefix): with working_dir(join_path(self.stage.source_path, 'src')): make('install') + @run_after('install') + def ensure_rpaths(self): # make sure the executable finds and uses the Spack-provided # libraries, otherwise the executable may or may not run depending # on what is installed on the host |