Skip to content

Commit

Permalink
Merge pull request #133 from go-clang/remove-symbolic-link-for-libclang
Browse files Browse the repository at this point in the history
Remove the symbolic link for libClang
  • Loading branch information
marxriedl authored Sep 18, 2016
2 parents 99f8c2a + 38783fc commit e221311
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ addons:
install:
- mkdir -p /home/travis/bin
- sudo ln -s /usr/bin/llvm-config-3.4 /home/travis/bin/llvm-config
- sudo ln -s /usr/lib/llvm-3.4/lib/libclang.so.1 /usr/lib/x86_64-linux-gnu/libclang.so
- sudo ldconfig

- llvm-config --version
Expand Down
2 changes: 0 additions & 2 deletions scripts/switch-clang-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ sudo add-apt-repository --enable-source "deb http://llvm.org/apt/${CODENAME}/ ll
sudo apt-get update

sudo rm /usr/bin/llvm-config
sudo rm /usr/lib/x86_64-linux-gnu/libclang.so
sudo apt-get install -y clang-$LLVM_VERSION libclang1-$LLVM_VERSION libclang-$LLVM_VERSION-dev llvm-$LLVM_VERSION llvm-$LLVM_VERSION-dev llvm-$LLVM_VERSION-runtime libclang-common-$LLVM_VERSION-dev
sudo ln -s /usr/bin/llvm-config-$LLVM_VERSION /usr/bin/llvm-config
sudo ln -s /usr/lib/x86_64-linux-gnu/libclang-$LLVM_VERSION.so /usr/lib/x86_64-linux-gnu/libclang.so
1 change: 0 additions & 1 deletion scripts/vagrant-bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ apt-get -V install -y clang-${LLVM_VERSION} git libclang-${LLVM_VERSION}-dev llv

# Setup LLVM and Clang
ln -s /usr/bin/llvm-config-$LLVM_VERSION /usr/bin/llvm-config
ln -s /usr/lib/x86_64-linux-gnu/libclang-$LLVM_VERSION.so /usr/lib/x86_64-linux-gnu/libclang.so

# Change the owner of the go directory. This is needed because the missing parent folders up to our synced folder are created with the user "root" instead of "vagrant".
chown -R vagrant:vagrant /home/vagrant/go

0 comments on commit e221311

Please sign in to comment.