Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build for macos #292

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Conversation

greenscientist
Copy link
Contributor

@greenscientist greenscientist commented Apr 30, 2024

The homebrew location for boost have changed, it's not in the default search path anymore.

We add the BOOST_CPPFLAGS to our CPPFLAGS
and we update all extra autoconf macro to have the latest update, which search boost in /opt/homebrew
(the update to ax_cxx_compile is also include while at it)

Also remove an old comment that should have been removed before in the build workflow

@greenscientist greenscientist force-pushed the fixmacosbuild branch 3 times, most recently from 6e59bdd to 833747d Compare April 30, 2024 14:55
@greenscientist greenscientist changed the title Test build for macos Fix build for macos Apr 30, 2024
Copy link
Collaborator

@tahini tahini left a comment

Choose a reason for hiding this comment

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

Je vais laisser @kaligrafy tester pour voir si ça fonctionne aussi sur sa machine.

Par contre, on voit beaucoup de changements dans les fichiers m4, j'imagine que tu n'as pas manuellement fait chacun de ces changements? Si non, serait-il possible de dire dans le commit message comment ils ont été générés?

@greenscientist
Copy link
Contributor Author

@tahini , J'ai ajouté une mention dans le commit message pour redire que les fichiers sont syncé de l'autoconf-archive.

Copy link
Collaborator

@kaligrafy kaligrafy left a comment

Choose a reason for hiding this comment

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

Please remove this from the readme, since it is no longer needed:

On ARM mac with boost installed by homebrew:
CPPFLAGS=-I/opt/homebrew/include/ ./configure --with-boost-libdir="/opt/homebrew/lib/"
make

The homebrew location for boost have changed, it's not in the default search path anymore.

We add the BOOST_CPPFLAGS to our CPPFLAGS
and we update all extra autoconf macro to have the latest update from the autoconf-archive.
The boost packages are updated to search boost in /opt/homebrew
(the update to ax_cxx_compile for C++20 is also included while at it)

Also remove an old comment that should have been removed before in the build workflow
@greenscientist greenscientist merged commit 88c3b58 into chairemobilite:v2c Apr 30, 2024
5 checks passed
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.

3 participants