Revision 3f163c3adde9ad2c85d99eb3bcc2a49290e2d769 authored by KristofferC on 27 September 2023, 14:02:24 UTC, committed by KristofferC on 29 September 2023, 09:12:04 UTC
1 parent b6a748f
lit.cfg.py
import os
import sys
import re
import platform
import lit.util
import lit.formats
config.name = 'Julia-GCChecker'
config.suffixes = ['.c','.cpp']
config.test_source_root = os.path.dirname(__file__)
config.test_format = lit.formats.ShTest(True)
config.substitutions.append(('%shlibext', '.dylib' if platform.system() == 'Darwin' else '.dll' if
platform.system() == 'Windows' else '.so'))
config.substitutions.append(("%julia_home", os.path.join(os.path.dirname(__file__), "../..")))
config.environment['HOME'] = "/tmp"
config.environment['CLANGSA_FLAGS'] = os.environ.get('CLANGSA_FLAGS', "")
config.environment['CLANGSA_CXXFLAGS'] = os.environ.get('CLANGSA_CXXFLAGS', "")
config.environment['CPPFLAGS'] = os.environ.get('CPPFLAGS', "")
config.environment['CFLAGS'] = os.environ.get('CFLAGS', "")
config.environment['CXXFLAGS'] = os.environ.get('CXXFLAGS', "")
if platform.machine() == "x86_64":
config.available_features.add('x86_64')
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...