Skip to content

opencv 4.6.0 with related migrations to jpeg-turbo, python@3.10, and ffmpeg#107250

Closed
cho-m wants to merge 11 commits intoHomebrew:masterfrom
cho-m:vtk-jpegturbo-python310
Closed

opencv 4.6.0 with related migrations to jpeg-turbo, python@3.10, and ffmpeg#107250
cho-m wants to merge 11 commits intoHomebrew:masterfrom
cho-m:vtk-jpegturbo-python310

Conversation

@cho-m
Copy link
Copy Markdown
Member

@cho-m cho-m commented Aug 3, 2022

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

Migrations for vtk, opencv, gdal, mapserver, mlt, ffms2, visp, mapnik

@cho-m cho-m added do not merge in progress Stale bot should stay away labels Aug 3, 2022
@cho-m cho-m changed the title Vtk jpegturbo python310 vtk: migrate to jpeg-turbo and python@3.10 Aug 3, 2022
@BrewTestBot BrewTestBot added the python Python use is a significant feature of the PR or issue label Aug 3, 2022
@cho-m cho-m changed the title vtk: migrate to jpeg-turbo and python@3.10 vtk, opencv, gdal: migrate to jpeg-turbo and python@3.10 Aug 3, 2022
@cho-m

This comment was marked as resolved.

@cho-m cho-m changed the title vtk, opencv, gdal: migrate to jpeg-turbo and python@3.10 vtk, opencv, gdal, mapserver: migrate to jpeg-turbo and python@3.10 Aug 3, 2022
@cho-m cho-m force-pushed the vtk-jpegturbo-python310 branch from 2eddfe3 to 8995269 Compare August 4, 2022 09:07
@BrewTestBot BrewTestBot added the automerge-skip `brew pr-automerge` will skip this pull request label Aug 4, 2022
Comment on lines 59 to 81
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Remaining directories:

carotene cpufeatures ippicv ittnotify libtengine libtim-vx openvx quirc
include/opencl
include/vulkan

Some aren't used (like cpufeatures is Android-only) and Vulkan is disabled by default. Others aren't formulae like Intel libraries.

@cho-m cho-m force-pushed the vtk-jpegturbo-python310 branch from 8995269 to cfdd1fd Compare August 4, 2022 10:39
@cho-m cho-m added long build Set a long timeout for formula testing and removed do not merge labels Aug 4, 2022
@cho-m cho-m changed the title vtk, opencv, gdal, mapserver: migrate to jpeg-turbo and python@3.10 opencv 4.6.0 with related migrations to jpeg-turbo, python@3.10, and ffmpeg Aug 6, 2022
@cho-m cho-m added the revision bumps needed Reverse dependencies need to have their revision incremented in the same PR label Aug 6, 2022
@cho-m

This comment was marked as resolved.

@cho-m cho-m mentioned this pull request Aug 8, 2022
6 tasks
@cho-m cho-m added the CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. label Aug 8, 2022
@cho-m cho-m force-pushed the vtk-jpegturbo-python310 branch from cfdd1fd to 481851d Compare August 8, 2022 18:05
@cho-m cho-m mentioned this pull request Aug 8, 2022
6 tasks
Formula/mlt.rb Outdated
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think this is related to mltframework/mlt#810

@cho-m cho-m added the CI-long-timeout [DEPRECATED] Use longer GitHub Actions CI timeout. label Aug 14, 2022
@cho-m cho-m force-pushed the vtk-jpegturbo-python310 branch from 25acf9f to 1bdb314 Compare August 14, 2022 19:15
Comment on lines +138 to 143
# Ref: https://github.com/opencv/opencv/wiki/CPU-optimizations-build-options
ENV.runtime_cpu_detection
if Hardware::CPU.intel? && build.bottle?
cpu_baseline = MacOS.version.requires_sse42? ? "SSE4_2" : "SSSE3"
args += %W[-DCPU_BASELINE=#{cpu_baseline} -DCPU_BASELINE_REQUIRE=#{cpu_baseline}]
end
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think for non-bottle builds, it should:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This might need adjusting for source builds, then, since ENV.runtime_cpu_detection will skip passing any -march flags.

Copy link
Copy Markdown
Member Author

@cho-m cho-m Aug 15, 2022

Choose a reason for hiding this comment

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

In that case, Linux install will probably be similar between bottles and source build as SSE3 is default baseline which should give same result as SSSE3.

There is a CPU_BASELINE=NATIVE which I didn't see any documentation on but may provide a more tuned variant for host system.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm ok to set CPU_BASELINE=NATIVE if we're not building bottles as long as it doesn't lead to dependent weirdness as with the Facebook formulae.

@cho-m cho-m mentioned this pull request Aug 14, 2022
6 tasks
@cho-m cho-m added the no long build conflict Do not allow merging other pull requests when files conflict with this one label Aug 14, 2022
@cho-m cho-m force-pushed the vtk-jpegturbo-python310 branch from 107f404 to 0f186bd Compare August 15, 2022 01:50
carlocab
carlocab previously approved these changes Aug 15, 2022
@carlocab carlocab removed the CI-long-timeout [DEPRECATED] Use longer GitHub Actions CI timeout. label Aug 15, 2022
carlocab
carlocab previously approved these changes Aug 15, 2022
Copy link
Copy Markdown
Member

@carlocab carlocab left a comment

Choose a reason for hiding this comment

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

Only audit failures for mlt.

@BrewTestBot
Copy link
Copy Markdown
Contributor

:shipit: @carlocab has triggered a merge.

@BrewTestBot
Copy link
Copy Markdown
Contributor

⚠️ @carlocab bottle publish failed.

@BrewTestBot BrewTestBot dismissed stale reviews from carlocab and carlocab August 15, 2022 11:39

bottle publish failed

Copy link
Copy Markdown
Member

@carlocab carlocab left a comment

Choose a reason for hiding this comment

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

Forgot to pass --no-autosquash.

@BrewTestBot
Copy link
Copy Markdown
Contributor

:shipit: @carlocab has triggered a merge.

@cho-m cho-m deleted the vtk-jpegturbo-python310 branch August 15, 2022 15:29
@github-actions github-actions bot added the outdated PR was locked due to age label Sep 15, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge-skip `brew pr-automerge` will skip this pull request checksum mismatch SHA-256 doesn't match the download CI-linux-self-hosted Build on Linux self-hosted runner CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. long build Set a long timeout for formula testing no long build conflict Do not allow merging other pull requests when files conflict with this one outdated PR was locked due to age python Python use is a significant feature of the PR or issue python-3.10-migration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants