Skip to content

Commit

Permalink
Pass the SVN Revision number to the compiler to be used in the clang …
Browse files Browse the repository at this point in the history
…version string

llvm-svn: 263489
  • Loading branch information
mschifer committed Mar 14, 2016
1 parent a9e74cc commit ac499e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/jenkins/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
# CHECK-SIMPLE: '-DCMAKE_INSTALL_PREFIX
# CHECK-SIMPLE: '-DLLVM_ENABLE_PIC=On'
# CHECK-SIMPLE: '-DLLVM_REPOSITORY=/foo/workspace/llvm.src'
# CHECK-SIMPLE: '-DCLANG_APPEND_VC_REV=On'
# CHECK-SIMPLE: '-DSVN_REVISION=1234'
# CHECK-SIMPLE: '-DLLVM_BUILD_TESTS=On'
# CHECK-SIMPLE: '-DLLVM_INCLUDE_TESTS=On'
Expand Down
2 changes: 2 additions & 0 deletions zorg/jenkins/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ def clang_builder(target):
'-DCMAKE_INSTALL_PREFIX={}'.format(install_prefix),
'-DLLVM_ENABLE_PIC=On',
'-DLLVM_REPOSITORY={}'.format(conf._svn_url),
'-DCLANG_REPOSITORY_STRING={}'.format(conf.branch()),
'-DCLANG_APPEND_VC_REV=On',
'-DSVN_REVISION={}'.format(conf.svn_rev),
'-DLLVM_BUILD_TESTS=On',
'-DLLVM_INCLUDE_TESTS=On',
Expand Down

0 comments on commit ac499e9

Please sign in to comment.