|
From: | Brooks Moses |
Subject: | Re: pgcc -V: 'Portland Group' vs. 'NVIDIA CORPERATION' |
Date: | Wed, 09 Oct 2013 18:37:08 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
On 10/09/2013 04:14 PM, Brooks Moses wrote:
In any case, Christian, if you can provide a reasonably obvious libtool patch to handle "NVIDIA CORPORATION", I can at least review it and get it committed to trunk ... though, given the sample output you list, I wonder if it would be better to just match 'pgcc\ [0-9].*' or something like that. If we match "NVIDIA CORPORATION", it is likely to match other NVIDIA compilers (e.g., CUDA?) as well as having this issue again if they decide to change their capitalization or sell the compiler to another party.
Following up to my own post with a little more data. The CUDA compiler driver has this version info:
$ nvcc -V nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2013 NVIDIA Corporation Built on Wed_Jul_17_18:36:13_PDT_2013 Cuda compilation tools, release 5.5, V5.5.0I'm not very comfortable with the idea of relying on case to distinguish "NVIDIA CORPORATION" meaning pgcc from "NVIDIA Corporation" meaning nvcc -- or, given the inconsistency, with assuming that NVIDIA won't make those consistent in a release or two. Matching "pgcc\ [0-9].*" or the equivalent seems like the right thing to do.
- Brooks
[Prev in Thread] | Current Thread | [Next in Thread] |