Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.
9 changes: 6 additions & 3 deletions cmake/vmmaker.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

set(CMAKE_VERBOSE_MAKEFILE TRUE)


#Setting vmmaker directory and image
set( VMMAKER_DIR "${CMAKE_CURRENT_BINARY_DIR_TO_OUT}/build/vmmaker")
set( VMMAKER_IMAGE "${VMMAKER_DIR}/image/VMMaker.image")
Expand Down Expand Up @@ -115,10 +116,12 @@ if(GENERATE_SOURCES)
BUILD_COMMAND echo "preparing VMMaker image "
COMMAND ${CMAKE_CURRENT_SOURCE_DIR_TO_OUT}/scripts/copyImageIfDoesNotExists.sh ${VMMAKER_IMAGE} ${VMMAKER_DIR}/image/Pharo9.0-SNAPSHOT-64bit-ac4bf08.image
COMMAND ${VMMAKER_VM} --headless ${VMMAKER_IMAGE} --no-default-preferences --save --quit "${CMAKE_CURRENT_SOURCE_DIR_TO_OUT}/scripts/installVMMaker.st" "${CMAKE_CURRENT_SOURCE_DIR_TO_OUT}" "${ICEBERG_DEFAULT_REMOTE}"
BUILD_BYPRODUCTS ${VMMAKER_IMAGE}

UPDATE_COMMAND echo
CONFIGURE_COMMAND echo
INSTALL_COMMAND echo

PREFIX "${VMMAKER_DIR}"
SOURCE_DIR "${VMMAKER_DIR}/image"
BUILD_IN_SOURCE True
Expand All @@ -131,9 +134,9 @@ if(GENERATE_SOURCES)
add_custom_command(
OUTPUT ${VMSOURCEFILES} ${PLUGIN_GENERATED_FILES}
COMMAND ${VMMAKER_VM} --headless ${VMMAKER_IMAGE} --no-default-preferences eval \"PharoVMMaker generate: \#\'${FLAVOUR}\' outputDirectory: \'${CMAKE_CURRENT_BINARY_DIR_TO_OUT}\'\"
DEPENDS build_vmmaker_get_image
DEPENDS build_vmmaker_get_image ${VMMAKER_IMAGE}
COMMENT "Generating VM files for flavour: ${FLAVOUR}")

add_custom_target(vmmaker DEPENDS build_vmmaker_get_image)
add_custom_target(generate-sources DEPENDS ${VMSOURCEFILES} ${PLUGIN_GENERATED_FILES})

Expand Down
4 changes: 2 additions & 2 deletions smalltalksrc/VMMaker/SpurMemoryManager.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ SpurMemoryManager class >> declareCVarsIn: aCCodeGenerator [

{ #category : #'api characterization' }
SpurMemoryManager class >> hasSpurMemoryManagerAPI [
^true
^ true
]

{ #category : #analysis }
Expand Down Expand Up @@ -5921,7 +5921,7 @@ SpurMemoryManager >> hasSixtyFourBitImmediates [

{ #category : #'api characterization' }
SpurMemoryManager >> hasSpurMemoryManagerAPI [
^true
^ true
]

{ #category : #'object testing' }
Expand Down