Opened 4 years ago

Closed 4 years ago

#60584 closed enhancement (fixed)

Why haven't gcc10 and clang10 been added as compilers for ports?

Reported by: gaming-hacker (G Alexander) Owned by: Thibaut METIVET <thibaut.metivet@…>
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: openmpi

Description

Hello,

It looks like this was pulled into main branch

https://github.com/macports/macports-base/pull/171

but if I do a search on openmpi versions available, I get

for gcc

openmpi-gcc5	4.0.1	science parallel net	A High Performance Message Passing Library
openmpi-gcc6	4.0.1	science parallel net	A High Performance Message Passing Library
openmpi-gcc7	4.0.1	science parallel net	A High Performance Message Passing Library
openmpi-gcc8	4.0.1	science parallel net	A High Performance Message Passing Library
openmpi-gcc9	4.0.1	science parallel net	A High Performance Message Passing Library

and for clang

openmpi-clang	4.0.1	science parallel net	A High Performance Message Passing Library
openmpi-clang37	4.0.1	science parallel net	A High Performance Message Passing Library
openmpi-clang50	4.0.1	science parallel net	A High Performance Message Passing Library
openmpi-clang60	4.0.1	science parallel net	A High Performance Message Passing Library
openmpi-clang70	4.0.1	science parallel net	A High Performance Message Passing Library
openmpi-clang80	4.0.1	science parallel net	A High Performance Message Passing Library
openmpi-clang90	4.0.1	science parallel net	A High Performance Message Passing Library

Is there a reason why clang_compilers.tcl haven't been updated?

Change History (8)

comment:1 Changed 4 years ago by gaming-hacker (G Alexander)

The same is for port 'mpich'

clang

mpich-clang50	3.3.2	science parallel net	Message Passing Interface (MPI) Library
mpich-clang60	3.3.2	science parallel net	Message Passing Interface (MPI) Library
mpich-clang70	3.3.2	science parallel net	Message Passing Interface (MPI) Library
mpich-clang80	3.3.2	science parallel net	Message Passing Interface (MPI) Library
mpich-clang90	3.3.2	science parallel net	Message Passing Interface (MPI) Library

gcc

mpich-gcc5	3.3.2	science parallel net	Message Passing Interface (MPI) Library
mpich-gcc6	3.3.2	science parallel net	Message Passing Interface (MPI) Library
mpich-gcc7	3.3.2	science parallel net	Message Passing Interface (MPI) Library
mpich-gcc8	3.3.2	science parallel net	Message Passing Interface (MPI) Library

comment:2 Changed 4 years ago by gaming-hacker (G Alexander)

Keywords: clang10 gcc10 openmpi mpich added
Port: clang10 added

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

The PR you're referring to is for MacPorts base but there has not yet been a new release of MacPorts base since that PR was merged. We probably need to wait until we have released a new MacPorts base containing that change before we could make any changes to the ports tree that require that base change.

comment:4 Changed 4 years ago by mf2k (Frank Schima)

Keywords: clang10 gcc10 openmpi mpich removed
Type: updateenhancement

comment:5 Changed 4 years ago by kencu (Ken)

In the meantime, if you did want to use one of the newer clang versions to build something, you can use it manually using sudo port select to select the version of clang you would like to use. As you probably know, port select --list clang will give you a list of the available options.

Then to use that version of clang to build a certain port you would force it manually on the command line like this:

sudo port -v install MyFavouritePort configure.compiler=macports-clang

I am not sure if there's any way that that mechanism can be used with the openmpi ports, though.

This isn't really an error in the clang port, and there's nothing about clang-10 that needs to be fixed, but I guess we'll leave this ticket open in case somebody else stumbles across it, pending a new base being released.

Besides it makes me feel better to see tickets attached to ports that I am working with when I log into the system. Sense of belonging and all that.

comment:6 in reply to:  1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Port: openmpi added; clang10 removed

Replying to gaming-hacker:

The same is for port 'mpich'

mpich gcc10 support was added in [34bc752a538068e3f10187f8e5035491cb75e7e9/macports-ports].

comment:7 in reply to:  description Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to gaming-hacker:

but if I do a search on openmpi versions available, I get

The ticket for adding gcc10 support to openmpi is #60491.

comment:8 Changed 4 years ago by Thibaut METIVET <thibaut.metivet@…>

Owner: set to Thibaut METIVET <thibaut.metivet@…>
Resolution: fixed
Status: newclosed

In b4a75e0193b3f71ccbc606beca2d93048f2743cd/macports-ports (master):

openmpi: add clang-10

Closes: #60584

Note: See TracTickets for help on using tickets.