Warning! We have ended support for Kiln Harmony. We will continue to support Mercurial and Git repositories individually, but not both at the same time.

Please convert this repository to either a Mercurial or Git repository. To do so, have an Admin go to Settings, then click "Convert Repository to Git-only or Mercurial-only", and follow the instructions there.

Alternatively, you can see a list of all Harmony repos, and convert many at once here.

If you have any questions or concerns, please contact us at customer-service@fogcreek.com.

Mercurial
Repositories » pharo-vm Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in tip and develop

- removing old cruft
- added top-level build.sh script

Changeset 206877ec621f

Parent ee44cd292a8c

by Profile picture of User 2Camillo Bruni <camillobruni@gmail.com>

Changes to 7 files · Browse files at 206877ec621f Showing diff from parent ee44cd292a8c Diff from another changeset...

Change 1 of 1 Show Entire File .travis.yml Stacked
 
5
6
7
8
9
10
11
12
13
14
 
 
 
 
5
6
7
 
 
 
 
 
 
 
 
8
 
@@ -5,10 +5,4 @@
  - sudo apt-get install gcc cmake lib32c-dev libasound2-dev libssl-dev libfreetype6-dev libgl1-mesa-dev zip bash-completion htop ruby git xz-utils build-essential debhelper devscripts   - sudo apt-get install libc6:i386  script: - - codegen-scripts/extract-commit-info.sh - - cd image - - ./newImage.sh - - "echo \"PharoVMBuilder buildOnJenkins: '$OS'.\" > ./script.st - - wget -O- get.pharo.org/vm | bash - - ./pharo generator.image script.st" - - cd build/build.sh \ No newline at end of file
+ - build.sh \ No newline at end of file
Change 1 of 1 Show Entire File build.sh Stacked
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 
@@ -0,0 +1,32 @@
+# ARGUMENT HANDLING ============================================================= +if { [ "$1" = "-h" ] || [ "$1" = "--help" ]; }; then + echo "This script builds the VM for the currently running platform. +" + exit 0; +elif [ $# -gt 0 ]; then + echo "--help is the only argument allowed" + exit 1; +fi + +# DETECT SYSTEM PROPERTIES ====================================================== +TMP_OS=`uname | tr "[:upper:]" "[:lower:]"` +if [[ "{$TMP_OS}" = *darwin* ]]; then + OS="mac"; +elif [[ "{$TMP_OS}" = *linux* ]]; then + OS="linux"; +elif [[ "{$TMP_OS}" = *win* ]]; then + OS="win"; +elif [[ "{$TMP_OS}" = *mingw* ]]; then + OS="win"; +else + echo "Unsupported OS"; + exit 1; +fi + +# =============================================================================== +codegen-scripts/extract-commit-info.sh +cd image +./newImage.sh +echo "PharoVMBuilder buildOnJenkins: '$OS'." > ./script.st +./pharo generator.image script.st +cd ../build/build.sh \ No newline at end of file
Change 1 of 1 Show Entire File codegen-scripts/​CogUnix.st Stacked
 
1
2
3
4
5
 
 
 
 
 
 
@@ -1,5 +0,0 @@
-CogUnixConfig generateWithSources. - -Smalltalk snapshot: false andQuit: true. - -
Change 1 of 1 Show Entire File codegen-scripts/​buildImage.sh Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,16 +0,0 @@
-# set $SQUEAKVM env var to path to VM binary -# for example: -# export SQUEAKVM=/home/sig/vm/bin/squeak; sh ./buildImage.sh -headless - -rm -rf ../src -rm -rf ../build -mkdir -p ../build -cp ./image.url ../build -cp ./LoadVMMaker.st ../build -cd ../build || exit - -wget --no-check-certificate -i ./image.url -O ./image.zip -unzip -jbo ./image.zip -IMAGE=`ls *.image` -$SQUEAKVM "$1" $IMAGE ./LoadVMMaker.st -
Change 1 of 1 Show Entire File codegen-scripts/​generate.cmd Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,16 +0,0 @@
-# Example script for generating the sources and build config on Windows platform -# pass the configuration class name as argument -# The $SQUEAKVM env var should be set to path to VM binary -# The generator.image should be located in ../build directory. -# -# generate.cmd CogMsWindowsConfig -# - -rmdir /S /Q ..\src -cd ..\build || exit -del /Q PharoDebug.log - -echo %1 generateWithSources. Smalltalk snapshot: false andQuit: true. > ./script.st - -%SQUEAKVM% -headless generator.image script.st -
Change 1 of 1 Show Entire File codegen-scripts/​generate.sh Stacked
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
@@ -1,18 +0,0 @@
-# script for generating the sources and build config -# pass the configuration class name as argument -# The $SQUEAKVM env var should be set to path to VM binary -# for example: -# -# export SQUEAKVM=/home/sig/vm/bin/squeak -# -# sh ./generate.sh -headless CogUnixConfig -# - -rm -rf ../src -cd ../build || exit -rm PharoDebug.log - -echo "$2 generateWithSources. Smalltalk snapshot: false andQuit: true." > ./script.st - -$SQUEAKVM "$1" generator.image script.st -
Change 1 of 1 Show Entire File codegen-scripts/​image.url Stacked
 
1
 
 
@@ -1,1 +0,0 @@
-http://pharo-ic.lille.inria.fr/hudson/job/Pharo%20Core%201.3/lastSuccessfulBuild/artifact/PharoCore-1.3.zip