fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#include <iostream>
|
||||
#include <omp.h>
|
||||
|
||||
int main(void) {
|
||||
#ifdef _OPENMP
|
||||
if (omp_get_max_threads() == 2) {
|
||||
return 0;
|
||||
} else {
|
||||
std::cout << "Max threads is " << omp_get_max_threads() << " not 2." << std::endl;
|
||||
return 1;
|
||||
}
|
||||
#else
|
||||
printf("_OPENMP is not defined; is OpenMP compilation working?\n");
|
||||
return 1;
|
||||
#endif
|
||||
}
|
||||
Reference in New Issue
Block a user