Package Details: vc4c-git r709.e3eed1e-3

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: k8ie
Maintainer: bronze
Last Packager: k8ie
Votes: 0
Popularity: 0.000000
First Submitted: 2019-08-17 01:07 (UTC)
Last Updated: 2020-10-05 21:40 (UTC)

Required by (1)

Sources (1)

Latest Comments

1 2 3 Next › Last »

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:

...
[100%] Built target VC4C
Install the project...
-- Install configuration: "Release"
-- Installing: /mnt/usb/jlbakker/dev/vc4c-git/pkg/vc4c-git/usr/local/bin/vc4asm
...
-- Installing: ~/dev/vc4c-git/pkg/vc4c-git/usr/local/include/vc4cc/tools.h
[E] Mon Jul 13 19:51:51 2020: Errors in precompilation:
[E] Mon Jul 13 19:51:51 2020: error: unable to open output file '~/dev/vc4c-git/pkg/vc4c-git///usr/local/include/vc4cl-stdlib//VC4CLStdLib.h.pch': 'No such file or directory'
1 error generated.

terminate called after throwing an instance of 'vc4c::CompilationError'
what():  Pre-compilation: Error in precompilation: error: unable to open output file '~/dev/vc4c-git/pkg/vc4c-git///usr/local/include/vc4cl-stdlib//VC4CLStdLib.h.pch': 'No such file or directory'
1 error generated.

[E] Mon Jul 13 19:51:51 2020: Received signal: SIGABRT

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':

cmake "$srcdir/VC4C" -DCMAKE_BUILD_TYPE=Release -DMULTI_THREADED=true -DCLANG_FOUND=/usr/bin/clang -DVC4CL_STDLIB_DIR=/usr/local/include/vc4cl-stdlib -DVC4CL_STDLIB_PRECOMPILE=OFF -Wno-dev

I also changed the dependency on ocl-icd to khronos-ocl-icd. This is an experiment.

I got here, before I hit a familiar error:

[ 82%] Built target VC4CC
Scanning dependencies of target VC4C
[ 84%] Built target qpu_emulator
[ 98%] Built target TestVC4C
[100%] Building CXX object src/CMakeFiles/VC4C.dir/main.cpp.o
distcc[22756] (main) CRITICAL! distcc seems to have invoked itself recursively!distcc[22756] (main) CRITICAL! distcc seems to have invoked itself recursively!
distcc[22755] ERROR: compile (null) on localhost failed with exit code 111
distcc[22754] (dcc_select_for_write) ERROR: IO timeout
distcc[22754] ERROR: timeout while connecting to 192.168.1.190:3632
distcc[22754] Warning: failed to distribute ~/dev/vc4c-git/src/VC4C/src/main.cpp to 192.168.1.190, running locally instead
distcc[22758] (main) CRITICAL! distcc seems to have invoked itself recursively!
distcc[22757] ERROR: compile (null) on localhost failed with exit code 111
distcc[22754] ERROR: compile ~/dev/vc4c-git/src/VC4C/src/main.cpp on localhost failed with exit code 111
make[2]: *** [src/CMakeFiles/VC4C.dir/build.make:83: src/CMakeFiles/VC4C.dir/main.cpp.o] Error 111
make[1]: *** [CMakeFiles/Makefile2:2042: src/CMakeFiles/VC4C.dir/all] Error 2
make: *** [Makefile:183: all] Error 2
==> ERROR: A failure occurred in package().
Aborting...

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:

If there are no tags then use number of revisions since beginning of the history

should be used

k8ie 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.

k8ie commented on 2020-06-29 20:11 (UTC)

I think I separated the packages without completely breaking something.

k8ie commented on 2020-06-29 19:46 (UTC)

Ok, it should be fixed now.

k8ie 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