-
Notifications
You must be signed in to change notification settings - Fork 26
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
Make a profile #457
Comments
Are you suggesting we provide some profiles including the material for sage-on-gentoo? I would have to to provide an alternative for all possible profiles. Lots of work, lots of maintenance. |
Hi, yes i think would be great, but you don't need include a lot of profiles, i think just 2, one profile for general propose, and the other include at the same time as the first for unstable systems, like in the first case:
second
And then you can keep working similar as now. |
i think you need to do is write the default profiles and then put the keywords, use, etc files there and should be ready. |
You cannot have several profile at once. In your proposal if I switch to The only thing I can think for which a simple one like you are suggesting would be useful would be a dedicated sage server. Even then there would need to be more than two profiles in my opinion (hardened or not, systemd or openrc and I support exotic hardware, I actually run sage-on-gentoo in a ppc64 rap prefix...). |
There was a typo in my original post "you cannot have several profiles loaded at once". |
You can have multiple profiles, see https://wiki.gentoo.org/wiki/Profile_(Portage)#Combining_profiles UPDATE |
That link teaches you how to make a custom profile that would be a combination of two profiles, in a local overlay. I already have package[useflag] in my ebuild dependencies. |
Since the files will remain mostly the same but in another folder, the users will choose between the symlink method or the profiles method. |
Well, I am not sure I understand it. Feel free to make a PR for that feature, including documentation on how it should be used. As someone who had to write documentation for end user I'll be reviewing the documentation quite closely as at the moment I don't have a clue what you intend the procedure to be. |
OK |
Hi all, testing that Wiki and comparing with the method i post in my first post, i can confirm both works, i recommend use the first, i think is simpler than then wiki. |
I'm working on it in my branch comments & reviews accepted |
Some stuff in my own package.use are a bit obsolete and need refreshing (cython doesn't have a numpy useflag anymore for example, it should be safe to enable threads in ntl....) |
Another question: does sage/this overlay support all architectures? |
I try to as much as possible. Some stuff is not keyworded |
On that matter you may have noticed that a few weeks ago I removed some stuf in the science overlay that prevented you to use the blas/lapack on anything else than x86/x86_64. That was me upstreaming stuff that was blocking my work on ppc64. |
@latot my |
Progress https://github.com/Alessandro-Barbieri/sage-on-gentoo/tree/profile and ready to be tried (I think) TODO
|
mini tutorial:
format:
in my case i use this:
following the same syntax (following the structure in your fork):
I use this some ages ago, and when i update portage this don't is reset, so you only need do this one time, or when you want add some new profile or similar. Cya. |
pentoo overlay use this, if you want you can check it https://github.com/pentoo/pentoo-overlay |
@latot OK this make more sense but |
Should I pull request or whatever? |
I am travelling, but yes you can send a PR and I'll review it. Before you do the PR, I think you should add a short entry on the readme pointing to the documentation to use the profile. Mention that using it is optional as well. If you have already thought of that, fantastic! |
Hi all, well reading i found the instructions here are little complates, or in other is possible simplify it, so i want propose make a custom profile with the keywords and USE packages, to use it you need make it normally and then in /etc/portage/make.profile we edit the file parent, there we put the profiles we want to use, i use this for example:
Thx. Cya.
The text was updated successfully, but these errors were encountered: