upcxx: Install the example files (#23832)
This installs the example source files into $prefix/example, for use by the E4S Testsuite and other end users. Also fixes a harmless copy/paste error.
This commit is contained in:
parent
f8c2e1fc97
commit
21fd449a03
@ -25,7 +25,7 @@ class Upcxx(Package):
|
|||||||
homepage = "https://upcxx.lbl.gov"
|
homepage = "https://upcxx.lbl.gov"
|
||||||
maintainers = ['bonachea']
|
maintainers = ['bonachea']
|
||||||
|
|
||||||
git = 'https://bonachea@bitbucket.org/berkeleylab/upcxx.git'
|
git = 'https://bitbucket.org/berkeleylab/upcxx.git'
|
||||||
version('develop', branch='develop')
|
version('develop', branch='develop')
|
||||||
version('master', branch='master')
|
version('master', branch='master')
|
||||||
|
|
||||||
@ -170,6 +170,8 @@ def install(self, spec, prefix):
|
|||||||
|
|
||||||
make('install')
|
make('install')
|
||||||
|
|
||||||
|
install_tree('example', prefix.example)
|
||||||
|
|
||||||
@run_after('install')
|
@run_after('install')
|
||||||
@on_package_attributes(run_tests=True)
|
@on_package_attributes(run_tests=True)
|
||||||
def test_install(self):
|
def test_install(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user