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

Don't run test intrinsic code with native flag in CMake. #1578

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

nmoinvaz
Copy link
Member

Native flag should already determine what code will run on the architecture. This appears to have just been an extra run check with limited benefits. Any compiler that compiles code not available on the native platform is buggy and not our problem.

@nmoinvaz nmoinvaz added cleanup Improving maintainability or removing code. Build Env labels Sep 17, 2023
@nmoinvaz nmoinvaz changed the title Don't run intrinsic code with native flag in CMake. Don't run test intrinsic code with native flag in CMake. Sep 17, 2023
Native flag should already determine what code will run on the architecture.
This appears to have just been an extra run check with limited benefits. Any
compiler that compiles code not available on the native platform is buggy and
not our problem.
@codecov
Copy link

codecov bot commented Sep 17, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.05% 🎉

Comparison is base (3eb7cd2) 83.87% compared to head (feb8cbf) 83.93%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1578      +/-   ##
===========================================
+ Coverage    83.87%   83.93%   +0.05%     
===========================================
  Files          133      133              
  Lines        10880    10880              
  Branches      2805     2805              
===========================================
+ Hits          9126     9132       +6     
+ Misses        1052     1047       -5     
+ Partials       702      701       -1     
Flag Coverage Δ
macos_clang 42.97% <ø> (ø)
macos_gcc 73.61% <ø> (ø)
ubuntu_clang 82.50% <ø> (ø)
ubuntu_clang_debug 82.14% <ø> (ø)
ubuntu_clang_inflate_allow_invalid_dist 82.15% <ø> (ø)
ubuntu_clang_inflate_strict 82.49% <ø> (ø)
ubuntu_clang_mmap 82.82% <ø> (ø)
ubuntu_clang_pigz 13.96% <ø> (ø)
ubuntu_clang_pigz_no_optim 11.51% <ø> (ø)
ubuntu_clang_pigz_no_threads 13.78% <ø> (+0.05%) ⬆️
ubuntu_clang_reduced_mem 82.67% <ø> (-0.23%) ⬇️
ubuntu_clang_toolchain_riscv ∅ <ø> (∅)
ubuntu_gcc 75.30% <ø> (ø)
ubuntu_gcc_aarch64 77.40% <ø> (ø)
ubuntu_gcc_aarch64_compat_no_opt 75.65% <ø> (ø)
ubuntu_gcc_aarch64_no_acle 76.17% <ø> (ø)
ubuntu_gcc_aarch64_no_neon 76.16% <ø> (ø)
ubuntu_gcc_armhf 77.17% <ø> (ø)
ubuntu_gcc_armhf_compat_no_opt 75.62% <ø> (ø)
ubuntu_gcc_armhf_no_acle 77.12% <ø> (ø)
ubuntu_gcc_armhf_no_neon 77.25% <ø> (ø)
ubuntu_gcc_armsf 74.60% <ø> (ø)
ubuntu_gcc_armsf_compat_no_opt 74.09% <ø> (ø)
ubuntu_gcc_benchmark 73.57% <ø> (ø)
ubuntu_gcc_compat_no_opt 76.85% <ø> (ø)
ubuntu_gcc_compat_sprefix 73.57% <ø> (ø)
ubuntu_gcc_m32 73.23% <ø> (ø)
ubuntu_gcc_mingw_i686 73.66% <ø> (+0.15%) ⬆️
ubuntu_gcc_mingw_x86_64 73.52% <ø> (ø)
ubuntu_gcc_mips 74.97% <ø> (ø)
ubuntu_gcc_mips64 74.98% <ø> (ø)
ubuntu_gcc_no_avx2 74.28% <ø> (ø)
ubuntu_gcc_no_ctz 74.65% <ø> (ø)
ubuntu_gcc_no_ctzll 74.64% <ø> (ø)
ubuntu_gcc_no_pclmulqdq 74.28% <ø> (ø)
ubuntu_gcc_no_sse2 74.54% <ø> (ø)
ubuntu_gcc_no_sse42 74.73% <ø> (ø)
ubuntu_gcc_o1 74.18% <ø> (ø)
ubuntu_gcc_osb ∅ <ø> (∅)
ubuntu_gcc_pigz 38.15% <ø> (ø)
ubuntu_gcc_pigz_aarch64 39.04% <ø> (+0.02%) ⬆️
ubuntu_gcc_ppc 73.92% <ø> (ø)
ubuntu_gcc_ppc64 74.36% <ø> (ø)
ubuntu_gcc_ppc64_power9 74.53% <ø> (ø)
ubuntu_gcc_ppc64le 74.43% <ø> (ø)
ubuntu_gcc_ppc64le_novsx 74.75% <ø> (ø)
ubuntu_gcc_ppc64le_power9 74.31% <ø> (ø)
ubuntu_gcc_ppc_no_power8 74.63% <ø> (ø)
ubuntu_gcc_s390x 74.80% <ø> (ø)
ubuntu_gcc_s390x_dfltcc 71.92% <ø> (ø)
ubuntu_gcc_s390x_dfltcc_compat 73.98% <ø> (ø)
ubuntu_gcc_s390x_no_crc32 74.59% <ø> (ø)
ubuntu_gcc_sparc64 74.79% <ø> (ø)
ubuntu_gcc_sprefix 73.24% <ø> (ø)
win64_gcc 73.95% <ø> (ø)
win64_gcc_compat_no_opt 74.71% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@Dead2 Dead2 left a comment

Choose a reason for hiding this comment

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

👍

@Dead2 Dead2 merged commit 31497b5 into zlib-ng:develop Sep 19, 2023
135 checks passed
@Dead2 Dead2 mentioned this pull request Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Env cleanup Improving maintainability or removing code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants