Exclude 32bit from supported systems
This commit is contained in:
@@ -71,7 +71,7 @@ public class Mac extends OS {
|
||||
@Override public boolean isSupported() {
|
||||
String[] ver = operatingSystem.getVersionInfo().getVersion().split("\\.");
|
||||
int majorVer = Integer.parseInt(ver[0]), minorVer = Integer.parseInt(ver[1]);
|
||||
return (majorVer == 10 && minorVer >= 13) || majorVer >= 11;
|
||||
return super.isSupported() && ((majorVer == 10 && minorVer >= 13) || majorVer >= 11);
|
||||
}
|
||||
|
||||
@Override public String getCUDALib() {
|
||||
|
||||
@@ -39,7 +39,7 @@ public abstract class OS {
|
||||
|
||||
public abstract String name();
|
||||
|
||||
public boolean isSupported() { return true; }
|
||||
public boolean isSupported() { return "64bit".equals(getCPU().arch()); }
|
||||
|
||||
/** Get the full version of the os.
|
||||
* For example windows, should give "windows 8.1"
|
||||
|
||||
@@ -76,7 +76,7 @@ public class Windows extends OS {
|
||||
|
||||
@Override public boolean isSupported() {
|
||||
String ver = operatingSystem.getVersionInfo().getVersion();
|
||||
return ver.equals("8.1") || ver.equals("10") || ver.equals("11");
|
||||
return super.isSupported() && (ver.equals("8.1") || ver.equals("10") || ver.equals("11"));
|
||||
}
|
||||
|
||||
int getPriorityClass(int priority) {
|
||||
|
||||
Reference in New Issue
Block a user