def cmake_args(self):
    spec = self.spec
    compile_flags = '-O2 -g'
    cmake_args = [('-DCMAKE_CXX_FLAGS=%s' % compile_flags), ('-DCMAKE_C_FLAGS=%s' % compile_flags), ('-DCUDA_DIR=%s' % spec['cuda'].prefix), ('-DCUDA_INSTALL_PATH=%s' % spec['cuda'].prefix), ('-DCUDA_TOOLKIT_ROOT_DIR=%s' % spec['cuda'].prefix), ('-DCUPTI_DIR=%s' % spec['cuda'].prefix.extras.CUPTI), ('-DCUPTI_ROOT=%s' % spec['cuda'].prefix.extras.CUPTI), ('-DPAPI_ROOT=%s' % spec['papi'].prefix), ('-DCBTF_DIR=%s' % spec['cbtf'].prefix), ('-DCBTF_KRELL_DIR=%s' % spec['cbtf-krell'].prefix), ('-DBOOST_ROOT=%s' % spec['boost'].prefix), ('-DBoost_DIR=%s' % spec['boost'].prefix), ('-DBOOST_LIBRARYDIR=%s' % spec['boost'].prefix.lib), ('-DMRNET_DIR=%s' % spec['mrnet'].prefix), ('-DLIBMONITOR_DIR=%s' % spec['libmonitor'].prefix), '-DBoost_NO_SYSTEM_PATHS=ON']
    return cmake_args
def cmake_args(self):
    spec = self.spec
    compile_flags = '-O2 -g'
    cmake_args = [('-DCMAKE_CXX_FLAGS=%s' % compile_flags), ('-DCMAKE_C_FLAGS=%s' % compile_flags), ('-DCUDA_DIR=%s' % spec['cuda'].prefix), ('-DCUDA_INSTALL_PATH=%s' % spec['cuda'].prefix), ('-DCUDA_TOOLKIT_ROOT_DIR=%s' % spec['cuda'].prefix), ('-DCUPTI_DIR=%s' % spec['cuda'].prefix.extras.CUPTI), ('-DCUPTI_ROOT=%s' % spec['cuda'].prefix.extras.CUPTI), ('-DPAPI_ROOT=%s' % spec['papi'].prefix), ('-DCBTF_DIR=%s' % spec['cbtf'].prefix), ('-DCBTF_KRELL_DIR=%s' % spec['cbtf-krell'].prefix), ('-DBOOST_ROOT=%s' % spec['boost'].prefix), ('-DBoost_DIR=%s' % spec['boost'].prefix), ('-DBOOST_LIBRARYDIR=%s' % spec['boost'].prefix.lib), ('-DMRNET_DIR=%s' % spec['mrnet'].prefix), ('-DLIBMONITOR_DIR=%s' % spec['libmonitor'].prefix), '-DBoost_NO_SYSTEM_PATHS=ON']
    return cmake_args