mirror of
https://github.com/boostorg/check_build.git
synced 2025-05-09 15:14:03 +00:00
Link to libpython, because Boost.Python doesn't
This commit is contained in:
parent
cba3cb65ae
commit
d5a0752790
25
test/Jamfile
25
test/Jamfile
@ -75,24 +75,17 @@ path-constant ROOT : ../../.. ;
|
||||
for local lib in $(all-libraries)
|
||||
{
|
||||
local path = [ NORMALIZE_PATH /$(ROOT)/libs/$(lib)/build ] ;
|
||||
local project = [ project.load $(path) ] ;
|
||||
local pt = [ project.target $(project) ] ;
|
||||
local mt = [ $(pt).main-target stage ] ;
|
||||
|
||||
if $(mt)
|
||||
{
|
||||
generate library-$(lib) : $(path)//stage : <generating-rule>@alias-sources-impl ;
|
||||
}
|
||||
else
|
||||
{
|
||||
.info "library-$(lib):" ;
|
||||
.info " (no stage target, using '$(path)')" ;
|
||||
|
||||
alias library-$(lib) : $(path) ;
|
||||
}
|
||||
generate library-$(lib) : $(path)//stage : <generating-rule>@alias-sources-impl ;
|
||||
}
|
||||
|
||||
for local lib in $(all-libraries)
|
||||
{
|
||||
run main.cpp : : : [ ac.check-library library-$(lib) : <library>library-$(lib) : <build>no ] : $(lib) ;
|
||||
local python-dep ;
|
||||
|
||||
if $(lib) in python mpi graph_parallel
|
||||
{
|
||||
python-dep = /python//python ;
|
||||
}
|
||||
|
||||
run main.cpp : : : [ ac.check-library library-$(lib) : <library>library-$(lib) <library>$(python-dep) : <build>no ] : $(lib) ;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user