SOMBRERO - tests now in $PATH (#25421)
This commit is contained in:
parent
2d047d1f51
commit
6110aa374c
@ -3,6 +3,8 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from os import symlink
|
||||
|
||||
from llnl.util.filesystem import join_path
|
||||
|
||||
from spack import *
|
||||
@ -44,5 +46,7 @@ def install(self, spec, prefix):
|
||||
install('sombrero.sh', prefix.bin)
|
||||
# Install all executables
|
||||
for i in range(1, 7):
|
||||
install(join_path('sombrero', 'sombrero{0}'.format(i)),
|
||||
sombrero_dir)
|
||||
src = join_path('sombrero', 'sombrero{0}'.format(i))
|
||||
install(src, sombrero_dir)
|
||||
symlink(join_path(sombrero_dir, 'sombrero{0}'.format(i)),
|
||||
join_path(prefix.bin, 'sombrero{0}'.format(i)))
|
||||
|
Loading…
Reference in New Issue
Block a user