-
Notifications
You must be signed in to change notification settings - Fork 323
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 #57 from ethz-adrl/devel
prepare release 3.0.2
- Loading branch information
Showing
708 changed files
with
3,729 additions
and
163,156 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
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,12 @@ | ||
|
||
# import interface compile definitions from ext_target as cmake option | ||
function(importInterfaceCompileDefinitionsAsOptions ext_target) | ||
|
||
get_property(_if_compile_defs TARGET ${ext_target} PROPERTY INTERFACE_COMPILE_DEFINITIONS) | ||
|
||
foreach( i ${_if_compile_defs} ) | ||
set(${i} ON PARENT_SCOPE) # mark all interface compile definitions as options | ||
message(STATUS "Importing compile definition " ${i} " as option.") | ||
endforeach() | ||
|
||
endfunction() |
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,28 @@ | ||
#!/bin/bash | ||
|
||
## get llvm | ||
yes Y | sudo apt-get install llvm | ||
|
||
## get clang | ||
# todo | ||
|
||
## install CppAD | ||
mkdir /tmp/cppadcg_deps | ||
cd /tmp/cppadcg_deps | ||
wget https://github.com/coin-or/CppAD/archive/20190200.4.tar.gz | ||
tar -xzf 20190200.4.tar.gz | ||
cd CppAD-20190200.4 | ||
mkdir build | ||
cd build | ||
cmake -Dcppad_prefix:PATH='/usr/local' .. | ||
sudo make install | ||
|
||
|
||
## install CppADCodeGen | ||
git clone https://github.com/joaoleal/CppADCodeGen.git /tmp/CppADCodeGen | ||
cd /tmp/CppADCodeGen | ||
mkdir -p build | ||
cd build | ||
cmake .. #-DLLVM_VERSION=6.0 | ||
make | ||
sudo make install |
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,20 @@ | ||
#!/bin/bash | ||
|
||
## get blasfeo 0.1.1 | ||
echo "now installing blasfeo 0.1.1 ..." | ||
cd /tmp | ||
git clone https://github.com/giaf/blasfeo.git | ||
cd /tmp/blasfeo | ||
git checkout 0.1.1 # we currently are on this release | ||
make static_library | ||
sudo make install_static | ||
|
||
## get hpipm 0.1.1 | ||
echo "now installing hpipm 0.1.1 ..." | ||
cd /tmp | ||
git clone https://github.com/giaf/hpipm.git | ||
cd /tmp/hpipm | ||
git checkout 806c845 | ||
make static_library | ||
make examples | ||
sudo make install_static |
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,8 +1,8 @@ | ||
<package> | ||
<name>ct</name> | ||
<version>3.0.1</version> | ||
<version>3.0.2</version> | ||
<description> | ||
ADRL Control Toolbox 3.0.1 | ||
ADRL Control Toolbox 3.0.2 | ||
</description> | ||
<maintainer email="[email protected]">Markus Giftthaler</maintainer> | ||
<license>BSD-2</license> | ||
|
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,63 @@ | ||
|
||
IF (CPPAD_INCLUDES AND CPPAD_LIBRARIES) | ||
SET(CPPAD_FIND_QUIETLY TRUE) | ||
ENDIF () | ||
|
||
|
||
IF(DEFINED CPPAD_HOME) | ||
|
||
FIND_PATH(CPPAD_INCLUDE_DIR NAMES cppad/cppad.hpp | ||
PATHS "${CPPAD_HOME}" | ||
NO_DEFAULT_PATH) | ||
|
||
FIND_LIBRARY(CPPAD_IPOPT_LIBRARY | ||
cppad_ipopt | ||
PATHS "${CPPAD_HOME}/lib" | ||
NO_DEFAULT_PATH) | ||
|
||
SET(CPPAD_INCLUDE_DIRS ${CPPAD_INCLUDE_DIR}) | ||
SET(CPPAD_LIBRARIES ${CPPAD_IPOPT_LIBRARY}) | ||
|
||
ELSE() | ||
|
||
FIND_PACKAGE(PkgConfig) | ||
|
||
IF( PKG_CONFIG_FOUND ) | ||
pkg_check_modules( CPPAD QUIET cppad) | ||
ENDIF() | ||
|
||
|
||
IF( NOT CPPAD_FOUND ) | ||
FIND_PATH(CPPAD_INCLUDE_DIR NAMES cppad/cppad.hpp | ||
HINTS "$ENV{CPPAD_HOME}" | ||
"/usr/include" ) | ||
|
||
FIND_LIBRARY(CPPAD_IPOPT_LIBRARY | ||
cppad_ipopt | ||
HINTS "$ENV{CPPAD_HOME}/lib" | ||
"/usr/lib" ) | ||
|
||
IF( CPPAD_INCLUDE_DIR ) | ||
SET(CPPAD_INCLUDE_DIRS ${CPPAD_INCLUDE_DIR}) | ||
ENDIF() | ||
|
||
IF( CPPAD_IPOPT_LIBRARY ) | ||
SET(CPPAD_LIBRARIES ${CPPAD_IPOPT_LIBRARY}) | ||
ENDIF() | ||
|
||
INCLUDE(FindPackageHandleStandardArgs) | ||
# handle the QUIETLY and REQUIRED arguments and set CPPAD_FOUND to TRUE | ||
# if all listed variables are TRUE | ||
find_package_handle_standard_args(CppAD DEFAULT_MSG | ||
CPPAD_INCLUDE_DIRS) | ||
|
||
MARK_AS_ADVANCED(CPPAD_INCLUDE_DIRS CPPAD_LIBRARIES) | ||
|
||
ENDIF() | ||
ENDIF() | ||
|
||
|
||
IF( CPPAD_FOUND AND NOT CPPAD_FIND_QUIETLY ) | ||
MESSAGE(STATUS "package CppAD found") | ||
ENDIF() | ||
|
Oops, something went wrong.