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

Modular installation #435

Closed
haraldg opened this issue Jan 7, 2016 · 5 comments
Closed

Modular installation #435

haraldg opened this issue Jan 7, 2016 · 5 comments

Comments

@haraldg
Copy link

haraldg commented Jan 7, 2016

As discussed in Issue #434 the build utils need to be installed into the PATH of the system when preparing for cross compiling. This is currently not supported by the Makefiles.

One possible solution is to provide a new make target install_buildutils ...

@markus2330 markus2330 changed the title support cross compiling Modular installation Jan 8, 2016
@markus2330
Copy link
Contributor

The most straight-forward way within CMake seems to be to use the install COMPONENT feature.

With it we could assign every installed file to one of the components. Before I go into details which files go into which components:

1.) Do you think its a good idea?
2.) Could we get rid of every INSTALL_* (i.e. INSTALL_DOCUMENTATION, INSTALL_TESTING and INSTALL_SYSTEM_FILES) that way?
3.) Is it worth the effort? Most of the distribution packages need to be adapted if INSTALL_* is not available anymore.

A concern that I have that it will get difficult to install everything except one component. But exactly this would be very common, e.g. installing everything except system files or everything except cross compilation tools. As I understood it, you either install everything with make install or you have to install every single component.

@beku: Would that be problematic for your local installations without system files (/etc/profile.d)?

@pinotree: What do you think? Do you maybe have experience with the COMPONENT feature of cmake?

Thank you!

@beku
Copy link
Member

beku commented Jan 8, 2016

As far as I can see Oyranos and Synnefo uses that cmake thing to build OS X frameworks and app bundles correctly. I do not know if that is the correct answere for your here discussed needs.

@markus2330
Copy link
Contributor

@beku Thank you, app bundles are indeed an interesting aspect for that discussion. I will look into Oyranos if we decide to implement a install COMPONENT feature.

@beku
Copy link
Member

beku commented Jan 8, 2016

@markus2330
Copy link
Contributor

Because no one really argued that he/she really wants/needs this expensive feature we will simple go for INSTALL_BUILD_TOOLS, see #434.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants