-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master: get_eigen.sh: Advance to newer verison of eigen.
- Loading branch information
Showing
7 changed files
with
60 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later | ||
# SPDX-FileCopyrightText: Bradley M. Bell <[email protected]> | ||
# SPDX-FileContributor: 2003-22 Bradley M. Bell | ||
# SPDX-FileContributor: 2003-24 Bradley M. Bell | ||
# ---------------------------------------------------------------------------- | ||
# {xrst_begin get_eigen.sh} | ||
# {xrst_comment_ch #} | ||
|
@@ -38,7 +38,9 @@ | |
# This will install the following version of Eigen | ||
# {xrst_spell_off} | ||
# {xrst_code sh} | ||
version='3.3.7' | ||
# This was the mater version on 2024-03-24 | ||
# 'a39ade4ccf99df845ec85c580fbbb324f71952fa' | ||
version='a39ade4' | ||
# {xrst_code} | ||
# {xrst_spell_on} | ||
# | ||
|
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,7 +1,7 @@ | ||
#! /usr/bin/env bash | ||
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later | ||
# SPDX-FileCopyrightText: Bradley M. Bell <[email protected]> | ||
# SPDX-FileContributor: 2003-23 Bradley M. Bell | ||
# SPDX-FileContributor: 2003-24 Bradley M. Bell | ||
# ---------------------------------------------------------------------------- | ||
set -e -u | ||
if [ ! -e "bin/run_cmake.sh" ] | ||
|
@@ -74,7 +74,7 @@ usage: bin/run_cmake.sh: \\ | |
[--<package>_vector] \\ | ||
[--debug_<which>] | ||
The --help option just prints this message and exits. | ||
The value <package> above must be one of: cppad, boost, or eigen. | ||
The value <package> above must be one of: cppad, boost, eigen, or std. | ||
The value <which> must be one of: odd, even, all, none. | ||
The value <type> must be one of: size_t, int, unsigned_int | ||
|
@@ -210,8 +210,17 @@ EOF | |
done | ||
if [ "$standard" == 'c++11' ] | ||
then | ||
# Scacdo will not build with c++11 | ||
yes_sacado='no' | ||
# Scacdo and eigen cannot be used with c++11 | ||
if [ "$yes_eigen" == 'yes' ] | ||
then | ||
echo 'Cannot use eigen with c++11' | ||
exit 1 | ||
fi | ||
if [ "$yes_sacado" == 'yes' ] | ||
then | ||
echo 'Cannot use sacado with c++11' | ||
exit 1 | ||
fi | ||
fi | ||
# --------------------------------------------------------------------------- | ||
if [ ! -e build ] | ||
|
@@ -353,8 +362,8 @@ then | |
cppad_cxx_flags="$cppad_cxx_flags -O0" | ||
elif [ "$callgrind" == 'yes' ] | ||
then | ||
# This is a quote from the Callgrind manual: | ||
# 'As with Cachegrind, you probably want to compile with debugging info | ||
# This is a quote from the Callgrind manual: | ||
# 'As with Cachegrind, you probably want to compile with debugging info | ||
# (the -g option) and with optimization turned on.' | ||
cmake_args="$cmake_args -g" | ||
fi | ||
|
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,9 +1,14 @@ | ||
{xrst_comment: This template file has the following parameters: | ||
{xrst_comment | ||
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later | ||
# SPDX-FileCopyrightText: Bradley M. Bell <[email protected]> | ||
# SPDX-FileContributor: 2024 Bradley M. Bell | ||
|
||
This template file has the following parameters: | ||
@Name@ : is the name of this threading system | ||
@####@ : is the underlining for the name of the threading system | ||
@DEFAULT@ : is macro a macro name. If it is 1 (0), | ||
@DEFAULT@ : is macro a macro name. If it is 1 (0), | ||
the ADFun default ctor is used (is not used) | ||
@Dir@ : is the subdirectory of multi_thread that contins the source code | ||
@Dir@ : is the subdirectory of multi_thread that contins the source code | ||
for this get_started.cpp | ||
} | ||
|
||
|
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