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:
Dan Bonachea 2021-05-21 14:51:46 -04:00 committed by GitHub
parent f8c2e1fc97
commit 21fd449a03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ class Upcxx(Package):
homepage = "https://upcxx.lbl.gov"
maintainers = ['bonachea']
git = 'https://bonachea@bitbucket.org/berkeleylab/upcxx.git'
git = 'https://bitbucket.org/berkeleylab/upcxx.git'
version('develop', branch='develop')
version('master', branch='master')
@ -170,6 +170,8 @@ def install(self, spec, prefix):
make('install')
install_tree('example', prefix.example)
@run_after('install')
@on_package_attributes(run_tests=True)
def test_install(self):