[Vm-dev] VM Maker: CMakeVMMaker-EstebanLorenzano.213.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jul 31 13:20:59 UTC 2013

Esteban Lorenzano uploaded a new version of CMakeVMMaker to project VM Maker:

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

Name: CMakeVMMaker-EstebanLorenzano.213
Author: EstebanLorenzano
Time: 31 July 2013, 3:20:50.226 pm
UUID: 9de71d2d-aa6a-41cb-9234-5b040ba31287
Ancestors: CMakeVMMaker-EstebanLorenzano.212

- removed non necesary message
- some work (still not ready) for StackVM

=============== Diff against CMakeVMMaker-EstebanLorenzano.212 ===============

Item was changed:
  ----- Method: CPlatformConfig>>generateSources (in category 'source generation') -----
  	"Generate whole VM + plugins sources"
  	| maker |
  	self validateSourcesPresent.
  	self prepareForGeneration.
  	"suppress questions and deprecation warnings during generation "
  		maker := self prepareVMMaker.
  		maker interpreterClass: self interpreterClass.
  		self cogitClass ifNotNil: [:cg | 
  			maker cogitClass: cg.
- 			"this is ugly, before VMMaker will be fixed to initialize stuff properly"
- 			Cogit initializeCompilationWithConstantsOptions: Dictionary new.
  			cg initializeWithOptions: (maker instVarNamed: 'optionsDictionary')
  		maker generateEntire
  	] on: ProvideAnswerNotification do: [:ex | ex resume: true ]]
  	on: Deprecation do: [:ex | ex resume ].

Item was changed:
+ ----- Method: StackCocoaIOSCLANGConfig>>coreSources (in category 'source files') -----
- ----- Method: StackCocoaIOSCLANGConfig>>coreSources (in category 'as yet unclassified') -----
  " can't use GCC stuff "
  	^ #(

Item was changed:
+ ----- Method: StackCocoaIOSCLANGConfig>>setExtraTargetProperties: (in category 'settings') -----
- ----- Method: StackCocoaIOSCLANGConfig>>setExtraTargetProperties: (in category 'as yet unclassified') -----
  setExtraTargetProperties: maker
  	maker set: 'CMAKE_C_COMPILER' to: 'clang'.
  	super setExtraTargetProperties: maker!

Item was added:
+ ----- Method: StackCocoaIOSCLANGConfig>>setGlobalOptions: (in category 'settings') -----
+ setGlobalOptions: maker
+ 	maker set: 'CMAKE_C_COMPILER' to: '/usr/bin/clang'.
+ 	maker set: 'CMAKE_CXX_COMPILER' to: '/usr/bin/clang++'.!

Item was removed:
- ----- Method: StackCocoaIOSConfig>>commonCompilerFlags (in category 'settings') -----
- commonCompilerFlags 
- 	^super commonCompilerFlags, #('-DSTACKVM')!

Item was added:
+ ----- Method: StackCocoaIOSConfig>>compilerFlagsRelease (in category 'settings') -----
+ compilerFlagsRelease 
+ 	^#(
+ 	'-g0' '-O0' '-DNDEBUG' '-DDEBUGVM=0'
+ 	'-fomit-frame-pointer'
+ 	'-fdefer-pop -fdelayed-branch -fguess-branch-probability -fcprop-registers -fif-conversion -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants'
+ 	'-fthread-jumps -fcrossjumping -foptimize-sibling-calls -fcse-follow-jumps  -fcse-skip-blocks -fgcse  -fgcse-lm -fexpensive-optimizations -frerun-cse-after-loop -fcaller-saves -fpeephole2 -fschedule-insns  -fschedule-insns2 -fsched-interblock  -fsched-spec -fregmove -fstrict-aliasing -fstrict-overflow -fdelete-null-pointer-checks -freorder-blocks -freorder-functions -falign-functions -falign-jumps -falign-loops  -falign-labels -ftree-vrp -ftree-pre'
+ 	'-finline-functions -funswitch-loops -fgcse-after-reload')!

More information about the Vm-dev mailing list