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

[CMake] Replace wget with FetchContent in CMake scripts. #365

Merged
merged 4 commits into from
May 24, 2024
Merged

[CMake] Replace wget with FetchContent in CMake scripts. #365

merged 4 commits into from
May 24, 2024

Conversation

imorlxs
Copy link
Member

@imorlxs imorlxs commented Mar 15, 2024

I've replaced the usage of wget with FetchContent in the CMake files. However, I haven't removed it from the dependencies because there are still bash scripts that depend on it.

This helps reduce the dependency on wget at CMake configure time which is non-standard for OSX.

@imorlxs
Copy link
Member Author

imorlxs commented Mar 15, 2024

FetchContent doesn't have a progress bar like wget. Instead, it prints messages from 0% to 100%.

@imorlxs
Copy link
Member Author

imorlxs commented Mar 16, 2024

It appears that FetchContent creates a new folder, "_deps," with subbuild files. When the macOS workflow attempts to redownload ROOT, the script doesn't detect it. However, the "_deps" folder remains, and no download occurs. To address this issue, I've added a new line to manually delete the folder. However, I'm still looking for a way to prevent its creation in the first place.

@LukasBreitwieser LukasBreitwieser merged commit 23cd92c into BioDynaMo:master May 24, 2024
8 of 14 checks passed
@LukasBreitwieser
Copy link
Member

Thanks for your contribution @imorlxs !

UmarAbubacar pushed a commit that referenced this pull request Jun 15, 2024
* [CMake] Replace wget with FetchContent in CMake scripts.

* Remove subbuild files.

* Deleted dependecies on wget and replaced with curl, which is standard in OS X

* Revert "Deleted dependecies on wget and replaced with curl, which is standard in OS X"

This reverts commit 1be7d54.
UmarAbubacar pushed a commit that referenced this pull request Jun 15, 2024
* [CMake] Replace wget with FetchContent in CMake scripts.

* Remove subbuild files.

* Deleted dependecies on wget and replaced with curl, which is standard in OS X

* Revert "Deleted dependecies on wget and replaced with curl, which is standard in OS X"

This reverts commit 1be7d54.
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