tickets #106693
openAdd s390x with z13, z14 and z15 to posh.h to enable nvidia-texture-tools
0%
Description
The Graphic driver support has been enabled by SUSE for s390x.
Some nvidia packages reqiore nvidia-texture-tools. The build fails because posh.h can not identify any CPU for s390x.
The special file to edit is this one: https://github.com/castano/nvidia-texture-tools/blob/master/extern/poshlib/posh.h
The supported CPU types for s390x are listed on the LLVM page:
https://llvm.org/doxygen/Host_8cpp_source.html
return "generic";
case 2097:
case 2098:
return "z10";
case 2817:
case 2818:
return "z196";
case 2827:
case 2828:
return "zEC12";
case 2964:
case 2965:
return HaveVectorSupport? "z13" : "zEC12";
case 3906:
case 3907:
return HaveVectorSupport? "z14" : "zEC12";
case 8561:
case 8562:
return HaveVectorSupport? "z15" : "zEC12";
case 3931:
case 3932:
default:
return HaveVectorSupport? "arch14" : "zEC12";
We are using z13 and z15 in the OBS. These indicators (or CPU=native) should be detect the correct CPU type afterwards.
No data to display