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
1 changed files with 3 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue