def subsystem_dependencies(cls): return super(NativeTask, cls).subsystem_dependencies() + ( # We use a globally-scoped dependency on NativeBuildSettings because the toolchain and # dependency calculation need to be the same for both compile and link tasks (and subscoping # would break that). NativeBuildSettings, NativeToolchain.scoped(cls), )
def subsystem_dependencies(cls): return super().subsystem_dependencies() + ( # We use a globally-scoped dependency on NativeBuildSettings because the toolchain and # dependency calculation need to be the same for both compile and link tasks (and subscoping # would break that). NativeBuildSettings, NativeToolchain.scoped(cls), )
def subsystem_dependencies(cls): return super(PythonNativeCode, cls).subsystem_dependencies() + ( NativeToolchain.scoped(cls), # We generally have to use PythonSetup's global instance, as methods such as # `dump_requirements` will use it directly. # TODO: when subsystems are more easily requestable from the v2 engine, this restriction could # be removed! PythonSetup, )
def _toolchain(self): return NativeToolchain.scoped_instance(self)
def subsystem_dependencies(cls): return super(CCompile, cls).subsystem_dependencies() + ( CCompileSettings.scoped(cls), NativeToolchain.scoped(cls), )
def subsystem_dependencies(cls): return super(NativeTask, cls).subsystem_dependencies() + ( NativeBuildSettings.scoped(cls), NativeToolchain.scoped(cls), )
def subsystem_dependencies(cls): return super(PythonNativeCode, cls).subsystem_dependencies() + ( NativeToolchain.scoped(cls), PythonSetup, )
def _native_toolchain(self): return NativeToolchain.scoped_instance(self)
def subsystem_dependencies(cls): return super(CppCompile, cls).subsystem_dependencies() + ( CppCompileSettings.scoped(cls), NativeToolchain.scoped(cls), )
def subsystem_dependencies(cls): return super(LinkSharedLibraries, cls).subsystem_dependencies() + ( NativeToolchain.scoped(cls), )
def subsystem_dependencies(cls): return super( BuildLocalPythonDistributions, cls).subsystem_dependencies() + (NativeToolchain.scoped(cls), )
def subsystem_dependencies(cls): return super(BuildLocalPythonDistributions, cls).subsystem_dependencies() + (NativeToolchain.scoped(cls),)
def subsystem_dependencies(cls): return super(PythonNativeCode, cls).subsystem_dependencies() + ( NativeToolchain.scoped(cls), PythonSetup, )