Skip to content

Commit

Permalink
llvmbuild/main.py: Let LibraryDependencies.inc deterministic.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
chapuni committed Dec 20, 2012
1 parent 00f8102 commit da5cd6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/llvm-build/llvmbuild/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ def visit_component_info(ci, current_stack, current_set):
# 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())

Expand Down

0 comments on commit da5cd6a

Please sign in to comment.