diff options
| author | Martin Nowack <m.nowack@imperial.ac.uk> | 2022-03-25 22:57:31 +0000 |
|---|---|---|
| committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2022-03-30 12:18:59 +0100 |
| commit | 818275b7249250780ddd5ed021cae64288514270 (patch) | |
| tree | 9ed884e1db33bb33ce992dc6afeaff75ee85f81b /scripts/build/p-libcxx-osx.inc | |
| parent | 71c1c45fe266d73e307f422f09f2afdc41c70ec3 (diff) | |
| download | klee-818275b7249250780ddd5ed021cae64288514270.tar.gz | |
Add support to `sudo` if necessary
Instead if executing system-relevant changes directly, use `sudo` on Ubuntu-based machines. Simplifies the installation procedure.
Diffstat (limited to 'scripts/build/p-libcxx-osx.inc')
| -rw-r--r-- | scripts/build/p-libcxx-osx.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/p-libcxx-osx.inc b/scripts/build/p-libcxx-osx.inc index c53ac37f..d112fff2 100644 --- a/scripts/build/p-libcxx-osx.inc +++ b/scripts/build/p-libcxx-osx.inc @@ -3,5 +3,7 @@ install_build_dependencies_libcxx() { set +e brew upgrade python # upgrade to Python 3 set -e - pip3 install wllvm + pip3 install --user wllvm + base_path="$(python3 -m site --user-base)" + export PATH="$PATH:${base_path}/bin" } \ No newline at end of file |
