-
Notifications
You must be signed in to change notification settings - Fork 993
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
[feature request] SystemPackageTool platform support #5026
Comments
You would need to pass to the
Or, does it make sense to have the Does it work for all the system packager tools (appending the arch to the package name like ...you know that system packages are something we don't feel comfortable with, that's the only reason for so many questions 😸 |
I know,
I think yes, since is the same pattern for all packages that we have used with
Right! If not specified, the behavior should be the same as now.
No ... APT uses the suffix :, YUM uses ., pacman uses the prefix lib-. No idea about Chocolatey
Yes, they are compatible. I think your question Does it work for all the system packager tools make me think again. We can implement this feature, but we will need to check which package manager we are using. This is not different from what we have done for our packages, most of the time we just copy that pattern from one recipe to another. |
So the Probably the cleanest implementation would be to pass the |
Yes, it sounds better, since we can detect cross-building situation.
Right, as we have done for MSBuild helper. Do you think this feature makes sense? |
- Each package manages has a specific prefix/suffix to deal with architectures. - Some package managers (e.g brew) do not provide multi-arch support, only an universal option. Signed-off-by: Uilian Ries <uilianries@gmail.com>
- Validate yum and apt when installing x86 Signed-off-by: Uilian Ries <uilianries@gmail.com>
- Add new section explaning about setting parameter Signed-off-by: Uilian Ries <uilianries@gmail.com>
- User is able to specify prefix/suffix according the arch Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Co-Authored-By: Javier G. Sogo <jgsogo@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
* #5026 Detect package prefix name by settings - Each package manages has a specific prefix/suffix to deal with architectures. - Some package managers (e.g brew) do not provide multi-arch support, only an universal option. Signed-off-by: Uilian Ries <uilianries@gmail.com> * #5026 Validate SystemPackageTool with settings - Validate yum and apt when installing x86 Signed-off-by: Uilian Ries <uilianries@gmail.com> * #5026 Support custom platform - User is able to specify prefix/suffix according the arch Signed-off-by: Uilian Ries <uilianries@gmail.com> * #5026 Remove useless code Signed-off-by: Uilian Ries <uilianries@gmail.com> * #5026 Rename methods for package name Signed-off-by: Uilian Ries <uilianries@gmail.com> * #5026 Use conanfile for SystemPackageTool Signed-off-by: Uilian Ries <uilianries@gmail.com> * #5026 Validate output instance Co-Authored-By: Javier G. Sogo <jgsogo@gmail.com> * #5026 Fix bad indented block Signed-off-by: Uilian Ries <uilianries@gmail.com>
* Update SystemPackageTool conan-io/conan#5026 - Add new section explaning about setting parameter Signed-off-by: Uilian Ries <uilianries@gmail.com> * Use ConanFile when creating SystemPackageTool Signed-off-by: Uilian Ries <uilianries@gmail.com>
* conan new template (#1286) * conan new template * added template description * fix code-block * Add detected_os description (#1276) * Add detected_os description Signed-off-by: Uilian Ries <uilianries@gmail.com> * Update reference/tools.rst Co-Authored-By: Javier G. Sogo <jgsogo@gmail.com> * workpsace yaml list (#1288) * Adding docs from host-specific proxies (#1241) * document QNX Neutrino support (#1290) * - document QNX Neutrino support Signed-off-by: SSE4 <tomskside@gmail.com> * Update integrations/qnx_neutrino.rst Co-Authored-By: Daniel <danimanzaneque@gmail.com> * - update settings.yml Signed-off-by: SSE4 <tomskside@gmail.com> * change default for CMake build_helper (#1292) * add docs about pre/post_package_info (#1293) * Add an example of removing system requirements via a wildcard (#1294) * Add notes about new config global variables CONAN_RETRY and CONAN_RETRY_WAIT (#1295) * fixed commands help update (Tried linux) * updated conan new --file docs * Deprecated -p in conan upload (#1300) * Add documentation for tools.to_android_abi (#1102) * Added missing bits of docs for Android flags (#1301) * update help messages according to conan/#4896 (#1285) * cascade policy (#1296) * Purge 'export-pkg' reference docs (#1232) * purge 'export-pkg' reference docs * package folder * write a couple of examples! * change workspace by working folder * typos related to formatting * minor fix * Feature/commands help update (#1299) * Commands help update * Added editable and workspace * Update commands * clarify behavior of package() (#1304) * conan new jinja template (#1306) * Add know pip installation issue (#1311) * Add know pip installation issue * Rephrase * Update installation.rst Co-Authored-By: Javier G. Sogo <jgsogo@gmail.com> * Integrations refactor (#1308) * Integrations * Rename and fixed link * Fix link * Update integrations/custom.rst Co-Authored-By: Daniel <danimanzaneque@gmail.com> * Update integrations/vcs/git.rst Co-Authored-By: Javier G. Sogo <jgsogo@gmail.com> * Update integrations.rst Co-Authored-By: Javier G. Sogo <jgsogo@gmail.com> * Update integrations/build_system.rst Co-Authored-By: Javier G. Sogo <jgsogo@gmail.com> * Update integrations/cross_platform.rst Co-Authored-By: Daniel <danimanzaneque@gmail.com> * Update integrations/vcs/svn.rst Co-Authored-By: Javier G. Sogo <jgsogo@gmail.com> * Update integrations/linting/binary.rst Co-Authored-By: SSE4 <tomskside@gmail.com> * Msbuild and visual studio, clion update * Same as clion * Redirects * Fixed symlinks * Rewrite of the SCM optimization tip box (#1307) * Rewrite of the SCM optimization tip box * review * Update creating_packages/package_repo.rst Co-Authored-By: Javier G. Sogo <jgsogo@gmail.com> * update docs to reflect conan new --template arg * update help commands (#1315) * update help * update equal sign * Conan Extension for Visual Studio (#1312) * lines about VS extension after #1308 * Apply suggestions from code review Co-Authored-By: Daniel <danimanzaneque@gmail.com> * Add apple-clang 11 to settings.yml (#1327) Signed-off-by: Uilian Ries <uilianries@gmail.com> * add example with just one reference with further info using tuples (#1332) * --package argument deprecation (#1317) * Note about using only forward slashes for PROFILE_DIR variable (#1333) * note about using only forward slashes * it is the path to directory, not to the file * typo * working * redirects * working... * working on docs * Wip * Wip * Commands reference * Message * new package id modes (#1345) * Update SystemPackageTool to support settings (#1291) * Update SystemPackageTool conan-io/conan#5026 - Add new section explaning about setting parameter Signed-off-by: Uilian Ries <uilianries@gmail.com> * Use ConanFile when creating SystemPackageTool Signed-off-by: Uilian Ries <uilianries@gmail.com> * 1.17.0 * Changelog * Moved graph to misc
To help us debug your issue please explain:
As supported by MSBuild, I would like to add the same platforms parameter for
SystemPackageTool
, where it will solve the package platform to be installed.As you can see, I need to append the package name to solve the target platform. I think it could be solve automatically:
Regards!
The text was updated successfully, but these errors were encountered: