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
ocl-icd: 2.2.10 -> 2.2.12 and move to GitHub #64201
Conversation
forge.imag.fr is no longer working
src = fetchFromGitHub { | ||
owner = "OCL-dev"; | ||
repo = "ocl-icd"; | ||
# Only doc changes since release version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not really necessary IMO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also I cannot believe it if the imports of this package have changed 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha, I mean that there are only doc changes between 2.2.12 and b5880e5, not between 2.2.10 (what we have now) and b5880e5.
Anyway, the import changes result from the change to GitHub's 2.2.10 rather than the update - check the individual commit diffs to see what I mean. The previous tarball was dirty - the build artifacts meant we didn't need to run the bootstrap before. Now we have to do it properly - I should've been explicit about that, sorry :)
(Apparently the tarballs are supposed to include the autotool output, but they don't!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would you like to proceed?
@ambrop72 @worldofpeace @FRidh might as well merge this together with #64945 |
Not sure what you mean, they do separate things and mine affects other packages, I wouldn't combine it. Since there will be merge conflicts the one merged second should just be fixed up. |
@ambrop72 Oh, I meant that the two PRs could be merged into master at the same time, to avoid extra rebuilds. |
@gloaming I see. If this PR ready? If so then I can make a combined PR. |
@ambrop72 No need, probably best to keep them apart. |
@gloaming can you rebase & fix merge conflicts? |
I marked this as stale due to inactivity. → More info |
superseded by #139969 |
Motivation for this change
The previous source
forge.imag.fr
is no longer available.Builds only work because the tarball is still available on
cache.nixos.org
!The GitHub tarball for is different(?!), so I checked it and found it's due to build artifacts only:
The build output (edit: between the two 2.2.10 tarballs) is only trivially different:
However, it's still different, so we might as well upgrade to the latest version (2.2.12) at the same time.
That release was a couple of years ago and there's been a couple of typo fixes in the manual since: OCL-dev/ocl-icd@v2.2.12...b5880e5
In this case I feel it's justified to take those and simply call it 2.2.12.
Things done
I tested
clinfo
,scallion
and (my local branch of)waifu2x-converter-cpp
- all looks OK.I consulted
nix-review
and it told me I needed several GB of dependencies to build 1100 packages so I gave up. (How do I find out why? The .cache file lists only 47 affected packages.)sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)