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

[c++] Set overriding user-provided prefix to be off by default #3463

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

jp-dark
Copy link
Collaborator

@jp-dark jp-dark commented Dec 17, 2024

Set CMake OVERRIDE_INSTALL_PREFIX to be off by default so that the CMAKE_INSTALL_PREFIX is not overridden when building directly from CMake. The previous behavior is surprising when building libtiledbsoma directly from CMake. The behavior of the Makefile and the Bash and PowerShell bld scripts are unchanged.

Note: this primarily impacts developer experience for those developers who invoke cmake directly. No impact is expected for our CI or build systems.

It is surprising to override standard input variables. This requires the
user to actively opt-in to overriding the standard CMake behavior.
@jp-dark jp-dark requested a review from johnkerl December 17, 2024 16:32
Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.29%. Comparing base (a9c5aa4) to head (a1ac7ad).
Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3463      +/-   ##
==========================================
+ Coverage   86.24%   86.29%   +0.04%     
==========================================
  Files          55       55              
  Lines        6305     6305              
==========================================
+ Hits         5438     5441       +3     
+ Misses        867      864       -3     
Flag Coverage Δ
python 86.29% <ø> (+0.04%) ⬆️

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

Components Coverage Δ
python_api 86.29% <ø> (+0.04%) ⬆️
libtiledbsoma ∅ <ø> (∅)

@jp-dark jp-dark changed the title Set overriding user provided prefix to be off by default [c++] Set overriding user provided prefix to be off by default Dec 17, 2024
@johnkerl johnkerl changed the title [c++] Set overriding user provided prefix to be off by default [c++] Set overriding user-provided prefix to be off by default Dec 17, 2024
@jp-dark jp-dark requested a review from nguyenv December 19, 2024 19:41
@jp-dark jp-dark merged commit 0ff3f16 into main Dec 19, 2024
36 checks passed
@jp-dark jp-dark deleted the dark/override-prefix-off-by-default branch December 19, 2024 19:59
github-actions bot pushed a commit that referenced this pull request Dec 19, 2024
It is surprising to override standard input variables. This requires the
user to actively opt-in to overriding the standard CMake behavior.
johnkerl pushed a commit that referenced this pull request Dec 19, 2024
It is surprising to override standard input variables. This requires the
user to actively opt-in to overriding the standard CMake behavior.

Co-authored-by: Julia Dark <[email protected]>
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