Opened 4 years ago

Closed 16 months ago

#60996 closed defect (fixed)

vcvrack: use the right compiler

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: vcvrack

Description

Looks like vcvrack isn't UsingTheRightCompiler. For example:

https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/23725/steps/install-port/logs/stdio

DEBUG: Using compiler 'MacPorts Clang 9.0'

But then:

cd glew-2.1.0/build && cmake -DCMAKE_INSTALL_PREFIX="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_audio_vcvrack/vcvrack/work/Rack-1.1.6/dep" -DCMAKE_INSTALL_LIBDIR=lib ./cmake
-- The C compiler identification is AppleClang 5.1.0.5030040
-- The CXX compiler identification is AppleClang 5.1.0.5030040

Change History (3)

comment:1 Changed 4 years ago by herbygillot (Herby Gillot)

vcvrack is pulling down a bunch of 3rd-party Makefiles and directly running them with make -C <dir>. Likely environment / make variables aren't flowing between these Makefiles.

comment:2 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

In 8bfc6106ab999164a79b34f5a28d35db23391453/macports-ports (master):

vcvrack: Fix compiler selection

Decide which compiler we're going to use before we access the variables
for the compiler executables.

See: #60996

comment:3 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

That appears to have fixed the compiler selection, though the build still fails on many OS versions for other reasons.

Note: See TracTickets for help on using tickets.