Package Details: castxml-git 0.3.4.r19.g8625aed-1

Git Clone URL: https://aur.archlinux.org/castxml-git.git (read-only, click to copy)
Package Base: castxml-git
Description: C-family abstract syntax tree XML output tool.
Upstream URL: https://github.com/CastXML/CastXML
Keywords: gccxml
Licenses: Apache
Conflicts: castxml
Provides: castxml
Submitter: jgmdev
Maintainer: jgmdev
Last Packager: jgmdev
Votes: 5
Popularity: 0.073952
First Submitted: 2015-11-26 05:27
Last Updated: 2020-05-05 09:17

Required by (9)

Sources (1)

Latest Comments

1 2 Next › Last »

DaNiMoTh commented on 2020-05-05 06:49

Hi, please add the following

-DCLANG_LINK_CLANG_DYLIB=1

to cmake command, or the package won't compile with clang 10. Thanks

wushangwei commented on 2019-02-15 13:33

Unfortunately it cannot be built successfully. Here's my fix:

In the PKGBUILD file, under prepare(), add "../CastXML" after "cmake". So the cmake line should be:

cmake ../CastXML -DSPHINX_EXECUTABLE=/usr/bin/sphinx-build \ -DSPHINX_HTML=1 \ -DSPHINX_MAN=1 \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCastXML_INSTALL_DOC_DIR=share/doc/castxml \ -DCastXML_INSTALL_MAN_DIR=share/man }

then makepkg -sri

Please update the PKGBUILD, thank you!

yhfudev commented on 2019-01-02 19:05

Hi, can you please change the source to

${_gitname}::git+https://github.com/CastXML/CastXML.git

because the hosts behind firewall can't access it.

Thanks!

jgmdev commented on 2018-04-04 14:51

@loh Done.

loh commented on 2018-03-28 11:09

Following the update to LLVM6 line 37 of the PKGBUILD needs to be changed to:

sed -i "s|\${llvm_libs}|LLVM|g" src/CMakeLists.txt

See https://github.com/CastXML/CastXML/issues/102 for details.

Cheers.

LeonardK commented on 2018-01-22 14:56

At least I need to hint the Clang or the LLVM dir to CMake, eg. like this:

-DClang_DIR=/usr/lib/cmake/clang

Otherwise LLVM_INCLUDE_DIRS only contains //include for some reason.

jgmdev commented on 2018-01-20 13:53

@Kniyl Thanks again, I was developing a php binding generator and was going to use castxml to parse c++ header files but I haven't worked on that project for a long time, so I haven't tested this PKGBUILD except for today to implement the fix that you described on github. I added a sed -i removal for the offending ${llvm_libs} as you found on github, Now that aur supports co-maintainers would you like to be one? You may have more time than me to lookup issues on this package.

Kniyl commented on 2018-01-18 13:26

@jgmdev Do you happen to still get a working castxml binary using the current PKGBUILD? What's your take on https://github.com/CastXML/CastXML/issues/102 ? Should we add a patch in the PKGBUILD, should we raise the issue to LLVM?

jgmdev commented on 2018-01-16 04:44

@Kniyl Added clang-tools-extra, thank you!

Kniyl commented on 2018-01-12 11:02

I found the /usr/lib/libclangApplyReplacements.a file in the clang-tools-extra package, you may add it as a build dependency.