Skip to content

chore: Cleanup build process and remove unnecessary files#440

Merged
Ilia-Kosenkov merged 2 commits intoextendr:mainfrom
albersonmiranda:clean-up-build
May 1, 2025
Merged

chore: Cleanup build process and remove unnecessary files#440
Ilia-Kosenkov merged 2 commits intoextendr:mainfrom
albersonmiranda:clean-up-build

Conversation

@albersonmiranda
Copy link
Contributor

@albersonmiranda albersonmiranda commented May 1, 2025

This PR improves cleanup after build process by:

  1. removing Makevars(.win) after building $(SHLIB) and rust_clean steps;
  2. ensuring VENDOR_DIR is removed during clean step, which is called before and/or after $(SHLIB) and rust_clean steps, depending on how R CMD INSTALL is defined. (e.g., MAKEFLAGS="-j2" R CMD INSTALL --clean --preclean . will run clean step before and after make all meaning VENDOR_DIR is remove before and after build process.

@Ilia-Kosenkov Ilia-Kosenkov merged commit 5059127 into extendr:main May 1, 2025
19 checks passed
@albersonmiranda albersonmiranda deleted the clean-up-build branch May 1, 2025 20:59
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