Skip to content

Address issue #612 by including an if-condition in model/Makefile#613

Merged
tdcwilliams merged 1 commit intomasterfrom
hotfix612_compile_error_boost
Sep 30, 2022
Merged

Address issue #612 by including an if-condition in model/Makefile#613
tdcwilliams merged 1 commit intomasterfrom
hotfix612_compile_error_boost

Conversation

@einola
Copy link
Copy Markdown
Member

@einola einola commented Sep 30, 2022

The if-condition chooses to use either -isystem or -I, depending on the value of $BOOST_DIR. This is sub-optimal, but works. We should investigate better the use of -isystem.

See issue #612

The if-condition chooses to use either -isystem or -I, depending on the
value of $BOOST_DIR. This is sub-optimal, but works. We should
investigate better the use of -isystem.
@einola einola requested a review from tdcwilliams September 30, 2022 07:19
Copy link
Copy Markdown
Contributor

@tdcwilliams tdcwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't quite remember what problem the -isystem was solving; I think sometimes the compiler/makefile was trying to compile 3rd party libraries (like the netcdf libraries) if they were too new/old or something like that, which would generally fail.
Maybe there is another way to do this though

@tdcwilliams tdcwilliams merged commit 869ad24 into master Sep 30, 2022
@einola einola deleted the hotfix612_compile_error_boost branch October 3, 2022 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants