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

Remote cellar Mac #5686

Merged
merged 6 commits into from
Oct 8, 2024
Merged

Conversation

RensDofferhoff
Copy link
Contributor

Changes:

  1. adds a remote cellar for rpkgs to jasp module compilation.
  2. add cellar creation script
  3. add auto download on cmake run

Notes: not yet active on Windows

I disabled it on windows for now because strange things still happen there.
But this way we can get around blavaan issue on mac.

See the cellars here
https://static.jasp-stats.org/development/cellars/

@@ -0,0 +1,93 @@
#!/usr/bin/env python3
Copy link
Contributor

Choose a reason for hiding this comment

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

so I get this was perhaps easier to write, but this could also just be an R script that uses libarchive? jaspTools already uses an R interface to libarchive, for example.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What would be the advantage?

Copy link
Contributor

Choose a reason for hiding this comment

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

Then python doesnt become a builddep, although given that buildbot already runs its hardly a problem

#this handles the cellar download.
if(R_PKG_CELLAR_DOWNLOAD_REMOTE AND R_PKG_CELLAR_PATH STREQUAL "${CMAKE_SOURCE_DIR}/cellar/" AND NOT EXISTS "${CMAKE_SOURCE_DIR}/cellar/")
#set appropriate default remote if needed
if(R_PKG_CELLAR_REMOTE STREQUAL "")
Copy link
Contributor

Choose a reason for hiding this comment

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

So yeah, would be nice at a later stage if there is some more IDing of the the cellar downloads.
Something with hashes or so.

@JorisGoosen JorisGoosen merged commit d8b988b into jasp-stats:development Oct 8, 2024
1 check 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