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

halide: 18.0.0 -> 19.0.0 #375175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

twesterhout
Copy link
Contributor

@twesterhout twesterhout commented Jan 19, 2025

Updates halide and python3Packages.halide to the newest version. See upstream release notes for more info.

On the Nix side, I added two patches that fix CMake packaging issues (without them installPhase fails).

Including ${llvmPackages.clang}/resource-root/include fixes compilation issues that @FliegendeWurst was having in #371394.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@twesterhout
Copy link
Contributor Author

Added wasmSupport flag that conditionally adds wabt. Also fixed some issues with exploding runtime closure size---now it's back to ~200MB, yay.

@twesterhout
Copy link
Contributor Author

If darwin runners don't get to building the derivation until tomorrow, I can probably get access to an aarch64-darwin system locally...

Copy link
Member

@FliegendeWurst FliegendeWurst left a comment

Choose a reason for hiding this comment

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

Both regular and wasmSupport = true build for me, x64 Linux.

If you checked that the package works I can merge.

@FliegendeWurst
Copy link
Member

My understanding is that ofborg currently doesn't do Darwin. I always use the nix-community builder for testing.

@twesterhout
Copy link
Contributor Author

twesterhout commented Jan 21, 2025

Thanks @FliegendeWurst! It seems to build on aarch64-darwin as well, so I think it's ready to be merged.

@twesterhout
Copy link
Contributor Author

Yay, built on x86_64-darwin too 🥳

@twesterhout twesterhout mentioned this pull request Jan 21, 2025
13 tasks
@GaetanLepage
Copy link
Contributor

I'm seeing the following failure on darwin:

The following tests FAILED:
         30 - mullapudi2016_reorder (Failed)                    autoschedulers_cpu mullapudi2016 multithreaded
Errors while running CTest
FAILED: CMakeFiles/test.util

Are you building with the sandbox enabled ?

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one reputable person label Jan 22, 2025
@twesterhout
Copy link
Contributor Author

Here's the build log for darwin: https://github.com/twesterhout/quick-ci-experiments/actions/runs/12888827983/job/35934639711

Are you building with the sandbox enabled ?

I think so. It's the default isn't it?

Do you happen to have any more info about the failure? Just to see whether it's a legitimate failure or something weird in the test (in which case we should just disable this test).

pkgs/development/compilers/halide/default.nix Outdated Show resolved Hide resolved
pkgs/development/compilers/halide/default.nix Outdated Show resolved Hide resolved
pkgs/development/compilers/halide/default.nix Outdated Show resolved Hide resolved
pkgs/development/compilers/halide/default.nix Outdated Show resolved Hide resolved
@twesterhout
Copy link
Contributor Author

Thanks for the suggestions @natsukium! All fixed.

@GaetanLepage
Copy link
Contributor

Do you happen to have any more info about the failure? Just to see whether it's a legitimate failure or something weird in the test (in which case we should just disable this test).

Unfortunately, there doesn't seem to be any more context...

@GaetanLepage
Copy link
Contributor

@ofborg build halide, halide.tests

@GaetanLepage
Copy link
Contributor

Actually, I missed the error:

 42/724 Test  #31: mullapudi2016_reorder ......................................***Failed  Required regular expression not found. Regex=[Success!
]  3.68 sec
Autoscheduler time (2) is slower than expected:
======================
Manual time: 7.72782ms
Auto time: 17.3505ms
======================

So it looks like a flaky test because it can fail if the builder is too slow.
Maybe we should simply skip it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants