cpu-throttling-check
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sat, 24 Jan 2015 22:06:27 +0000 (22:06 +0000)
committerSébastien Villemot <sebastien@debian.org>
Sat, 24 Jan 2015 22:06:27 +0000 (22:06 +0000)
Gbp-Pq: Name cpu-throttling-check.diff

CONFIG/src/config.c

index 434b034e7bdb59a88150b209f4cc622cca877ce6..7b429fb1eb4147f7a4e143d794fff4ddc3a8b6b1 100644 (file)
@@ -928,10 +928,8 @@ void PrintUsage(char *name, int iarg, char *arg)
         "      -Si nocygwin <0/1> : Do/don't depend on GPL cygwin library\n");
       fprintf(stderr,
         "                           (Windows compiler/cygwin install only)\n");
-/* Disabled due to abuse
       fprintf(stderr,
         "      -Si cputhrchk <0/1> : Ignore/heed CPU throttle probe\n");
- */
       fprintf(stderr,
            "   -tl <#> <list> : set # of threads, use list of affinity IDs\n");
       fprintf(stderr,
@@ -1129,6 +1127,8 @@ void GetFlags(int nargs,                /* nargs as passed into main */
             *NoF77 = k;
          else if (!strcmp(sp0, "nocygwin"))
             *NoCygwin = k;
+         else if (!strcmp(sp0, "cputhrchk"))
+            *ThrChk = k;
          else if (!strcmp(sp0, "kern"))
             gcc3 = sp;
          else if (!strcmp(sp0, "ADdir") || !strcmp(sp0, "addir"))