-
Notifications
You must be signed in to change notification settings - Fork 121
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
confirm intended install directories after merging CI/CD changes #112
Comments
I checked the install directories on my Linux system with the latest changes, after merging #88. Here is what I found, after building with the Makefile generator:
This seems like the opposite of what was described in the October 1st teleconference. Do we intend for the sample applications and kernels in (8) to be installed into a per-config "bin" directory? Note, this is different behavior than we had before merging #88. |
@bashbaug hm yes looking again at the logic of this CMakeLists file it does seem like it will install the kernels and executables in However, I've been thinking about why would this be a problem. You did mention that it could affect packaging, but as far as I can remember there was no binary packaging for the SDK before and also afaik we do not package the samples' binaries anyway, or am I missing something here? |
@bashbaug Generally speaking, the OpenCL-SDK's build tree isn't guaranteed to be stable, not that it's even possible, given how different it is with auto-built deps vs. user-provided pre-built deps. Our install tree is intended to be stable and wishes to emulate a proper *nix layout, mostly replicated by the GNUInstallDirs module. As such the intention was/is:
Windows behaving as it does necessitates some changes due to ABI reasons. Some changes as compelling as they may be can't be done in a backward compatible manner, but the newer components did get tweaks early on. One such early break was The To enumerate all all your findings:
My understanding is that the issue is that our build tree looks too much like an install tree with most artifacts going into a singular folder, is that it? The idea of using a singular
If it's deemed unorthodox to have such tight grip over the build tree layout and mold so many artifacts into the same folders, it can be left at CMake defaults. Then however, all samples will use the system loader on Windows. When layers came around, system loaders by definition were outdated, and it can happen in the future again, should the loader pick up new capabilities. |
Discussed in the October 8th teleconference. We're going to go back to the previous behavior, where the sample applications and kernels do NOT going into config-specific install directories. |
Fixed by #113. |
We'll check that the install directories are working as we intend after merging. Specifically, with a non-multi-config generator (e.g. Makefiles), does the install go into per-config directories, or into a single
lib
orbin
directory?Originally posted by @bashbaug in #88 (comment)
The text was updated successfully, but these errors were encountered: