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

Use autoconf to generate Makevars at install time #787

Merged
merged 4 commits into from
Dec 17, 2024

Conversation

quinn-r88
Copy link
Contributor

This PR adds a new configure script to the package, which will generate Makevar files when the package is installed. The configure script is generated by GNU autoconf from configure.ac, and must be regenerated by the developer when configure.ac is modified.

This PR also adds a cleanup script, which R will use to remove the files that configure will generate.

Resolves #786

References:

@Jean-Romain
Copy link
Collaborator

Jean-Romain commented Nov 18, 2024

The PR is failing on windows. I know the error, I got it in another package and I remember I had a lot of trouble figuring out how to fix it. Sadly I do not remember the procedure.

@quinn-r88
Copy link
Contributor Author

hmmmmm. I don't have super convenient access to a windows cpu to debug this. How can I find the logs for these runs?

@Jean-Romain
Copy link
Collaborator

Me neither

https://github.com/r-lidar/lidR/actions/runs/11802549228/job/33612239436?pr=787

@Jean-Romain
Copy link
Collaborator

@quinn-r88
Copy link
Contributor Author

quinn-r88 commented Dec 16, 2024

jeez, how silly. Thanks for finding that fix! Rebased, give it a look when you can please

@quinn-r88 quinn-r88 reopened this Dec 16, 2024
@Jean-Romain Jean-Romain merged commit 68fd26c into r-lidar:master Dec 17, 2024
10 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.

Cannot install lidR on R 3.6.3 due to cpp 14+ requirements
2 participants