diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-12-20 10:35:18 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-12-20 10:35:18 +0000 |
commit | da5cd6a180f8174685aaa3fc0b92e171ec032f4c (patch) | |
tree | 32665fdbc29586e090dafd43c1336b9e172d8b43 /utils/llvm-build | |
parent | 00f8102758316cf754668b98c748c2a349f37966 (diff) | |
download | external_llvm-da5cd6a180f8174685aaa3fc0b92e171ec032f4c.zip external_llvm-da5cd6a180f8174685aaa3fc0b92e171ec032f4c.tar.gz external_llvm-da5cd6a180f8174685aaa3fc0b92e171ec032f4c.tar.bz2 |
llvmbuild/main.py: Let LibraryDependencies.inc deterministic.
FYI, llvm and clang can be built deterministically between stage 2 and stage3, among iterative clean rebuilds, with GNU ar;
configure --disable-timestamps
make AR.Flags=crsD RANLIB=echo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/llvm-build')
-rw-r--r-- | utils/llvm-build/llvmbuild/main.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/llvm-build/llvmbuild/main.py b/utils/llvm-build/llvmbuild/main.py index 27d23d0..32d5395 100644 --- a/utils/llvm-build/llvmbuild/main.py +++ b/utils/llvm-build/llvmbuild/main.py @@ -182,7 +182,9 @@ class LLVMProjectInfo(object): # out easily. If we don't, we should special case the check. self.ordered_component_infos = [] - components_to_visit = set(self.component_infos) + components_to_visit = sorted( + set(self.component_infos), + key = lambda c: c.name) while components_to_visit: visit_component_info(iter(components_to_visit).next(), [], set()) |