8000 BUILD.md: ensure build_type and CMAKE_BUILD_TYPE match by intelliot · Pull Request #5274 · XRPLF/rippled · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

BUILD.md: ensure build_type and CMAKE_BUILD_TYPE match #5274

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

Merged
merged 6 commits into from
Feb 13, 2025

Conversation

intelliot
Copy link
Collaborator

High Level Overview of Change

Running these will result in an error:

conan install .. --output-folder . --build missing --settings build_type=Debug

cmake -DCMAKE_TOOLCHAIN_FILE:FILEPATH=build/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release -Dxrpld=ON -Dtests=ON ..

cmake --build .

The build instructions provided 2 conan install lines with different build_type settings, but the "obvious" cmake line used only 1 of them.

Context of Change

In addition to me, I have seen at least 2 other engineers run into this exact same error.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Performance (increase or change in throughput and/or latency)
  • Tests (you added tests for code that already exists, or your new feature included in this PR)
  • Documentation update
  • Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
  • Release

Copy link
codecov bot commented Feb 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.2%. Comparing base (b02b8d0) to head (5e7bf2b).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop   #5274     +/-   ##
=========================================
- Coverage     78.2%   78.2%   -0.0%     
=========================================
  Files          790     790             
  Lines        67639   67638      -1     
  Branches      8162    8163      +1     
=========================================
- Hits         52866   52863      -3     
- Misses       14773   14775      +2     

see 5 files with indirect coverage changes

Impacted file tree graph

intelliot and others added 2 commits February 4, 2025 12:46
Co-authored-by: Ed Hennis <ed@ripple.com>
intelliot and others added 2 commits February 12, 2025 14:34
@intelliot intelliot added Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required. Documentation README changes, code comments, etc. labels Feb 12, 2025
@bthomee bthomee merged commit e8e7888 into develop Feb 13, 2025
24 checks passed
@bthomee bthomee deleted the build-clarification branch February 13, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation README changes, code comments, etc. Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0