Package Details: c2ffi-git r239.25fcec1-1

Git Clone URL: https://aur.archlinux.org/c2ffi-git.git (read-only, click to copy)
Package Base: c2ffi-git
Description: Clang-based FFI wrapper generator
Upstream URL: https://github.com/rpav/c2ffi
Licenses: GPL2
Conflicts: c2ffi
Provides: c2ffi
Submitter: VanLaser
Maintainer: VanLaser
Last Packager: VanLaser
Votes: 1
Popularity: 0.000000
First Submitted: 2019-03-19 12:10 (UTC)
Last Updated: 2023-09-13 13:07 (UTC)

Latest Comments

VanLaser commented on 2022-11-30 13:44 (UTC)

@rtmpdavid thanks & updated!

rtmpdavid commented on 2022-11-30 11:34 (UTC)

Looks like upstream has update this for llvm 14. Package builds fine, when using the new llvm-14.0.0 branch.

VanLaser commented on 2022-01-27 16:36 (UTC)

@fredericboileau, I can change the PKGBUILD to ask for the llvm11 package (which exists) instead of llvm, but unfortunately c2ffi still won't compile, since it also needs (if I understood well) a matching clang version (11, not 13).

In other words, if you manage to build c2ffi manually (from https://github.com/rpav/c2ffi) with any of the llvm/llvm11 and clang packages from Arch, and you provide the build instructions, I will be able to update the PKGBUILD. Otherwise, we'll have to wait for the developer to (hopefully) support llvm & clang v13.

fredericboileau commented on 2022-01-27 09:23 (UTC)

c2ffi lists llvm11 as the version needed but the llvm core package is listed as a dep which is pinned to version 13. I get the following error when trying to build:

CMake Error at CMakeLists.txt:12 (find_package): Could not find a configuration file for package "LLVM" that is compatible with requested version "11.0.0".

The following configuration files were considered but not accepted:

/usr/lib64/cmake/llvm/LLVMConfig.cmake, version: 13.0.0
/usr/lib/cmake/llvm/LLVMConfig.cmake, version: 13.0.0
/lib64/cmake/llvm/LLVMConfig.cmake, version: 13.0.0
/lib/cmake/llvm/LLVMConfig.cmake, version: 13.0.0

VanLaser commented on 2021-02-05 17:47 (UTC)

Updated, thanks @will4n :)

will4n commented on 2021-02-05 17:12 (UTC)

llvm 11.0 is default now! 2 updates to the package to build:

source=('git+https://github.com/rpav/c2ffi#branch=llvm-11.0.0') cmake -DBUILD_CONFIG=Release -DCMAKE_INSTALL_PREFIX=/usr .

VanLaser commented on 2020-09-08 11:48 (UTC)

Build file updated, thanks @dieslie ! :)

dleslie commented on 2020-09-03 19:31 (UTC)

Just got this working: it needs llvm added as a dependency in order to build, and it builds and runs fine on aarch64, which can be added as an architecture.

VanLaser commented on 2020-05-29 12:42 (UTC) (edited on 2020-05-29 12:43 (UTC) by VanLaser)

Updated - Jarhmander, thanks for your actual work (i.e. your role in fixing the build)

Jarhmander commented on 2020-04-27 16:58 (UTC) (edited on 2020-05-28 23:09 (UTC) by Jarhmander)

EDIT: no longer relevant.

~Since the update of the LLVM package, this no longer builds. I've submitted a pull-request upstream to support LLVM 10, but meanwhile, you can change the source field of the PKGBUILD to use my fork:~

source=('git+https://github.com/Jarhmander/c2ffi#branch=llvm-10.0.0')

I do not suggest the maintainer of this AUR package to edit its PKGBUILD however, because as stated, this is just my fork and is non-official.