VM Maker: CMakeVMMaker-EstebanLorenzano.159.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

VM Maker: CMakeVMMaker-EstebanLorenzano.159.mcz

commits-2
 
Esteban Lorenzano uploaded a new version of CMakeVMMaker to project VM Maker:
http://source.squeak.org/VMMaker/CMakeVMMaker-EstebanLorenzano.159.mcz

==================== Summary ====================

Name: CMakeVMMaker-EstebanLorenzano.159
Author: EstebanLorenzano
Time: 1 May 2012, 12:46:41.858 pm
UUID: ee94bf0a-877f-4a29-b7d5-e3bf24c209a9
Ancestors: CMakeVMMaker-GuillermoPolito.158

-added AioPlugin and SqueakSSLPlugin for cocoa builds

=============== Diff against CMakeVMMaker-GuillermoPolito.158 ===============

Item was changed:
  ----- Method: CocoaIOSConfig>>commonCompilerFlags (in category 'accessing') -----
  commonCompilerFlags
  "Common compiler flags"
+ ^#('-arch i386' '-mmacosx-version-min=10.5' '-DHAVE_UUID_GENERATE')!
- ^#('-arch i386' "'-fnext-runtime'" '-mmacosx-version-min=10.4' '-DHAVE_UUID_GENERATE')!

Item was changed:
  ----- Method: CogFamilyCocoaIOSConfig>>commonCompilerFlags (in category 'settings') -----
  commonCompilerFlags
  ^super commonCompilerFlags,
+ #(
+ '-funroll-loops'
+ '-fasm-blocks'
+ '-finline-functions'
+ '-mfpmath=sse'
+ '-march=pentium-m'
+ '-mtune=prescott'
+ '-falign-functions=16'
+ '-fno-gcse'
+ '-fno-cse-follow-jumps'
+ '-std=gnu99'
+ '-DBUILD_FOR_OSX'
+ '-DUSE_INLINE_MEMORY_ACCESSORS=1'
+ '-DLSB_FIRST'
+ '-DHAVE_SYS_TIME_H'
+ '-DHAVE_NANOSLEEP'
+ '-DCOGMTVM=0'
+ '-DUSE_GLOBAL_STRUCT=0'
+ '-DBASE_HEADER_SIZE=4')!
- #('-funroll-loops' '-fasm-blocks' '-finline-functions' '-mfpmath=sse' '-march=pentium-m' '-mtune=prescott' '-falign-functions=16' '-fno-gcse' '-fno-cse-follow-jumps' '-std=gnu99' '-DBUILD_FOR_OSX' '-DUSE_INLINE_MEMORY_ACCESSORS' '-DLSB_FIRST' '-DHAVE_SYS_TIME_H' '-DHAVE_NANOSLEEP' '-DCOGMTVM=0' '-DUSE_GLOBAL_STRUCT=0' '-DBASE_HEADER_SIZE=4')!

Item was changed:
  ----- Method: CogFamilyCocoaIOSConfig>>compilerFlagsDebug (in category 'settings') -----
  compilerFlagsDebug
  ^#('-g3' '-O0' '-DDEBUGVM=1')!

Item was changed:
  ----- Method: CogFamilyCocoaIOSConfig>>compilerFlagsRelease (in category 'settings') -----
  compilerFlagsRelease
+ ^#('-g0' '-O3' '-fomit-frame-pointer' '-DNDEBUG' '-DDEBUGVM=0')!
- ^#('-g0' '-Os' '-fomit-frame-pointer' '-DNDEBUG' '-DDEBUGVM=0')!

Item was added:
+ ----- Method: CogFamilyCocoaIOSConfig>>configureSqueakSSLPlugin: (in category 'plugin extra rules') -----
+ configureSqueakSSLPlugin: maker
+ maker addPlatformSources: #('sqMacSSL.c').!

