Skip to content

Remove unused ARCH_FLAG variable from workflow#518

Merged
ScottWillcox merged 2 commits intofeature/GRIDEDIT-1926-handling-review-commentsfrom
copilot/sub-pr-517
Jan 20, 2026
Merged

Remove unused ARCH_FLAG variable from workflow#518
ScottWillcox merged 2 commits intofeature/GRIDEDIT-1926-handling-review-commentsfrom
copilot/sub-pr-517

Conversation

Copy link
Contributor

Copilot AI commented Jan 15, 2026

Addresses feedback from #517 regarding an unused variable in the build workflow after ARM64-specific logic was removed.

Changes

  • Removed ARCH_FLAG variable initialization and reference from cmake configuration step
  • The variable became obsolete when ARM64 architecture handling was refactored but was left in place, causing confusion

The workflow now only declares and uses the SUPPRESS_PARAM_FLAG variable, which remains actively used for the macos-15-intel platform.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: ScottWillcox <54632073+ScottWillcox@users.noreply.github.com>
Copilot AI changed the title [WIP] Work in progress on optional configuration parameter changes Remove unused ARCH_FLAG variable from workflow Jan 15, 2026
Copilot AI requested a review from ScottWillcox January 15, 2026 15:04
@ScottWillcox ScottWillcox marked this pull request as ready for review January 20, 2026 10:38
@ScottWillcox ScottWillcox merged commit 850e2c1 into feature/GRIDEDIT-1926-handling-review-comments Jan 20, 2026
16 checks passed
@ScottWillcox ScottWillcox deleted the copilot/sub-pr-517 branch January 20, 2026 10:39
ScottWillcox added a commit that referenced this pull request Jan 20, 2026
…parameter (#517)

* GRIDEDIT-1926 '-Wno-unused-parameters' behind optional configuration. Only needed on MacOS15-intel runners
* Update cmake/compiler_config.cmake

Fix typo

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Remove unused ARCH_FLAG variable from workflow (#518)

* Initial plan

* Remove unused ARCH_FLAG variable

Co-authored-by: ScottWillcox <54632073+ScottWillcox@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ScottWillcox <54632073+ScottWillcox@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
ScottWillcox added a commit that referenced this pull request Feb 3, 2026
)

*NOTE*
Bypassing rules to merge. Sonarcloud rule is failing due to code coverage, this has not been changed by this PR, this is already an issue on main.
Failed conditions
 79.7% Coverage on New Code (required ≥ 80%)


* GRIDEDIT-1926 Update cmake compiler configuration to use Apple/Clang on MacOS

* GRIDEDIT-1926 Disabled CMP0175 during netcdf_static build.

produces to many log entries.

* GRIDEDIT-1926 Updating README.md file with information regarding Apple/Clang building MeshKernel on MacOS

* GRIDEDIT-1926 compiler directives and code changes required for building with Apple/Clang on MacOS

* GRIDEDIT-1926 updated github workflow configuration to build MeshKernel using Apple/Clang

* GRIDEDIT-1926 export zlib path

* GRIDEDIT-1926 echo commands to find out where the libz.1.dylib can be found

* GRIDEDIT-1926 Creating links so that the libz lib can be found.

* GRIDEDIT-1926 Explicitly constructs the UndoActionForMesh struct with designated member initialization.

* GRIDEDIT-1926 fix: Make CMake OpenMP and architecture flags conditional per runner architecture (#515)

* GRIDEDIT-1926 fix: Make CMake OpenMP and architecture flags conditional per runner architecture
* GRIDEDIT-1926 Replaced BoundingBox constructor calls with aggregate initialization
* GRIDEDIT-1926 ignore more boost directories.
* GRIDEDIT-1926 add compiler config "-Wno-unused-parameter" for boost.

* GRIDEDIT-1926 Changed point location to prevent rounding errors

Due to different platform architectures and compilers rounding errors may occur.
ARM64 vs intel resulting in different results.

* GRIDEDIT-1926 Handling review comments. Removed 'brew update'.

github action runners use upto date versions of brew.(Doing brew update can take a long time)

* GRIDEDIT-1926 '-Wno-unused-parameters' behind optional configuration parameter (#517)

* GRIDEDIT-1926 '-Wno-unused-parameters' behind optional configuration. Only needed on MacOS15-intel runners
* Update cmake/compiler_config.cmake

Fix typo

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Remove unused ARCH_FLAG variable from workflow (#518)

* Initial plan

* Remove unused ARCH_FLAG variable

Co-authored-by: ScottWillcox <54632073+ScottWillcox@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ScottWillcox <54632073+ScottWillcox@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>

* Use Boost::boost imported target in CMake configuration (#520)

* Initial plan

* Use Boost::boost imported target instead of manual include directories

Co-authored-by: ScottWillcox <54632073+ScottWillcox@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ScottWillcox <54632073+ScottWillcox@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
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