Skip to content

Add Conan Building For Development#432

Merged
RichardAH merged 71 commits intodevfrom
tmp-conan
May 14, 2025
Merged

Add Conan Building For Development#432
RichardAH merged 71 commits intodevfrom
tmp-conan

Conversation

@dangell7
Copy link
Collaborator

@dangell7 dangell7 commented Feb 1, 2025

High Level Overview of Change

Context of Change

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)
  • 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

API Impact

  • Public API: New feature (new methods and/or new fields)
  • Public API: Breaking change (in general, breaking changes should only impact the next api_version)
  • libxrpl change (any change that may affect libxrpl or dependents of libxrpl)
  • Peer protocol change (must be backward compatible or bump the peer protocol version)

@dangell7 dangell7 changed the title Conan [DO NOT MERGE] Conan Feb 11, 2025
@tequdev
Copy link
Member

tequdev commented Feb 17, 2025

It is currently working fine in my local build.

RichardAH and others added 2 commits April 16, 2025 10:29
Make it easy for projects to depend on libxrpl by adding an `ALIAS`
target named `xrpl::libxrpl` for projects to link.

The name was chosen because:

* The current library target is named `xrpl_core`. There is no other
  "non-core" library target against which we need to distinguish the
  "core" library. We only export one library target, and it should just
  be named after the project to keep things simple and predictable.
* Underscores in target or library names are generally discouraged.
* Every target exported in CMake should be prefixed with the project
  name.

By adding an `ALIAS` target, existing consumers who use the `xrpl_core`
target will not be affected.

* In the future, there can be a migration plan to make `xrpl_core` the
  `ALIAS` target (and `libxrpl` the "real" target, which will affect the
  filename of the compiled binary), and eventually remove it entirely.

Also:

* Fix the Conan recipe so that consumers using Conan import a target
  named `xrpl::libxrpl`. This way, every consumer can use the same
  instructions.
* Document the two easiest methods to depend on libxrpl. Both have been
  tested.
* See #4443.
Copy link
Member

@tequdev tequdev left a comment

Choose a reason for hiding this comment

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

We should make sure that the workflow is successful after clearing the cache once before marge.

@tequdev
Copy link
Member

tequdev commented Apr 23, 2025

Considering rippled sync, I think it is valuable to keep the workflow YML file names consistent with the rippled file names.

@dangell7
Copy link
Collaborator Author

Considering rippled sync, I think it is valuable to keep the workflow YML file names consistent with the rippled file names.

I would agree however @sublimator did some fancy stuff and were also not using hosted runners. So what if we just keep those old files and then disabled the workflow in github so theres not merge conflicts?

@sublimator
Copy link
Collaborator

sublimator commented Apr 23, 2025 via email

sublimator
sublimator previously approved these changes Apr 24, 2025
@sublimator
Copy link
Collaborator

image

These seem to be required checks that are no longer in the github workflows ?

@RichardAH
Copy link
Contributor

Is this ready now? should something else be merged first?

@tequdev
Copy link
Member

tequdev commented May 10, 2025

We should make sure that the workflow is successful after clearing the cache once before marge.

I think this is needed.

we can delete cache from here.
https://github.com/Xahau/xahaud/actions/caches

@RichardAH
Copy link
Contributor

We should make sure that the workflow is successful after clearing the cache once before marge.

I think this is needed.

we can delete cache from here. https://github.com/Xahau/xahaud/actions/caches

just deleted and added a nothing commit to force a rebuild

@RichardAH RichardAH merged commit a5ea86f into dev May 14, 2025
13 checks passed
@sublimator
Copy link
Collaborator

sublimator commented May 14, 2025 via email

sublimator pushed a commit that referenced this pull request Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Conan

4 participants