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

Build system discussion #3

Open
koonpeng opened this issue Feb 8, 2022 · 0 comments
Open

Build system discussion #3

koonpeng opened this issue Feb 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@koonpeng
Copy link
Collaborator

koonpeng commented Feb 8, 2022

The current build system is a mess with a mix of cmake, premake and several nvidia build tools.

cmake wraps nvidia build tools which in turn wraps premake (along side other tools depending on the host/target platforms). Some limitations of the current system.

  • nvidia tools lack documentations
  • hardcoded build directory
    • not exactly hardcoded, but changing them require understanding nvidia's build tools
  • does not support installing

The main limitation we need to solve in order to release this is to make it support installation and packaging for omniverse.

  • Should we write custom scripts to perform installation or attempt to build this using cmake to make use of cmake install targets?
    • If we go the cmake route, how should we handle fetching of dependencies?
  • How should we package this so that it can find the ignition libraries? Note that we also need to set this up so that they do not use the system's ignition libs, as this requires custom build of ignition with pre cxx11 abi.
    • Static link those libraries
    • set rpath to find those libraries
    • make a launcher script which sets LD_LIBRARY_PATH (this is the approach the nvidia sample connector uses)
    • How about windows/mac support?
@koonpeng koonpeng added the enhancement New feature or request label Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant