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

Run clang-tidy on macOS runners instead of Linux #7746

Merged
merged 4 commits into from
Aug 4, 2023
Merged

Conversation

steven-johnson
Copy link
Contributor

The current macOS runners have twice the RAM and more CPU power.

Also, drive-by change to allow specifying the parallelism that the run-clang-tidy script should use (defaults to nproc)

The current macOS runners have twice the RAM and more CPU power.

Also, drive-by change to allow specifying the parallelism that the run-clang-tidy script should use (defaults to nproc)
@steven-johnson steven-johnson changed the title Run clang-tidy on macOS runners instead of LInux Run clang-tidy on macOS runners instead of Linux Aug 4, 2023
@steven-johnson
Copy link
Contributor Author

(Ignore the change in Generator.cpp, it's just there to trigger the check, will be reverted)

@steven-johnson steven-johnson merged commit 87087f1 into main Aug 4, 2023
3 checks passed
@steven-johnson steven-johnson deleted the srj/clang-tidy branch August 4, 2023 23:36
@steven-johnson steven-johnson restored the srj/clang-tidy branch August 4, 2023 23:37
steven-johnson added a commit that referenced this pull request Aug 7, 2023
steven-johnson added a commit that referenced this pull request Aug 7, 2023
steven-johnson added a commit that referenced this pull request Aug 28, 2023
Recent changes in the GHA runners for macOS don't play well with clang-tidy; rather than sink any more time into debugging it, I'm going to revert the relevant parts of #7746 so that it runs on the less-finicky Linux runners instead.
steven-johnson added a commit that referenced this pull request Aug 29, 2023
* Move clang-tidy checks back to Linux

Recent changes in the GHA runners for macOS don't play well with clang-tidy; rather than sink any more time into debugging it, I'm going to revert the relevant parts of #7746 so that it runs on the less-finicky Linux runners instead.

* bogus

* Update Generator.cpp

* Update Generator.cpp
TH3CHARLie added a commit that referenced this pull request Nov 6, 2023
…trip in JIT compilation and fix serialization leaks (#7763)

* add back JIT testing, enclosed in #ifdef blocks

* fix typo

* nits

* WITH_SERIALIZATION_JIT->WITH_SERIALIZATION_JIT_ROUNDTRIP_TESTING

* fix self-reference leaks: now uses weak function ptr in reverse function mappings

* Move clang-tidy checks back to Linux

Recent changes in the GHA runners for macOS don't play well with clang-tidy; rather than sink any more time into debugging it, I'm going to revert the relevant parts of #7746 so that it runs on the less-finicky Linux runners instead.

* bogus

* Update Generator.cpp

* Update Generator.cpp

* call copy_to_host before serializing buffers

* throw an error if we serialize on-device buffer

* Skip specialize_to_gpu

* Update Pipeline.cpp

* Skip two more tests

* use serialize to memory during jit testing

* makefile update

* makefile fix

* skip the tutorial if flatc is not there

* fix

* fix signature

* fix makefile

* trigger buildbot

---------

Co-authored-by: Steven Johnson <[email protected]>
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
* Run clang-tidy on macOS runners instead of LInux

The current macOS runners have twice the RAM and more CPU power.

Also, drive-by change to allow specifying the parallelism that the run-clang-tidy script should use (defaults to nproc)

* Update Generator.cpp

* Update run-clang-tidy.sh

* Update run-clang-tidy.sh
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
* Move clang-tidy checks back to Linux

Recent changes in the GHA runners for macOS don't play well with clang-tidy; rather than sink any more time into debugging it, I'm going to revert the relevant parts of halide#7746 so that it runs on the less-finicky Linux runners instead.

* bogus

* Update Generator.cpp

* Update Generator.cpp
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
…trip in JIT compilation and fix serialization leaks (halide#7763)

* add back JIT testing, enclosed in #ifdef blocks

* fix typo

* nits

* WITH_SERIALIZATION_JIT->WITH_SERIALIZATION_JIT_ROUNDTRIP_TESTING

* fix self-reference leaks: now uses weak function ptr in reverse function mappings

* Move clang-tidy checks back to Linux

Recent changes in the GHA runners for macOS don't play well with clang-tidy; rather than sink any more time into debugging it, I'm going to revert the relevant parts of halide#7746 so that it runs on the less-finicky Linux runners instead.

* bogus

* Update Generator.cpp

* Update Generator.cpp

* call copy_to_host before serializing buffers

* throw an error if we serialize on-device buffer

* Skip specialize_to_gpu

* Update Pipeline.cpp

* Skip two more tests

* use serialize to memory during jit testing

* makefile update

* makefile fix

* skip the tutorial if flatc is not there

* fix

* fix signature

* fix makefile

* trigger buildbot

---------

Co-authored-by: Steven Johnson <[email protected]>
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.

2 participants