aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-rc/ResourceScriptParser.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2017-10-06 19:23:19 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2017-10-06 19:23:19 +0000
commit3f850bfcf08f6bc4c0e0a0c847c0e57a2270ef9b (patch)
tree5154f9a7602db024704b8afeba6a5999f56dc3b3 /llvm/tools/llvm-rc/ResourceScriptParser.cpp
parent30df03b57e82ff8c8860992bbdc441d173a2d1c9 (diff)
downloadllvm-3f850bfcf08f6bc4c0e0a0c847c0e57a2270ef9b.zip
llvm-3f850bfcf08f6bc4c0e0a0c847c0e57a2270ef9b.tar.gz
llvm-3f850bfcf08f6bc4c0e0a0c847c0e57a2270ef9b.tar.bz2
KMP_HW_SUBSET vs KMP_PLACE_THREADS rival envirables fix
If both KMP_HW_SUBSET and KMP_PLACE_THREADS are set and KMP_PLACE_THREADS gets parsed first, then the current environment variable parser rejects both and neither get used. This patch uses the rivals mechanism that is used for other environment variable groups (e.g., KMP_STACKSIZE, GOMP_STACKSIZE, OMP_STACKSIZE). If both are set, then it tells the user that it is ignoring KMP_PLACE_THREADS in favor of KMP_HW_SUBSET. The message about deprecating KMP_PLACE_THREADS when it is set is still printed regardless. Differential Revision: https://reviews.llvm.org/D38292 llvm-svn: 315091
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions