Add ispc tool from Intel#2826
Conversation
| it needs to #include <gnu/stubs-32.h>). | ||
| """ | ||
| homepage = "http://ispc.github.io/" | ||
| url = "https://github.com/ispc/ispc/" |
There was a problem hiding this comment.
You should use the actual tarball for the URL. Then you won't have to specify it below:
https://github.com/ispc/ispc/archive/v1.9.1.tar.gz
There was a problem hiding this comment.
LOL I could have sworn I tried that first and never got it working, but that's definitely way better than my shenanigans.
| # LLVM versions changed names / functions, this fixes them. | ||
| patch('update_llvm_functions_for_nvptx.patch', when="+nvptx") | ||
|
|
||
| depends_on('ncurses', type=("build", "link")) |
There was a problem hiding this comment.
No need to specify the deptype here, it defaults to build/link.
There was a problem hiding this comment.
Ok fine 🙃 just want to point out that as soon as I finally learned the whole nolink business, y'all got rid of it. The current defaults are build and link, but if you change em on me again it's on YOU adam
There was a problem hiding this comment.
I don't think those will change any time soon.
P.S. The reason we got rid of nobuild was because it relies on there only being 3 deptypes. However, there are other deptypes we plan on adding. For example, a "test" deptype is necessary for dependencies that are only required if you need to run make check. Take a look at the lz4 package. It requires valgrind in order to run make check, but that's all it is really needed for. We don't want to always require it, only when a user builds with --run-tests. We will probably need build-test, link-test, and/or run-test deptypes to handle all possible situations. This would make nolink misleading because it implies that it is every deptype except link. The way I envision it, the dependency will be built if you run --run-tests, but not otherwise. And if you try building once with --run-tests and a second time without it, it should correctly detect that it is already installed. This will mean the test dep won't be encoded into the hash or RPATH.
|
Ok well the url you gave me is different somehow and the package doesn't compile. I have to go get my car from the shop, hopefully I can take a look at it later and reopen :/ |
|
Hey, I gave up on this one. I was able to get it to work locally but wasn't sure about too many things.
Since I had already compiled it locally and it was working just fine...I just kind of gave up. I don't actually use ISPC anymore though, and that dev machine is no longer in action so I can't say for sure what it was working with :/ TBH the easiest thing for you to do would be to just Then just copy the |
…ork with MSVC, use -DTARGET=GENERIC for now
…ork with MSVC, use -DTARGET=GENERIC for now
…ork with MSVC, use -DTARGET=GENERIC for now
…ork with MSVC, use -DTARGET=GENERIC for now
…ork with MSVC, use -DTARGET=GENERIC for now
…ork with MSVC, use -DTARGET=GENERIC for now
…oesn't work with MSVC, use -DTARGET=GENERIC for now" This reverts commit 0abe560.
…ork with MSVC, use -DTARGET=GENERIC for now
…oesn't work with MSVC, use -DTARGET=GENERIC for now" This reverts commit 0abe560.
…ork with MSVC, use -DTARGET=GENERIC for now
…oesn't work with MSVC, use -DTARGET=GENERIC for now" This reverts commit 0abe560.
…ork with MSVC, use -DTARGET=GENERIC for now
…oesn't work with MSVC, use -DTARGET=GENERIC for now" This reverts commit 0abe560.
…ork with MSVC, use -DTARGET=GENERIC for now
…oesn't work with MSVC, use -DTARGET=GENERIC for now" This reverts commit 0abe560.
…ork with MSVC, use -DTARGET=GENERIC for now
…oesn't work with MSVC, use -DTARGET=GENERIC for now" This reverts commit 0abe560.
…ork with MSVC, use -DTARGET=GENERIC for now
…oesn't work with MSVC, use -DTARGET=GENERIC for now" This reverts commit 0abe560.
…ork with MSVC, use -DTARGET=GENERIC for now
…oesn't work with MSVC, use -DTARGET=GENERIC for now" This reverts commit 0abe560.
…ork with MSVC, use -DTARGET=GENERIC for now
…oesn't work with MSVC, use -DTARGET=GENERIC for now" This reverts commit 0abe560.
I am somewhat apprehensive with a full-blown
llvmdependency, but to the best of my understandingispcdefinitively requires thellvmcodebase.The
ignore_libtinfo.patchis because their makefile is too zealous, and the second patch appears to be working but I have literally no idea how to test it since I don't actually know how to useispc(yet!).I opened an issue about the NVPTX stuff, but I'm pretty sure the patch I made works assuming the previous code base did. The second patch is just adding a bunch of
ifdefstuff they did elsewhere in the file because thellvmfunctions changed between versions.