This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 188
Update Stan source to tag v2.19.0 #566
Merged
riddell-stan
merged 2 commits into
stan-dev:develop
from
riddell-stan:feature/update-stan
Mar 29, 2019
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,8 +101,8 @@ def find_version(*parts): | |
stan_include_dirs = ['pystan/stan/src', | ||
'pystan/stan/lib/stan_math/', | ||
'pystan/stan/lib/stan_math/lib/eigen_3.3.3', | ||
'pystan/stan/lib/stan_math/lib/boost_1.66.0', | ||
'pystan/stan/lib/stan_math/lib/sundials_3.1.0/include'] | ||
'pystan/stan/lib/stan_math/lib/boost_1.69.0', | ||
'pystan/stan/lib/stan_math/lib/sundials_4.1.0/include'] | ||
stan_macros = [ | ||
('BOOST_DISABLE_ASSERTS', None), | ||
('BOOST_NO_DECLTYPE', None), | ||
|
@@ -115,7 +115,7 @@ def find_version(*parts): | |
'-ftemplate-depth-256', | ||
'-Wno-unused-function', | ||
'-Wno-uninitialized', | ||
'-std=c++11', | ||
'-std=c++1y', | ||
] | ||
|
||
if platform.platform().startswith('Win'): | ||
|
@@ -125,7 +125,7 @@ def find_version(*parts): | |
extra_compile_args = [ | ||
'/EHsc', | ||
'-DBOOST_DATE_TIME_NO_LIB', | ||
'/std:c++14', | ||
'/std:c++1y', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think MSVC has c++1y implemented, so c++14 should be used. (or nothing) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We only use/support gcc on windows, right? (I'm just following cmdstan and what seemed to work on httpstan) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. This part is a bit legacy and is here if MSVC starts to work at some point. |
||
] | ||
else: | ||
# fix bug in MingW-W64 | ||
|
@@ -140,16 +140,17 @@ def find_version(*parts): | |
stanc_sources = [ | ||
"pystan/stan/src/stan/lang/ast_def.cpp", | ||
"pystan/stan/src/stan/lang/grammars/bare_type_grammar_inst.cpp", | ||
"pystan/stan/src/stan/lang/grammars/block_var_decls_grammar_inst.cpp", | ||
"pystan/stan/src/stan/lang/grammars/expression07_grammar_inst.cpp", | ||
"pystan/stan/src/stan/lang/grammars/expression_grammar_inst.cpp", | ||
"pystan/stan/src/stan/lang/grammars/functions_grammar_inst.cpp", | ||
"pystan/stan/src/stan/lang/grammars/indexes_grammar_inst.cpp", | ||
"pystan/stan/src/stan/lang/grammars/local_var_decls_grammar_inst.cpp", | ||
"pystan/stan/src/stan/lang/grammars/program_grammar_inst.cpp", | ||
"pystan/stan/src/stan/lang/grammars/semantic_actions_def.cpp", | ||
"pystan/stan/src/stan/lang/grammars/statement_2_grammar_inst.cpp", | ||
"pystan/stan/src/stan/lang/grammars/statement_grammar_inst.cpp", | ||
"pystan/stan/src/stan/lang/grammars/term_grammar_inst.cpp", | ||
"pystan/stan/src/stan/lang/grammars/var_decls_grammar_inst.cpp", | ||
"pystan/stan/src/stan/lang/grammars/whitespace_grammar_inst.cpp", | ||
] | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add
opencl
folder here tooThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we should wait to see what RStan does. Cmdstan 2.19 does not add opencl by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. We really need to test it before release.