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

fix(test): silence duplicate -lc++ warnings on mac #10468

Merged
merged 2 commits into from
May 2, 2024

Conversation

emillon
Copy link
Collaborator

@emillon emillon commented Apr 30, 2024

When linking C++ on recent macos versions, the linker will emit a duplicate -lc++ warning which we can silence in the test suite.

When linking C++ on recent macos versions, the linker will emit a
duplicate `-lc++` warning which we can silence in the test suite.

Signed-off-by: Etienne Millon <me@emillon.org>
@emillon emillon changed the title WIP: debug c++ mac arm issue fix(test): silence duplicate -lc++ warnings on mac Apr 30, 2024
@emillon emillon marked this pull request as ready for review April 30, 2024 14:30
@emillon emillon requested a review from anmonteiro April 30, 2024 14:30
@emillon emillon mentioned this pull request Apr 30, 2024
2 tasks
@emillon emillon merged commit 1d981a0 into ocaml:main May 2, 2024
6 of 9 checks passed
@emillon emillon deleted the ci-mac-cxx branch May 2, 2024 07:27
emillon added a commit to emillon/dune that referenced this pull request May 24, 2024
When linking C++ on recent macos versions, the linker will emit a
duplicate `-lc++` warning which we can silence in the test suite.

Signed-off-by: Etienne Millon <me@emillon.org>
emillon added a commit that referenced this pull request May 24, 2024
* fix(test): silence duplicate -lc++ warnings on mac (#10468)

When linking C++ on recent macos versions, the linker will emit a
duplicate `-lc++` warning which we can silence in the test suite.

Signed-off-by: Etienne Millon <me@emillon.org>

* test: fixes to version-corruption.t (#10469)

* refactor(test): rewrite compare.sh in ocaml

This removes the external dependencies and makes intent clearer.
The count changes because it was counting the numbers of characters
differing in the hexdump instead of a byte count.

Signed-off-by: Etienne Millon <me@emillon.org>

* fix(test): disable version-corruption.t on mac

When codesigning triggers, the binary layout is completely changed to
it's not meaningful to count the number of changed bytes

Signed-off-by: Etienne Millon <me@emillon.org>

---------

Signed-off-by: Etienne Millon <me@emillon.org>

* ci: run build on macOS x86_64 again (#10481)

Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>

* test: fix truncate on macOS (#10361)

Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>

---------

Signed-off-by: Etienne Millon <me@emillon.org>
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
Co-authored-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
Co-authored-by: Thomas Gazagnaire <thomas@gazagnaire.org>
anmonteiro pushed a commit to anmonteiro/dune that referenced this pull request Nov 17, 2024
When linking C++ on recent macos versions, the linker will emit a
duplicate `-lc++` warning which we can silence in the test suite.

Signed-off-by: Etienne Millon <me@emillon.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants