2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2015-08-20 08:25:30 +03:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2015-08-21 03:02:18 +03:00
|
|
|
do_rapl = False
|
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'Darwin' and CONFIG['CPU_ARCH'] == 'x86_64':
|
|
|
|
do_rapl = True
|
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'Linux' and CONFIG['OS_TARGET'] != 'Android' and \
|
|
|
|
CONFIG['CPU_ARCH'] in ('x86', 'x86_64'):
|
|
|
|
do_rapl = True
|
|
|
|
|
|
|
|
if do_rapl:
|
2015-08-20 08:25:30 +03:00
|
|
|
SimplePrograms([
|
|
|
|
'rapl',
|
|
|
|
])
|
|
|
|
|
2015-08-26 04:11:03 +03:00
|
|
|
DISABLE_STL_WRAPPING = True
|