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

acado/1.2.2-beta relocatable #5557

Merged
merged 4 commits into from
May 20, 2021

Conversation

blackliner
Copy link
Contributor

Specify library name and version: acado/1.2.2-beta

Making acado relocateable.

Question: Is self.env_info.ACADO_TEMPLATE_PATHS still the correct way to have env-values set whenever this library is part of the build-tree? It is important, that all users of this library have this env-var set. I also assume this happens during execution of the generators, like cmake_find_package, and not during build or packaging of this library.


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@conan-center-bot

This comment has been minimized.

@blackliner blackliner force-pushed the acado-relocatable branch from c0c0905 to 15d8c59 Compare May 18, 2021 19:32
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@blackliner
Copy link
Contributor Author

:-(

@madebr
Copy link
Contributor

madebr commented May 18, 2021

This problem looks similar to the build problems with boost.
I mitigated those errors by adding cmake.parallel = False to its test_package.

@conan-center-bot

This comment has been minimized.

@blackliner
Copy link
Contributor Author

thanks @madebr , that did the trick 👍

madebr
madebr previously approved these changes May 19, 2021
ExportFile::setup( _fileName, _commonHeaderName, _realString, _intString, _precision, _commentString );

- folders = TEMPLATE_PATHS;
+ if(const char* template_paths = std::getenv("ACADO_TEMPLATE_PATHS"))
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you going to try to upstream this patch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the project is dead unfortunately.

Copy link
Contributor

Choose a reason for hiding this comment

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

It's the packaging into Conan that breaks the project structure, not really a bug as much as a feature from what I see

@conan-center-bot
Copy link
Collaborator

All green in build 5 (8cfd736e4f9b67853c8ba7376a05c1908185fba3):

  • acado/1.2.2-beta@:
    All packages built successfully! (All logs)

@blackliner blackliner requested a review from uilianries May 19, 2021 21:03
@conan-center-bot conan-center-bot merged commit 1d80b1a into conan-io:master May 20, 2021
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.

6 participants