SConstruct (11500:024291dab733) | SConstruct (11798:e034a4566653) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2013, 2015, 2016 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 1488 unchanged lines hidden (view full) --- 1497 if not have_kvm: 1498 print "Warning: Can not enable KVM, host seems to lack KVM support" 1499 env['USE_KVM'] = False 1500 elif not is_isa_kvm_compatible(env['TARGET_ISA']): 1501 print "Info: KVM support disabled due to unsupported host and " \ 1502 "target ISA combination" 1503 env['USE_KVM'] = False 1504 | 1# -*- mode:python -*- 2 3# Copyright (c) 2013, 2015, 2016 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 1488 unchanged lines hidden (view full) --- 1497 if not have_kvm: 1498 print "Warning: Can not enable KVM, host seems to lack KVM support" 1499 env['USE_KVM'] = False 1500 elif not is_isa_kvm_compatible(env['TARGET_ISA']): 1501 print "Info: KVM support disabled due to unsupported host and " \ 1502 "target ISA combination" 1503 env['USE_KVM'] = False 1504 |
1505 if env['BUILD_GPU']: 1506 env.Append(CPPDEFINES=['BUILD_GPU']) 1507 |
|
1505 # Warn about missing optional functionality 1506 if env['USE_KVM']: 1507 if not main['HAVE_PERF_ATTR_EXCLUDE_HOST']: 1508 print "Warning: perf_event headers lack support for the " \ 1509 "exclude_host attribute. KVM instruction counts will " \ 1510 "be inaccurate." 1511 1512 # Save sticky variable settings back to current variables file --- 40 unchanged lines hidden --- | 1508 # Warn about missing optional functionality 1509 if env['USE_KVM']: 1510 if not main['HAVE_PERF_ATTR_EXCLUDE_HOST']: 1511 print "Warning: perf_event headers lack support for the " \ 1512 "exclude_host attribute. KVM instruction counts will " \ 1513 "be inaccurate." 1514 1515 # Save sticky variable settings back to current variables file --- 40 unchanged lines hidden --- |