File: install_libcxx.sh

package info (click to toggle)
cpptoml 0.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 500 kB
  • sloc: cpp: 2,994; sh: 15; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 495 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
set -v
cwd=$(pwd)

LLVM_TAG="${LLVM_TAG:-RELEASE_381}"

svn co --quiet http://llvm.org/svn/llvm-project/llvm/tags/$LLVM_TAG/final llvm

cd llvm/projects
svn co --quiet http://llvm.org/svn/llvm-project/libcxx/tags/$LLVM_TAG/final libcxx
svn co --quiet http://llvm.org/svn/llvm-project/libcxxabi/tags/$LLVM_TAG/final libcxxabi
cd ../

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME ../
make cxx
make install-libcxx install-libcxxabi

cd $cwd
set +v