def __init__(self): BinaryPackageBase.__init__(self) if compiler.isMinGW(): self.subinfo.options.package.version = compiler.getMinGWVersion()
def __init__( self ): self.subinfo = subinfo() BinaryPackageBase.__init__( self ) if compiler.isMinGW(): self.subinfo.options.package.version = compiler.getMinGWVersion()
self.patchToApply['2.8.0'] = [('pthreads-w32-2-8-0-release-20110729.diff', 1)] self.patchToApply['2.9.1'] = [('pthreads-w32-2-9-1-release-20130901.diff', 1)] self.targetDigests['2.8.0'] = 'da8371cb20e8e238f96a1d0651212f154d84a9ac' self.targetDigests['2.9.1'] = '24d40e89c2e66a765733e8c98d6f94500343da86' self.shortDescription = 'a POSIX thread implementation for windows' self.defaultTarget = '2.9.1' def setDependencies( self ): self.buildDependencies['virtual/base'] = 'default' from Package.CMakePackageBase import * from Package.VirtualPackageBase import * class PthreadsPackage(CMakePackageBase): def __init__( self, **args ): CMakePackageBase.__init__(self) self.subinfo.options.configure.defines = " -DBUILD_TESTS=OFF" if compiler.isMSVC() or compiler.isIntel() or compiler.getMinGWVersion() == "4.4.7": class Package(PthreadsPackage): def __init__( self ): PthreadsPackage.__init__( self ) else: class Package(VirtualPackageBase): def __init__( self ): VirtualPackageBase.__init__( self )
'2.9.1'] = '24d40e89c2e66a765733e8c98d6f94500343da86' self.shortDescription = 'a POSIX thread implementation for windows' self.defaultTarget = '2.9.1' def setDependencies(self): self.buildDependencies['virtual/base'] = 'default' from Package.CMakePackageBase import * from Package.VirtualPackageBase import * class PthreadsPackage(CMakePackageBase): def __init__(self, **args): CMakePackageBase.__init__(self) self.subinfo.options.configure.defines = " -DBUILD_TESTS=OFF" if compiler.isMSVC() or compiler.isIntel() or compiler.getMinGWVersion( ) == "4.4.7": class Package(PthreadsPackage): def __init__(self): PthreadsPackage.__init__(self) else: class Package(VirtualPackageBase): def __init__(self): VirtualPackageBase.__init__(self)