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

Windows: update quantlib #181

Merged
merged 3 commits into from
Jan 25, 2024
Merged

Windows: update quantlib #181

merged 3 commits into from
Jan 25, 2024

Conversation

jeroen
Copy link
Contributor

@jeroen jeroen commented Jan 25, 2024

Add support for arm64 windows.
Also fixes #180

Copy link
Owner

@eddelbuettel eddelbuettel left a comment

Choose a reason for hiding this comment

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

Thanks!

config:
- {os: windows-latest, r: 'devel'}
- {os: windows-latest, r: 'release'}
- {os: windows-latest, r: 'oldrel'}
Copy link
Owner

Choose a reason for hiding this comment

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

I am not sure how much I want to bother with Windows (given that I already get it, with a slight delay, from r-universe). I feel I almost certainly do not want three versions.

But I can deal with that in a follow-up commit.

Copy link
Owner

Choose a reason for hiding this comment

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

Way slower than macOS + Linux too :-/

Copy link
Owner

Choose a reason for hiding this comment

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

I set it to r-release. May dial it down to pull_requests. Thanks though.


RWINLIB=../windows/quantlib-1.29
RWINLIB=../windows/quantlib
Copy link
Owner

Choose a reason for hiding this comment

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

Nice generalization.

} else {
"https://github.com/rwinlib/quantlib/archive/v1.29.tar.gz"
}
download.file(url, basename(url), quiet = TRUE)
Copy link
Owner

Choose a reason for hiding this comment

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

Thanks for providing 1.32. The new version (as of this week ...) is 1.33. RQuantLib builds without changes. If you have spare cycles to roll to 1.33 ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry not right now, it was already a pain to build this one.

Copy link
Owner

@eddelbuettel eddelbuettel Jan 25, 2024

Choose a reason for hiding this comment

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

I completely understand. Let's wait for the next (I think: bi-monthly) release or wait til things break. Being a release or two or three behind is far from deadly.

Really appreciate the help with the libraries on Windows.

@eddelbuettel eddelbuettel merged commit d186464 into eddelbuettel:master Jan 25, 2024
3 checks passed
@eddelbuettel
Copy link
Owner

Merged, and updated ChangeLog and NEWS. This release cycle is all you so far on macOS and Windows !!

@jeroen
Copy link
Contributor Author

jeroen commented Jan 25, 2024

Maybe try to push this to CRAN. I think they are working on windows-arm64 right now.

@eddelbuettel
Copy link
Owner

Meant to ask you about that too. So let's page @kalibera: Would an updated RQuantLib be of interest to CRAN? No open issue (besides nags from Boost about C++ standards), no new code -- but thanks to @jeroen improved builds on platforms not called Linux.

@kalibera
Copy link

I have no preference when you submit and whether just this change or not, feel free to do it the standard way when you feel it is the right time. As you know, the libraries should not be downloaded as pre-compiled, but e.g. for Windows be part of Rtools/MXE. So ideally a configuration to build QuantLib would be added to MXE, then a bugzilla request to add it also to Rtools would be issued (part of R bugzilla).

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.

QL_PACKAGE_VERSION does not exist when quantlib was built with cmake instead of autotools
3 participants