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

Making Install Nicer and packagable. #983

Open
PeterQFR opened this issue Oct 28, 2023 · 0 comments
Open

Making Install Nicer and packagable. #983

PeterQFR opened this issue Oct 28, 2023 · 0 comments

Comments

@PeterQFR
Copy link

PeterQFR commented Oct 28, 2023

  1. Currently the install and usage of acados, and the python interface seems to works relatively seamlessly when run from the source location as long as changes are made to the $LD_LIBRARY_PATH and an additional ACADOS_SOURCE_DIR environment variable is introduced.

  2. However if acados is installled elsewhere as is normally required in a multi-package project, this can break the python interface. The interfaces are an integral part of ACADOS project, and the python interface is fragile to the location of the install directory. It seems that the ACADOS_SOURCE_DIR must point to the parent of the interfaces/ directory, and that directory is assumed to have a include and lib directory with built libraries.

  3. Additionally the python interface waits until runtime time to download required tools such as the tera_renderer via an interactive dialog. This is a problem if a new build is done in a non-interactive way common in a CD/CI environment.

  4. There are a couple of path funnys with respect to the include paths of the external dependencies. For example, the includes for the hpipm wont be installed in include/hpipm' but in 'include/hpipm/include/hpipm as an observed example.

There has been effort to try and make acados suitable for debian packaging, boschresearch#1
but I think that for the moment, the least ready part of the package is the way the python interface is handled and its dependency on relative paths to the acados install directory.

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

No branches or pull requests

1 participant