![]() |
|
|
#1079 |
|
"Mihai Preda"
Apr 2015
3·457 Posts |
Ken, I updated the Makefile with the target gpuowl-win (changed the executable name accordingly, you'll get gpuowl-win, you need to rename it if the name is not good), added the strip too for the windows target.
If you don't have git, you need to put something manually in version.inc, changing this line: echo "`git describe --long --dirty --always`" > version.inc to something like: echo "v6.5-8-g005297a" > version.inc If you're building the version string manually, don't worry about the middle number, just replace it with 'x' such: v6.5-x-g005297a The convention now is, if there are uncommited changes (local changes to the source), to suffix with -dirty: v6.5-x-g005297a-dirty , do indicate it's not exactly equal to that commit. (But for a public build it would be nice to be not-dirty, of course.) You may try to install git, it may make the workflow a bit easier. After the initial "git clone" you'll only need "git pull" to get the delta. Last fiddled with by preda on 2019-04-13 at 23:15 |
|
|
|
|
|
#1080 | |
|
"Mihai Preda"
Apr 2015
3×457 Posts |
Quote:
So, "git describe" searches for a git tag where it takes the version string from (e.g. "v6.5"), and it didn't like that there was no tag at all, because I forgot to push the tag to remote. Last fiddled with by preda on 2019-04-13 at 23:26 |
|
|
|
|
|
|
#1081 | |
|
11478 Posts |
Quote:
It has a git tag now, however it is not a version like x.y |
|
|
|
|
#1082 | |
|
"Composite as Heck"
Oct 2017
22·32·23 Posts |
It's just the commit hash which is all that's in version.inc. I'm prepending "6.5-x-" for now.
Quote:
|
|
|
|
|
|
|
#1083 |
|
54 Posts |
|
|
|
|
#1084 |
|
"Mihai Preda"
Apr 2015
3·457 Posts |
What do you mean, what is it like?
The version is supposed to look something like this: v6.5-8-g005297a or v6.5-8-g005297a-dirty Which gives at the same time a logical idea of the version (6.5), and access to the commit. |
|
|
|
|
|
#1085 |
|
"Mihai Preda"
Apr 2015
3·457 Posts |
|
|
|
|
|
|
#1086 | |
|
7×199 Posts |
Quote:
https://github.com/preda/gpuowl/issues/43 |
|
|
|
|
#1087 | |
|
"Composite as Heck"
Oct 2017
82810 Posts |
Quote:
That did it. I was on the latest commit and either pulled before you added the tag or "git pull origin master" doesn't get the tag. |
|
|
|
|
|
|
#1088 | |
|
51378 Posts |
Quote:
exact, only "git pull" gets the tag. |
|
|
|
|
#1089 |
|
"Mihai Preda"
Apr 2015
3·457 Posts |
Warning for ROCm users: refrain from upgrading to recently-released ROCm 2.3, there is a 5% perf degradation. https://github.com/RadeonOpenCompute/ROCm/issues/766
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mfakto: an OpenCL program for Mersenne prefactoring | Bdot | GPU Computing | 1676 | 2021-06-30 21:23 |
| GPUOWL AMD Windows OpenCL issues | xx005fs | GpuOwl | 0 | 2019-07-26 21:37 |
| Testing an expression for primality | 1260 | Software | 17 | 2015-08-28 01:35 |
| Testing Mersenne cofactors for primality? | CRGreathouse | Computer Science & Computational Number Theory | 18 | 2013-06-08 19:12 |
| Primality-testing program with multiple types of moduli (PFGW-related) | Unregistered | Information & Answers | 4 | 2006-10-04 22:38 |