-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from NASA-Tensegrity-Robotics-Toolkit/setup_re…
…factor Setup refactor
- Loading branch information
Showing
11 changed files
with
250 additions
and
147 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
env | ||
build | ||
conf/install.conf | ||
conf/*.conf | ||
src/DoxyDocs | ||
src/examples/learningSpines/TetraSpine/logs |
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
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,46 @@ | ||
#!/bin/bash | ||
|
||
# Copyright © 2012, United States Government, as represented by the | ||
# Administrator of the National Aeronautics and Space Administration. | ||
# All rights reserved. | ||
# | ||
# The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed | ||
# under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
# either express or implied. See the License for the specific language | ||
# governing permissions and limitations under the License. | ||
|
||
# Purpose: Define configuration directives for setup_boost.sh. | ||
# Date: 2014-08-18 | ||
# Usage: Copy/rename this file to '../boost.conf' and run setup.sh | ||
|
||
# @see scripts/setup_boost.sh for more info | ||
|
||
# Boost installation prefix | ||
# Global install: /usr/local (default), env install: "$ENV_DIR" | ||
# If you've already installed the package under this prefix, this is the | ||
# only thing you'll need to set. | ||
BOOST_INSTALL_PREFIX="$INSTALL_PREFIX" | ||
|
||
# Location where bullet is to be built if necessary, or where it was built if | ||
# you're using an existing package. This doesn't need to be set unless boost is | ||
# not already installed. | ||
BOOST_BUILD_DIR="$env_dir/build/boost_1_53_0" | ||
|
||
# This is the location where you unzipped the package (or, where it will | ||
# be unzipped if necessary). | ||
BOOST_PACKAGE_DIR="$BOOST_BUILD_DIR" | ||
|
||
# BOOST_URL can be either a web address or a local file address, | ||
# e.g. http://url.com/for/boost.tgz or file:///path/to/boost.tgz | ||
BOOST_URL="http://sourceforge.net/projects/boost/files/boost/1.53.0/boost_1_53_0.tar.gz" | ||
|
||
# Set the expected SHA1 hash for this package's download. | ||
# Note: Hashes are only checked if a SHA1 sum utility is specified in general.conf | ||
BOOST_SHA1="0e4ef26cc7780c6bbc63987ef2f29be920e2395b" |
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,47 @@ | ||
#!/bin/bash | ||
|
||
# Copyright © 2012, United States Government, as represented by the | ||
# Administrator of the National Aeronautics and Space Administration. | ||
# All rights reserved. | ||
# | ||
# The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed | ||
# under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
# either express or implied. See the License for the specific language | ||
# governing permissions and limitations under the License. | ||
|
||
# Purpose: Define configuration directives for setup_bullet.sh. | ||
# Date: 2014-08-18 | ||
# Usage: Copy/rename this file to '../bullet.conf' and run setup.sh | ||
|
||
# @see scripts/setup_bullet.sh for more info. | ||
|
||
# Bullet installation prefix | ||
# Global install: /usr/local, env install: "$env_dir" | ||
# By default, setup will download and install bullet under your env directory. | ||
# If you have an existing bullet install, you should change | ||
# BULLET_INSTALL_PREFIX to what was used for installation (likely /usr/local). | ||
BULLET_INSTALL_PREFIX="$env_dir" | ||
|
||
# Location where bullet is to be built, or where it was built if you're using | ||
# an existing package. | ||
BULLET_BUILD_DIR="$env_dir/build/bullet-2.82-r2704" | ||
|
||
# This is the location where you unzipped the package (or, where it will be | ||
# unzipped if required). This will be the same as the build dir unless you did | ||
# an out-of-source build (not common for bullet). | ||
BULLET_PACKAGE_DIR="$BULLET_BUILD_DIR" | ||
|
||
# BULLET_URL can be either a web address or a local file address, | ||
# e.g. 'http://url.com/for/bullet.tgz' or 'file:///path/to/bullet.tgz' | ||
BULLET_URL="http://bullet.googlecode.com/files/bullet-2.82-r2704.tgz" | ||
|
||
# Set the expected SHA1 hash for this package's download. | ||
# Note: Hashes are only checked if a SHA1 sum utility is specified in general.conf | ||
BULLET_SHA1="a0867257b9b18e9829bbeb4c6c5872a5b29d1d33" |
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,52 @@ | ||
#!/bin/bash | ||
|
||
# Copyright © 2012, United States Government, as represented by the | ||
# Administrator of the National Aeronautics and Space Administration. | ||
# All rights reserved. | ||
# | ||
# The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed | ||
# under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, | ||
# either express or implied. See the License for the specific language | ||
# governing permissions and limitations under the License. | ||
|
||
# Purpose: Define general configuration directives for setup | ||
# Date: 2014-08-18 | ||
# Usage: Copy/rename this file to '../general.conf' and run setup.sh | ||
|
||
############################################# | ||
# Script Initialization -- do not edit. | ||
if [[ -z "$base_dir" ]]; then | ||
echo "general.conf : base_dir must be set before sourcing this file." | ||
exit 1 | ||
fi | ||
env_name='env' | ||
env_dir="$base_dir/$env_name" | ||
downloads_dir="$env_dir/downloads" | ||
bin_dir="$env_dir/bin" | ||
build_dir="$env_dir/build" | ||
############################################# | ||
|
||
############################################# | ||
# Configuration -- edit below as needed. | ||
############################################# | ||
|
||
# Uncomment this to use installations that are available to the whole system. | ||
# NOTE: By default, setup installs bullet under env rather than $INSTALL_PREFIX | ||
#INSTALL_PREFIX="/usr/local" | ||
|
||
# Uncomment this to install locally (under env/include and env/lib) | ||
# IMPORTANT: If you've previously installed to /usr/local, you'll need to | ||
# delete your 'env' directory before running setup again. | ||
INSTALL_PREFIX="$env_dir" | ||
|
||
# Set the path (or executable name if it's in your path) for the utility | ||
# to use for SHA1 summing. To disable download integrity verification | ||
# simply set the variable to an empty string. | ||
SHA1SUM_UTILITY="sha1sum" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.