Search Criteria
Package Details: vc4c-git r709.e3eed1e-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/vc4c-git.git (read-only, click to copy) |
---|---|
Package Base: | vc4c-git |
Description: | Compiler for the VC4CL OpenCL-implementation |
Upstream URL: | https://github.com/doe300/VC4C |
Licenses: | MIT |
Provides: | opencl-compiler, vc4-compiler, vc4c |
Submitter: | satcom886 |
Maintainer: | satcom886 (bronze) |
Last Packager: | satcom886 |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2019-08-17 01:07 (UTC) |
Last Updated: | 2020-10-05 21:40 (UTC) |
Dependencies (8)
- clang (clang8, llvm-minimal-git, llvm-git, clang-git)
- clinfo (clinfo-git)
- vc4clstdlib-git
- cmake (cmake-git) (make)
- gcc (fastgcc, gccrs-git, gcc-git) (make)
- llvm (llvm8, llvm-minimal-git, llvm-git) (make)
- opencl-headers (opencl-headers-git) (make)
- wget (wget-git, wget-xdg) (make)
Latest Comments
bronze commented on 2020-07-14 00:58 (UTC) (edited on 2020-07-14 03:10 (UTC) by bronze)
I got around the error below by disabling distcc in /etc/makepkg.conf
The next (and final?) error, I get:
Note, I found it here /usr/include/vc4clstdlib-git/include/VC4CLStdLib.h.pch
bronze commented on 2020-07-11 15:21 (UTC) (edited on 2020-07-12 17:01 (UTC) by bronze)
Due to https://github.com/doe300/VC4C/commit/1bb1b55b78cb52ac0bf85d1caf0e87ea0ea8a531 I modified the
cmake
line in the PKGBUILD and added 'VC4CL_STDLIB_PRECOMPILE':I also changed the dependency on
ocl-icd
tokhronos-ocl-icd
. This is an experiment.I got here, before I hit a familiar error:
Seems at this part in the process
CLANG_FOUND=/usr/bin/clang
is ignored?katt commented on 2020-06-29 22:10 (UTC)
@satcom886 If they don't have any releases tags then the example labeled:
should be used
satcom886 commented on 2020-06-29 22:08 (UTC)
@katt Oops! Sorry. I only added
pkgver()
to one of the packages.Also, what
pkgver
should I choose if the upstream doesn't have any releases/tags?katt commented on 2020-06-29 21:48 (UTC)
Please take a look at https://wiki.archlinux.org/index.php/VCS_package_guidelines#The_pkgver()_function and adjust your PKGBUILD accordingly. Applies to your your other packages as well.
satcom886 commented on 2020-06-29 20:11 (UTC)
I think I separated the packages without completely breaking something.
satcom886 commented on 2020-06-29 19:46 (UTC)
Ok, it should be fixed now.
satcom886 commented on 2020-06-28 15:42 (UTC)
I'm a little busy these days, but I should have time tomorrow. I'll add the clang path and vc4clstdlib path into the PKGBUILD. I think
$srcdir/VC4CLStdLib-master/include
should work, but we'll see.bronze commented on 2020-06-27 01:04 (UTC)
I managed to build and install the package (seemingly error-free). I had to set:
-DCLANG_FOUND=/usr/bin/clang
(needed in case you run distcc)
and
-DVC4CL_STDLIB_DIR=<full-path>/vc4c-git/src/VC4CLStdLib-master/include
(needed because the CMakeFile.txt uses a relative path that doesn't exist)
However, "sudo clinfo" doesn't give the desired result, so some more work to do?
bronze commented on 2020-06-25 12:50 (UTC)
This (https://github.com/doe300/VC4CL/issues/92#issuecomment-649199654) may be a problem in the PKGBUILD file, due to merging the 3 packages? Cannot find VC4CLStdLib.h
satcom886 commented on 2020-06-24 14:09 (UTC)
Sorry but the stuff you are discussing on GitHub is way over my head. I have only a very basic knowledge of C and C++. (◕‿◕)
bronze commented on 2020-06-24 12:39 (UTC)
I haven't used it yet :) I am fine to go with your recommendation. That said reducing the compilations/writes on RPi is best for its memory card?
Do you know what the problem with the cmake file is (applies to disctcc users)?
satcom886 commented on 2020-06-24 10:06 (UTC) (edited on 2020-06-24 10:06 (UTC) by satcom886)
@bronze What would you prefer as a user? Just a single package for everything VC4 related or separating into 3 packages?
I also added the patch to
vc4cl-git
and added the 2 other packages as conflicts for now.I also want to thank you because if it weren't for you and your communication with doe300 I would have never gotten myself to actually make the package work. So thanks!
satcom886 commented on 2020-06-24 09:54 (UTC) (edited on 2020-06-24 09:54 (UTC) by satcom886)
Wow! It actually looks like I made separate packages for all the components but never finished them. They actually contain some of the same files so they conflict each other. (just a note for myself) 2 possible solutions:
Option 2 would be much simpler.
bronze commented on 2020-06-23 22:37 (UTC)
The patch works! Thx. Can you also apply the patch to package "vc4cl-git", file "vc4cl-git/src/VC4C-master/src/ProcessUtil.cpp"?
I now encountered a cmake error here (having to with a REGEX and bypassing distcc, it seems): https://github.com/doe300/VC4CL/issues/92#issuecomment-648276809
I don't know if this REGEX problem is an arch package problem.
satcom886 commented on 2020-06-21 21:09 (UTC) (edited on 2020-06-21 21:12 (UTC) by satcom886)
I created a patch for what was suggested by doe300 on GitHub. I hope it works! I also added all the packages you mentioned as dependencies and build dependencies (I'm not sure what packages are required only for building the package so I took a guess).
bronze commented on 2020-06-20 18:46 (UTC)
The package installed after implementing the fix here: https://github.com/doe300/VC4C/issues/145#issuecomment-647030474
bronze commented on 2020-06-20 15:43 (UTC) (edited on 2020-06-20 18:44 (UTC) by bronze)
EDIT: I installed the following additional packages: "clinfo", "llvm", "opencl-headers" and "ocl-icd"
I have not made progress other than verifying that threads can be found (after creating a CMakeList.txt with "cmake_minimum_required (VERSION 2.8.7)" & "find_package(Threads)"):
Assuming that the problem must thus be elsewhere, I found a long list of dependencies for a Raspbian system:
I may not have installed all dependencies partially because I don't know which are really needed or how they translate to Arch package names ...
satcom886 commented on 2020-06-08 08:56 (UTC)
I also added
clang
as a dependencysatcom886 commented on 2020-06-08 08:53 (UTC) (edited on 2020-06-08 08:53 (UTC) by satcom886)
If you wish to modify the source code before building the package, you can do that with
bronze commented on 2020-06-08 02:49 (UTC)
Should clang be listed as optional dependency? I noticed some complaints when I tried to build the package. Also, I submitted "https://github.com/doe300/VC4C/issues/145" but it may be an arch issue. I cannot or failed to perform doe300's suggestion. Tips?