Opened 9 years ago

Closed 9 years ago

#33894 closed submission (fixed)

yorick-yeti (new port) -- various yorick... stuff

Reported by: paumard Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port:

Description

Hi,

Yeti is just a large collection of compiled utilities.

I also attach a check script which must be run fro the unpacked source tree:

  yorick -batch check.i

I have realized it was a good idea to state the yorick dependency as I've seen for Octave packages:

  depends_lib-append path:bin/yorick:yorick

which allows to more easily install a custom version of yorick and still getting the macports plug-ins. I'll do that for each plug-in whenever the require a new revision.

Regards, Thibaut. Regards, Thibaut.

Attachments (2)

check.i (2.2 KB) - added by paumard 9 years ago.
run from the unpacked source as "yorick -batch check.i"
Portfile (2.4 KB) - added by paumard 9 years ago.
(remove revision)

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by paumard

Attachment: check.i added

run from the unpacked source as "yorick -batch check.i"

Changed 9 years ago by paumard

Attachment: Portfile added

(remove revision)

comment:1 Changed 9 years ago by neverpanic (Clemens Lang)

Owner: changed from macports-tickets@… to cal@…
Status: newassigned

The build hangs for me consuming 100% CPU at

/usr/bin/llvm-gcc-4.2  -O2 -pipe -arch x86_64 -I..  -DPLUG_IN -I. -I/opt/local/lib/yorick/include -DYORICK -o yeti_rgl.o -c yeti_rgl.c

I'd try with a different compiler, but I don't know how to tell this port to use a different compiler.

comment:2 Changed 9 years ago by neverpanic (Clemens Lang)

Summary: yoririck-yeti (new port) -- various yorick... stuffyorick-yeti (new port) -- various yorick... stuff

comment:3 Changed 9 years ago by paumard

Hi,

I confirm the build failure with llvm-gcc-4.2. The following should do the tick, but I not sure which compiler to favour nor whether I should pick a different one for the various architectures, your help is appreciated:

configure.compiler  gcc-4.2
build.args-append CC=${configure.cc}

Regards, Thibaut.

comment:4 Changed 9 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: assignedclosed

PortfileRecipes#compiler usually comes in handy in those cases. Commited in r92471 with compiler changed to clang.

Note: See TracTickets for help on using tickets.