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 examining value of GENERATOR_IS_MULTI_CONFIG #1575

Conversation

DenizThatMenace
Copy link

CMake does not define a variable GENERATOR_IS_MULTI_CONFIG by default. Instead it sets a global property of that name.
In order to examine its value it first has to be retrieved and stored into a (local) variable, which is what this PR does.

fixes: #1574

CMake does not define a variable GENERATOR_IS_MULTI_CONFIG by default.
Instead it sets a global property of that name.
In order to examine its value it first has to be retrieved and stored
into a (local) variable, which is what this commit does.

fixes: zlib-ng#1574

Signed-off-by: Deniz Bahadir <deniz@code.bahadir.email>
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

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

Comparison is base (4838f0e) 83.88% compared to head (2d03d3b) 83.90%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1575      +/-   ##
===========================================
+ Coverage    83.88%   83.90%   +0.01%     
===========================================
  Files          132      132              
  Lines        10843    10843              
  Branches      2801     2801              
===========================================
+ Hits          9096     9098       +2     
+ Misses        1048     1047       -1     
+ Partials       699      698       -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% <ø> (+0.22%) ⬆️
ubuntu_clang_inflate_strict 82.49% <ø> (+0.22%) ⬆️
ubuntu_clang_mmap 82.59% <ø> (-0.23%) ⬇️
ubuntu_clang_pigz 13.96% <ø> (ø)
ubuntu_clang_pigz_no_optim 11.51% <ø> (ø)
ubuntu_clang_pigz_no_threads 13.73% <ø> (-0.06%) ⬇️
ubuntu_clang_reduced_mem 82.90% <ø> (ø)
ubuntu_clang_toolchain_riscv ∅ <ø> (∅)
ubuntu_gcc 75.23% <ø> (-0.08%) ⬇️
ubuntu_gcc_aarch64 77.40% <ø> (ø)
ubuntu_gcc_aarch64_compat_no_opt 75.64% <ø> (ø)
ubuntu_gcc_aarch64_no_acle 76.16% <ø> (ø)
ubuntu_gcc_aarch64_no_neon 76.16% <ø> (ø)
ubuntu_gcc_armhf 77.47% <ø> (ø)
ubuntu_gcc_armhf_compat_no_opt 75.62% <ø> (+0.01%) ⬆️
ubuntu_gcc_armhf_no_acle 77.42% <ø> (ø)
ubuntu_gcc_armhf_no_neon 77.32% <ø> (ø)
ubuntu_gcc_armsf 74.65% <ø> (ø)
ubuntu_gcc_armsf_compat_no_opt 74.09% <ø> (ø)
ubuntu_gcc_benchmark 73.57% <ø> (ø)
ubuntu_gcc_compat_no_opt 76.85% <ø> (+0.01%) ⬆️
ubuntu_gcc_compat_sprefix 73.57% <ø> (-0.16%) ⬇️
ubuntu_gcc_m32 73.23% <ø> (ø)
ubuntu_gcc_mingw_i686 73.50% <ø> (ø)
ubuntu_gcc_mingw_x86_64 73.51% <ø> (ø)
ubuntu_gcc_mips 74.97% <ø> (ø)
ubuntu_gcc_mips64 74.98% <ø> (ø)
ubuntu_gcc_no_avx2 74.28% <ø> (-0.06%) ⬇️
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.20% <ø> (-0.03%) ⬇️
ubuntu_gcc_pigz_aarch64 39.08% <ø> (+0.08%) ⬆️
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 2 files with indirect coverage changes

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

@Dead2 Dead2 merged commit 401aeb8 into zlib-ng:develop Sep 16, 2023
135 checks passed
@DenizThatMenace DenizThatMenace deleted the bugfix/issue-1574/Fix_retrieving_GENERATOR_IS_MULTI_CONFIG branch September 18, 2023 12:43
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CMake: Check for multi-config generator is wrong
3 participants