mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
Revert "[openmp] [test] Set __COMPAT_LAYER=RunAsInvoker when running tests on Windows"
This reverts commit63f0fdc262
. Sincef1431bbfb1
, this environment variable is always set up by lit itself, so individual test suites don't need to set it. Differential Revision: https://reviews.llvm.org/D149356
This commit is contained in:
parent
db171f2fb5
commit
1bd3fba8f7
@ -120,14 +120,6 @@ if target_arch:
|
||||
if target_arch in ['x86_64', 'i386']:
|
||||
config.available_features.add('x86-target-arch')
|
||||
|
||||
# Avoid Windows heuristics which try to detect potential installer programs
|
||||
# (which may need to run with elevated privileges) and ask if the user wants
|
||||
# to run them in that way. This heuristic may match for executables containing
|
||||
# the word "patch" which is a substring of "dispatch". Set an environment
|
||||
# variable indicating that we want to execute them with the current user.
|
||||
if config.operating_system == 'Windows':
|
||||
config.environment['__COMPAT_LAYER'] = 'RunAsInvoker'
|
||||
|
||||
import multiprocessing
|
||||
try:
|
||||
if multiprocessing.cpu_count() > 1:
|
||||
|
Loading…
Reference in New Issue
Block a user