diff --git a/build/Clang-commit b/build/Clang-commit new file mode 100644 index 00000000..258dec1a --- /dev/null +++ b/build/Clang-commit @@ -0,0 +1 @@ +3457cd5516ac741fa106623d9578f5ac88593f4d \ No newline at end of file diff --git a/build/LLVM-commit b/build/LLVM-commit new file mode 100644 index 00000000..f2ad71ae --- /dev/null +++ b/build/LLVM-commit @@ -0,0 +1 @@ +0e8abfa6ed986c892ec723236e32e78fd9c47b88 \ No newline at end of file diff --git a/build/ci/vagrant/ubuntu_x64/Vagrantfile b/build/ci/vagrant/ubuntu_x64/Vagrantfile index e129912b..5c1411cd 100644 --- a/build/ci/vagrant/ubuntu_x64/Vagrantfile +++ b/build/ci/vagrant/ubuntu_x64/Vagrantfile @@ -52,8 +52,8 @@ Vagrant.configure(2) do |config| cd llvm/ - #change this hash if u need another version of Llvm - git reset --hard 0e8abfa6ed986c892ec723236e32e78fd9c47b8 + llvm_commit=`cat ../../build/LLVM-commit` + git reset --hard $llvm_commit cd tools/ @@ -61,8 +61,8 @@ Vagrant.configure(2) do |config| cd clang/ - #change this hash if u need another version of Clang - git reset --hard 3457cd5516ac741fa106623d9578f5ac88593f4d + clang_commit=`cat ../../../../build/Clang-commit` + git reset --hard $clang_commit mkcd ../../build diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md index 4cf0acbd..f38f3efd 100644 --- a/docs/GettingStarted.md +++ b/docs/GettingStarted.md @@ -20,11 +20,11 @@ Git repository urls found here: [http://llvm.org/docs/GettingStarted.html#git-mi 3. Clone Clang to `\deps\llvm\tools\clang` 4. Create directory `\deps\llvm\build` -Last revisions known to work: +Required LLVM/Clang commits: -LLVM `r230176` / Git mirror revision `0e8abfa6ed986c892ec723236e32e78fd9c47b88`. +[LLVM: see /build/LLVM-commit.](https://github.com/mono/CppSharp/tree/master/build/LLVM-commit) -Clang `r230160` / Git mirror revision `3457cd5516ac741fa106623d9578f5ac88593f4d`. +[Clang: see /build/Clang-commit.](https://github.com/mono/CppSharp/tree/master/build/Clang-commit) ## Compiling on Windows/Visual Studio