Skip to content

Consider alternative unxip implementation #63

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

amazon-q-developer[bot]
Copy link

This pull request introduces performance improvements for Xcode installation by integrating the unxip library. Key changes include:

  1. Integration of the unxip library (https://github.com/saagarjha/unxip) to replace the native xip extraction tool, offering significantly faster XIP file extraction
  2. Version bump to 0.11.0
  3. Updated documentation to reflect the performance improvements
  4. Refactored installation process to use the new extraction method
  5. Updated test cases to accommodate the new extraction implementation

The main goal of this change is to improve the performance of Xcode installation by using a more efficient XIP extraction method while maintaining the same functionality.

Replace system xip command with unxip library for significantly improved Xcode extraction performance. Updates tests and documentation to reflect the new implementation.
Copy link
Author

Resolves #16

Copy link
Author

To provide feedback, navigate to the Files changed tab and leave comments on the proposed code changes. Choose Start review for each comment, and then choose Request changes, and I'll propose revised changes.

Copy link
Author

⏳ I'm reviewing this pull request for security vulnerabilities and code quality issues. I'll provide an update when I'm done

Copy link
Author

✅ I finished the code review, and didn't find any security or code quality issues.

Copy link
Author

amazon-q-developer bot commented May 15, 2025

✅ I updated this pull request based on the pipeline log.

Add platform-specific handling for XIP extraction - use unxip library on macOS
for better performance, fall back to command-line xip tool on other platforms.
Improves cross-platform compatibility while maintaining performance benefits
where available.
Copy link
Author

amazon-q-developer bot commented May 15, 2025

✅ I updated this pull request based on the pipeline log.

Replace platform condition syntax with preprocessor directives for macOS-specific dependencies
Copy link
Author

amazon-q-developer bot commented May 15, 2025

✅ I updated this pull request based on the pipeline log.

Split dependencies into base and platform-specific groups to improve maintainability and readability. Use conditional compilation to handle macOS-specific dependencies.
Copy link
Owner

@sebsto sebsto left a comment

Choose a reason for hiding this comment

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

Use conditional compilation to make the test works on Linux and skip the implementation on macos. Iterate until both build works and unit test pass

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.

1 participant