Item was added:
+ ----- Method: CogFamilyCocoaIOSConfig>>configureUnixAioPlugin: (in category 'plugin extra rules') -----
+ configureUnixAioPlugin: maker
+ maker includeDirectories: '${crossDir}/plugins/FilePlugin'.
+ maker includeDirectories: '${platformsDir}/Cross/plugins/SocketPlugin'.!

Item was changed:
  ----- Method: CogFamilyCocoaIOSConfig>>defaultExternalPlugins (in category 'plugins') -----
  defaultExternalPlugins
  ^(self versionExternalPlugins),
  #(
  UUIDPlugin
  FloatMathPlugin
  AsynchFilePlugin
  SerialPlugin
  Mpeg3Plugin
  CroquetPlugin
  JoystickTabletPlugin
  MIDIPlugin
  B3DAcceleratorPlugin
  LocalePlugin
  ObjectiveCPlugin
  QuicktimePlugin
  TestOSAPlugin
+ SqueakSSLPlugin
  "UnixOSProcessPlugin"
  )!

Item was changed:
  ----- Method: CogFamilyCocoaIOSConfig>>defaultInternalPlugins (in category 'plugins') -----
  defaultInternalPlugins
  ^ #(
  ADPCMCodecPlugin
  BMPReadWriterPlugin
  BalloonEnginePlugin
  BitBltSimulation
  ClipboardExtendedPlugin
  DSAPlugin
  DeflatePlugin
  DropPlugin
  FFTPlugin
  FilePlugin
  FloatArrayPlugin
  GeniePlugin
  HostWindowPlugin
  JPEGReadWriter2Plugin
  JPEGReaderPlugin
  KlattSynthesizerPlugin
  LargeIntegersPlugin
  "MacMenubarPlugin" "This plugin is not yet ported"
  Matrix2x3Plugin
  MiscPrimitivePlugin
  RePlugin
  SecurityPlugin
  SocketPlugin
  SoundCodecPlugin
  SoundGenerationPlugin
  SoundPlugin
  StarSqueakPlugin
  SurfacePlugin
+ UnixAioPlugin
  UnixOSProcessPlugin
  )!

Item was added:
+ ----- Method: StackIPhoneConfig>>compilerFlagsRelease (in category 'settings') -----
+ compilerFlagsRelease
+ ^#('-g0' '-O2' '-fomit-frame-pointer' '-DNDEBUG' '-DDEBUGVM=0' '-DSTACKVM')!

Item was changed:
  ----- Method: StackIPhoneConfig>>setExtraTargetProperties: (in category 'settings') -----
  setExtraTargetProperties: maker
  "super setExtraTargetProperties: maker."
 
  | precompiledHeaders plist |
 
  precompiledHeaders := (self executableName, '_Prefix.pch').
  (maker buildDir forceNewFileNamed: precompiledHeaders)
  nextPutAll: self precompiledHeaders;
  close.
 
  maker addXCodeProperty: 'GCC_PREFIX_HEADER' value: '${buildDir}/', precompiledHeaders.
 
  self setCommonProperties: maker.
 
  " generated and add Info.plist file "
  plist := self plistFile.
  (maker buildDir forceNewFileNamed: 'Info.plist')
  nextPutAll: plist;
  close.
 
  maker addProperty: 'MACOSX_BUNDLE_INFO_PLIST' value: '${buildDir}/Info.plist'.  
  maker
  cmd: 'set_target_properties'
  params: self executableName, ' PROPERTIES COMPILE_FLAGS "-include \"', (self buildDir / self prefixHeaderFileName) fullName, '\""'.
 
  maker set: 'CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY' toString: self codeSignIdentity.
  maker set: 'CMAKE_XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY' toString: self targetedDeviceFamilyAsString.
  maker set: 'CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET' to: self deploymentTargetVersion.
+ maker set: 'EXECUTABLE_OUTPUT_PATH' toString: self outputDir.
+
+ maker puts: 'set_source_files_properties(${srcVMDir}/gcc3x-cointerp.c PROPERTIES COMPILE_FLAGS -O0)'
+ !
- maker set: 'EXECUTABLE_OUTPUT_PATH' toString: self outputDir.!