Skip to content

Cmake: Accept custom install dirs in various formats from command line.#885

Merged
Dead2 merged 1 commit intodevelopfrom
detect-install-dirs
Mar 18, 2021
Merged

Cmake: Accept custom install dirs in various formats from command line.#885
Dead2 merged 1 commit intodevelopfrom
detect-install-dirs

Conversation

@Dead2
Copy link
Copy Markdown
Member

@Dead2 Dead2 commented Mar 17, 2021

Add capability for letting command-line parameters of various formats override the installation directories.

This also removes the now unused MAN_INSTALL_DIR.

Fixes #881

@Dead2 Dead2 requested a review from nmoinvaz March 17, 2021 19:05
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 17, 2021

Codecov Report

Merging #885 (0169971) into develop (b22bc51) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #885   +/-   ##
========================================
  Coverage    75.43%   75.43%           
========================================
  Files           73       73           
  Lines         8220     8220           
  Branches      1357     1358    +1     
========================================
  Hits          6201     6201           
  Misses        1494     1494           
  Partials       525      525           
Flag Coverage Δ
macos_clang 68.73% <ø> (ø)
macos_gcc 67.76% <ø> (ø)
ubuntu_clang 68.92% <ø> (ø)
ubuntu_clang_debug 68.36% <ø> (ø)
ubuntu_clang_inflate_allow_invalid_dist 68.91% <ø> (ø)
ubuntu_clang_inflate_strict 69.17% <ø> (ø)
ubuntu_clang_mmap 68.92% <ø> (ø)
ubuntu_clang_msan 69.17% <ø> (ø)
ubuntu_gcc 69.85% <ø> (ø)
ubuntu_gcc_aarch64 70.07% <ø> (ø)
ubuntu_gcc_aarch64_compat_no_opt 67.78% <ø> (ø)
ubuntu_gcc_aarch64_no_acle 68.30% <ø> (ø)
ubuntu_gcc_aarch64_no_neon 67.99% <ø> (ø)
ubuntu_gcc_armhf 70.49% <ø> (ø)
ubuntu_gcc_armhf_compat_no_opt 67.77% <ø> (ø)
ubuntu_gcc_armhf_no_acle 69.54% <ø> (ø)
ubuntu_gcc_armhf_no_neon 69.86% <ø> (ø)
ubuntu_gcc_armsf 70.48% <ø> (ø)
ubuntu_gcc_armsf_compat_no_opt 67.77% <ø> (ø)
ubuntu_gcc_compat_no_opt 69.14% <ø> (ø)
ubuntu_gcc_mingw_i686 0.00% <ø> (ø)
ubuntu_gcc_mingw_x86_64 0.00% <ø> (ø)
ubuntu_gcc_no_avx2 69.41% <ø> (ø)
ubuntu_gcc_no_pclmulqdq 66.52% <ø> (ø)
ubuntu_gcc_no_sse2 67.77% <ø> (ø)
ubuntu_gcc_no_sse4 66.52% <ø> (ø)
ubuntu_gcc_o3 69.12% <ø> (ø)
ubuntu_gcc_osb 70.67% <ø> (ø)
ubuntu_gcc_ppc 70.91% <ø> (ø)
ubuntu_gcc_ppc64 70.08% <ø> (ø)
ubuntu_gcc_ppc64le 69.06% <ø> (ø)
ubuntu_gcc_s390x 68.27% <ø> (ø)
ubuntu_gcc_sparc64 70.79% <ø> (ø)
win64_gcc 73.02% <ø> (ø)
win64_gcc_compat_no_opt 74.46% <ø> (ø)

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


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b22bc51...0169971. Read the comment docs.

@Dead2 Dead2 force-pushed the detect-install-dirs branch from 1f03b95 to 0169971 Compare March 17, 2021 19:26
@gdevenyi
Copy link
Copy Markdown
Contributor

Should this be documented somewhere in addition to the code changes? (which methods are supported?)

Comment thread cmake/detect-install-dirs.cmake
@nmoinvaz
Copy link
Copy Markdown
Member

I'm not a Linux package wizard, but I only noted one thing - otherwise I see nothing obvious.

@Dead2
Copy link
Copy Markdown
Member Author

Dead2 commented Mar 18, 2021

@gdevenyi I guess it should. Perhaps on the wiki?

@Dead2 Dead2 merged commit 03051a0 into develop Mar 18, 2021
@Dead2 Dead2 deleted the detect-install-dirs branch March 23, 2021 17:40
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.

Please don't hard-code LIB_INSTALL_DIR

3 participants