Checking for v9v/64v capability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


RPM offers the targets sparcv9v/sparc64v (which is, simply put,
cflags += -mtune=niagara).

On a sun4v, it would make sense to prefer v9v/64v packages over v9/64
packages — and the reverse on sun4u — when a package manager
considers potential candidate files for installation of a wanted
package.

But how would the package manager (apt-get/yum/zypper) decide whether 
they are on sun4v or not, without resorting to testing for 
SPARC-specific hardware itself? That is to say, I think the kernel 
should hand out this information in some way perhaps. Solaris's uname(2) 
syscall would directly return sun4[cduv], while Linux just outputs 
sparc/sparc64.


thanks,
Jan
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux