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

Debianization issues #19

Closed
valeriob01 opened this issue Nov 22, 2018 · 4 comments
Closed

Debianization issues #19

valeriob01 opened this issue Nov 22, 2018 · 4 comments

Comments

@valeriob01
Copy link
Contributor

There are a number of issues for debianization to be successful:

excerpt of chat from debian-welcome:

selroc> ok for debian/install, the program requires some .cl files to be in the same directory
[10:12:30] yeah, usually upstream build systems will also have an install system
[10:12:40] hmm, ok
[10:13:00] /usr/bin isn't the best location for .cl files, can it load those from a different directory?
[10:13:06] no
[10:13:12] not now
[10:13:45] I can work with the original programmer to make it so
[10:14:10] hmm, ok. it should be fine for a local package but for the package to get into Debian, you would need to be able to load them from say /usr/share/gpuowl/*.cl instead
[10:14:10] I try to get in touch with him
[10:16:04] btw, since this is C++ code, it would be a good idea for him to run cppcheck on it to find any accidental errors

@valeriob01
Copy link
Contributor Author

I guess here it is matter to check for existence of /usr/share/gpuowl directory, if it exists, load .cl files from it, otherwise load .cl files from current directory.

@preda
Copy link
Owner

preda commented Jan 7, 2019

I can try to embed the OpenCL source into the binary.
Right now it doesn't load the .cl from the same location as the binary (e.g. /usr/bin), but from the current directory (where the binary is launched).

@valeriob01
Copy link
Contributor Author

valeriob01 commented Jan 7, 2019

Sorry about hesitating on this. Now I think it is not worth the effort because the new method of installation does not rely on packages at all. I said to Debian people that for one .cl file it is abominable to scatter the program all over, and that it should simply live in a user directory like /home/<username>/gpuowl.

@valeriob01
Copy link
Contributor Author

As I said we have a new installation method that relies only on repositories. The packaging is an interim step that has to be tailored for each Linux distribution, which is cumbersome to maintain. I made an attempt at packaging for Debian and uploaded gpuowl version 5.0 to debian repository and asked for support, after more than 40 days no one has picked up the package for review.
I have no intention to maintain the package any more because it is now (IMHO) an obsolete step that I would like to avoid. Instead I have developed scripts (https://github.com/valeriob01/gpu-computing-node) that do the same job and are easily portable between Linux distributions.

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

2 participants