X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Ftools%2Fbcp%2Fadd_path.cpp;h=669fc92e771bd0c9eb91f1dbf4bd783858e1ee78;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=2f74677c00b5b442105cc30b9a04372d1cb5acd0;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/tools/bcp/add_path.cpp b/ceph/src/boost/tools/bcp/add_path.cpp index 2f74677c0..669fc92e7 100644 --- a/ceph/src/boost/tools/bcp/add_path.cpp +++ b/ceph/src/boost/tools/bcp/add_path.cpp @@ -75,7 +75,7 @@ void bcp_implementation::add_directory(const fs::path& p) if(!m_dependencies.count(np)) { m_dependencies[np] = p; // set up dependency tree - add_path(np); + add_pending_path(np); } ++i; } @@ -181,7 +181,7 @@ void bcp_implementation::add_file(const fs::path& p) if(!m_dependencies.count(dep)) { m_dependencies[dep] = p; // set up dependency tree - add_path(dep); + add_pending_path(dep); } } ++i; @@ -193,6 +193,12 @@ void bcp_implementation::add_file(const fs::path& p) // static const std::pair specials[] = { + std::pair("tools/build/src/kernel/modules.jam", "libs/predef/check"), + std::pair("tools/build/src/kernel/modules.jam", "libs/predef/tools"), + std::pair("tools/build/src/kernel/modules.jam", "tools/boost_install/boost-install.jam"), + std::pair("tools/build/src/kernel/modules.jam", "tools/boost_install/boost-install-dirs.jam"), + std::pair("tools/build/src/kernel/modules.jam", "tools/boost_install/Jamfile"), + std::pair("tools/build/src/kernel/modules.jam", "libs/headers"), std::pair("libs/test/build/Jamfile.v2", "libs/timer/src"), std::pair("libs/test/build/Jamfile.v2", "libs/timer/build"), std::pair("boost/atomic/capabilities.hpp", "boost/atomic/detail"), @@ -228,10 +234,12 @@ static const std::pair std::pair("boost/config.hpp", "boost/config"), std::pair("tools/build/boost-build.jam", "libs/config/checks"), std::pair("tools/build/boost-build.jam", "libs/config/test"), - std::pair("tools/build/boost-build.jam", "Jamrules"), - std::pair("tools/build/boost-build.jam", "project-root.jam"), + std::pair("tools/build/boost-build.jam", "libs/headers/build"), + std::pair("tools/build/boost-build.jam", "tools/boost_install/BoostConfig.cmake"), + std::pair("tools/build/boost-build.jam", "tools/boost_install/BoostDetectToolset.cmake"), + std::pair("tools/build/boost-build.jam", "tools/boost_install/boost-install.jam"), + std::pair("tools/build/boost-build.jam", "tools/boost_install/boost-install-dirs.jam"), std::pair("tools/build/boost-build.jam", "boost-build.jam"), - std::pair("tools/build/boost-build.jam", "Jamfile.v2"), std::pair("tools/build/boost-build.jam", "boostcpp.jam"), std::pair("tools/build/boost-build.jam", "bootstrap.bat"), std::pair("tools/build/boost-build.jam", "bootstrap.sh"), @@ -259,6 +267,8 @@ static const std::pair std::pair("libs/graph/src/python/visitor.hpp", "libs/graph/src/python"), std::pair("boost/test/detail/config.hpp", "libs/test/src"), std::pair("boost/test/detail/config.hpp", "libs/test/build"), + std::pair("boost/test/detail/config.hpp", "libs/predef/build.jam"), + std::pair("boost/test/detail/config.hpp", "libs/predef/check"), std::pair("boost/typeof.hpp", "boost/typeof/incr_registration_group.hpp"), std::pair("boost/function_types/detail/pp_loop.hpp", "boost/function_types/detail/pp_cc_loop"), std::pair("boost/function_types/components.hpp", "boost/function_types/detail/components_impl"), @@ -269,6 +279,10 @@ static const std::pair std::pair("boost/preprocessor/slot/counter.hpp", "boost/preprocessor/slot/detail/counter.hpp"), std::pair("boost/graph/distributed/detail/tag_allocator.hpp", "libs/graph_parallel"), std::pair("boost/graph/distributed/mpi_process_group.hpp", "libs/graph_parallel"), + std::pair("libs/coroutine/build/Jamfile.v2", "libs/context/src"), + std::pair("libs/coroutine/build/Jamfile.v2", "libs/context/build"), + std::pair("libs/fiber/build/Jamfile.v2", "libs/context/src"), + std::pair("libs/fiber/build/Jamfile.v2", "libs/context/build"), }; for(unsigned int n = 0; n < (sizeof(specials)/sizeof(specials[0])); ++n) @@ -278,7 +292,7 @@ static const std::pair if(!m_dependencies.count(specials[n].second)) { m_dependencies[specials[n].second] = p; // set up dependency tree - add_path(specials[n].second); + add_pending_path(specials[n].second); } } } @@ -331,7 +345,7 @@ void bcp_implementation::add_file_dependencies(const fs::path& p, bool scanfile) if(!m_dependencies.count(p.branch_path() / include_file)) { m_dependencies[p.branch_path() / include_file] = p; - add_path(p.branch_path() / include_file); + add_pending_path(p.branch_path() / include_file); } } else if(fs::exists(m_boost_path / include_file)) @@ -339,7 +353,7 @@ void bcp_implementation::add_file_dependencies(const fs::path& p, bool scanfile) if(!m_dependencies.count(include_file)) { m_dependencies[include_file] = p; - add_path(include_file); + add_pending_path(include_file); } } ++i; @@ -381,7 +395,7 @@ void bcp_implementation::add_file_dependencies(const fs::path& p, bool scanfile) if(!m_dependencies.count(p.branch_path() / include_file)) { m_dependencies[p.branch_path() / include_file] = p; - add_path(p.branch_path() / include_file); + add_pending_path(p.branch_path() / include_file); } } else if(fs::exists(m_boost_path / include_file)) @@ -389,7 +403,7 @@ void bcp_implementation::add_file_dependencies(const fs::path& p, bool scanfile) if(!m_dependencies.count(include_file)) { m_dependencies[include_file] = p; - add_path(include_file); + add_pending_path(include_file); } } else