Package Details: cppfront-git r303.b1754db-1

Git Clone URL: https://aur.archlinux.org/cppfront-git.git (read-only, click to copy)
Package Base: cppfront-git
Description: Experimental and incomplete compiler for proposed C++ 'syntax 2'
Upstream URL: https://github.com/hsutter/cppfront
Licenses: CCPL
Submitter: patatahooligan
Maintainer: patatahooligan
Last Packager: patatahooligan
Votes: 0
Popularity: 0.000000
First Submitted: 2022-09-22 19:14 (UTC)
Last Updated: 2022-11-14 14:23 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

patatahooligan commented on 2022-12-21 00:32 (UTC) (edited on 2022-12-23 12:52 (UTC) by patatahooligan)

It seems that upstream commit c39a94cb breaks the build. I'll look into it when I have time and possibly open an upstream bug report. Until then manually select a commit before c39a94cb or simply don't upgrade.

EDIT 2022-12-23: seems to be fixed, package builds for me on b59f539

patatahooligan commented on 2022-11-14 14:30 (UTC)

@prokoprandacek I added ${CXXFLAGS} to the arguments of g++. This should include -O2 by default, but also a bunch of other flags and potentially your own additions. You can view and modify these flags in /etc/makepkg.conf. To my understanding, this is the interface that PKGBUILDs should respect instead of manually setting optimization levels and other flags.

patatahooligan commented on 2022-11-14 01:57 (UTC) (edited on 2022-11-14 14:21 (UTC) by patatahooligan)

@prokoprandacek I thought g++ was supposed to respect CXXFLAGS from makepkg.conf (and CXXFLAGS should set optimization levels), but now I'm not so sure. I opened a topic about it here as well: https://bbs.archlinux.org/viewtopic.php?id=281264

prokoprandacek commented on 2022-11-12 19:17 (UTC)

Hi, Can you add -O2 to the gcc flags? Thanks