forked from microsoft/AirSim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some retry logic to ensure all parameters are fetched in the getP…
…aramList method. Minor corrections to Linux build instructions.
- Loading branch information
1 parent
1f2c5ff
commit 26ab718
Showing
5 changed files
with
127 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,8 @@ bld/ | |
[Oo]bj/ | ||
Intermediate/ | ||
Binaries/ | ||
llvm-build/ | ||
llvm-source/ | ||
|
||
# CMake files | ||
CMakeFiles/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#! /bin/bash | ||
|
||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
cd "$SCRIPT_DIR" | ||
|
||
# add llvm-source to root of AirSim | ||
cd .. | ||
|
||
# Checkout LLVM sources | ||
git clone --depth=1 https://github.com/llvm-mirror/llvm.git llvm-source | ||
git clone --depth=1 https://github.com/llvm-mirror/libcxx.git llvm-source/projects/libcxx | ||
git clone --depth=1 https://github.com/llvm-mirror/libcxxabi.git llvm-source/projects/libcxxabi | ||
|
||
export C_COMPILER=clang | ||
export COMPILER=clang++ | ||
|
||
# Build and install libc++ | ||
mkdir llvm-build && cd llvm-build | ||
cmake -DCMAKE_C_COMPILER=${C_COMPILER} -DCMAKE_CXX_COMPILER=${COMPILER} \ | ||
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr \ | ||
../llvm-source | ||
make cxx | ||
sudo make install-cxxabi install-cxx | ||
|
||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters