[MacPorts] #54370: gmic @2.0.2: buildbot build gets cancelled because 20 minutes go by with no output
MacPorts
noreply at macports.org
Thu Jan 20 14:56:23 UTC 2022
#54370: gmic @2.0.2: buildbot build gets cancelled because 20 minutes go by with no
output
-------------------------+-------------------------
Reporter: ryandesign | Owner: Schamschula
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: haspatch
Port: gmic |
-------------------------+-------------------------
Comment (by mascguy):
From what I can see, it looks like aggressive optimization - via `-O3` -
is being used. (While base is adding our default of `-Os`, a subsequent
`-O3` is being added from somewhere else. It's not being specified by the
portfile, so presumably it's coming from the Makefile, and/or CMake?)
{{{
/usr/bin/clang++ -Dcimg_appname=\"gmic\" -Dcimg_display=1 -Dcimg_use_curl
-Dcimg_use_fftw3 -Dcimg_use_heif -Dcimg_use_jpeg -Dcimg_use_magick
-Dcimg_use_openexr -Dcimg_use_png -Dcimg_use_tiff -Dcimg_use_zlib
-Dlibgmic_EXPORTS -isystem gmic/work/gmic-3.0.2/src -isystem
/opt/local/include -isystem /opt/local/include/GraphicsMagick -isystem
/opt/local/include/OpenEXR -pipe -Os -DNDEBUG -I/opt/local/include
-stdlib=libc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -O3
-DNDEBUG -arch arm64 -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -mmacosx-version-
min=12.0 -fPIC -Dgmic_core -Dcimg_use_vt100 -Dgmic_is_parallel
-Dcimg_use_abort -Wno-error=c++11-narrowing -Wc++11-extensions
-fpermissive -std=gnu++11 -MD -MT CMakeFiles/libgmic.dir/src/gmic.cpp.o
-MF CMakeFiles/libgmic.dir/src/gmic.cpp.o.d -o
CMakeFiles/libgmic.dir/src/gmic.cpp.o -c gmic/work/gmic-3.0.2/src/gmic.cpp
}}}
Using `-O1` might help, both in terms of memory consumption, as well as
compilation time. Hard to say without testing, but it can't hurt!
--
Ticket URL: <https://trac.macports.org/ticket/54370#comment:25>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list