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
[CI] Reduce required dependencies on macOS builds #33087
Comments
Antoine Pitrou / @pitrou: |
Antoine Pitrou / @pitrou: |
Jacob Wujciak / @assignUser: If you turn on timestamps you can see that what takes the time is extracting the archives (e.g. llvm ~1.5G) not downloading them, so caching the |
Jacob Wujciak / @assignUser: |
Antoine Pitrou / @pitrou: |
Antoine Pitrou / @pitrou: |
Jacob Wujciak / @assignUser: |
Jacob Wujciak / @assignUser: |
Antoine Pitrou / @pitrou: @kou Do you know why we decided to use Homebrew for dependencies on macOS? |
I have checked in detail and each of the bigger dependecies (aws, llvm, boost) take 2-3 minutes to "pour", so ok speeds I would say. Just over all a lot but still nothing Isee the cache really speeding up. The timeout is set to 60 minutes so we could just raise that limit if it is not applicable for the current build complexity (or as you said remove features). The build should already be using all 3 available cores. |
Antoine Pitrou / @pitrou: Do you want to take this @assignUser? |
Kouhei Sutou / @kou:
Because Homebrew is one of major package managers that are used by macOS users. We should use an environment similar to the one that is used by users for CI to find bugs before we release. Anyway, I'm OK with disabling some features for PR. |
Jin Shang / @js8544: EDIT: :llvm@13 seems to only include the clang compiler. So to save build time we have to use llvm@14 for Gandiva and clang-format. |
Antoine Pitrou / @pitrou: |
Kouhei Sutou / @kou: Let's try one of the preinstalled LLVMs. If we upgrade our clang-format version to 14 from 12, we can use
If we don't want to change our required clang-format version, we need to change |
Kouhei Sutou / @kou: |
Our macOS CI builds on Github Actions usually take at least 10 minutes installing dependencies from Homebrew (because of compiling from source?). It would be nice to cache those, especially as they probably don't change often.
Reporter: Antoine Pitrou / @pitrou
Assignee: Jin Shang / @js8544
Related issues:
PRs and other links:
Note: This issue was originally created as ARROW-17872. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: