Don't do git command on lib dir, and add latest clangs.

This commit is contained in:
Rene Rivera 2018-05-14 23:07:07 -05:00
parent d7bad38b5d
commit 7c0c1f2cb0
2 changed files with 10 additions and 9 deletions

View File

@ -61,10 +61,13 @@ matrix:
- env: TOOLSET=clang-3.7
- env: TOOLSET=clang-3.8
- env: TOOLSET=clang-3.9
- env: TOOLSET=clang-4.0 CXXFLAGS=-std=c++03
- env: TOOLSET=clang-4.0 CXXFLAGS=-std=c++11
- env: TOOLSET=clang-4.0 CXXFLAGS=-std=c++14
- env: TOOLSET=clang-4.0 CXXFLAGS=-std=c++1z
- env: TOOLSET=clang-4.0
- env: TOOLSET=clang-5.0
- env: TOOLSET=clang-6.0 CXXFLAGS=-std=c++03
- env: TOOLSET=clang-6.0 CXXFLAGS=-std=c++11
- env: TOOLSET=clang-6.0 CXXFLAGS=-std=c++14
- env: TOOLSET=clang-6.0 CXXFLAGS=-std=c++17
- env: TOOLSET=clang-6.0 CXXFLAGS=-std=c++2a
- env: TOOLSET=gcc-4.7
- env: TOOLSET=gcc-4.8
- env: TOOLSET=gcc-4.9

View File

@ -92,11 +92,9 @@ class script(script_common):
self.repo_dir = os.path.join(self.boost_root,self.repo_path)
if self.repo != 'boost':
utils.check_call("git","submodule","update","--quiet","--init",self.repo_path)
if self.commit:
# Copy in the existing library tree checkout.
os.rmdir(self.repo_path)
shutil.copytree(self.root_dir, self.repo_path)
# Copy in the existing library tree checkout.
os.rmdir(self.repo_path)
shutil.copytree(self.root_dir, self.repo_path)
# Fetch the dependencies for the library we are testing.
if self.repo != 'boost':