xgboost: make sure "libxgboost.so" is provided under prefix/lib (#10208)
This commit is contained in:
parent
309f70758b
commit
70c5088a4c
@ -20,3 +20,10 @@ def cmake_args(self):
|
||||
return [
|
||||
'-DUSE_CUDA={0}'.format('YES' if '+cuda' in self.spec else 'NO')
|
||||
]
|
||||
|
||||
def install(self, spec, prefix):
|
||||
install_tree(str(self.stage.source_path), prefix)
|
||||
# create a bin directory for executable "xgboost" which is possibly
|
||||
# used in functional testing of the compilation target "libxgboost"
|
||||
mkdirp(prefix.bin)
|
||||
install('xgboost', prefix.bin)
|
||||
|
Loading…
Reference in New Issue
Block a user