Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to put script before and after install simgrid on mac
authorpierre <pierre@chontal.imag.fr>
Thu, 7 Jun 2012 09:04:09 +0000 (11:04 +0200)
committerpierre <pierre@chontal.imag.fr>
Thu, 7 Jun 2012 09:04:28 +0000 (11:04 +0200)
buildtools/Cmake/SimGrid.packproj
buildtools/Cmake/postinstall.sh [new file with mode: 0755]
buildtools/Cmake/preinstall.sh [new file with mode: 0755]
doc/webcruft/SGicon.icns
postinstall.sh [deleted file]

index 2dde527..9b66da2 100644 (file)
                                        <key>IFInstallationScriptsPostinstall</key>
                                        <dict>
                                                <key>Path</key>
-                                               <string></string>
+                                               <string>postinstall.sh</string>
+                                               <key>Path Type</key>
+                                               <integer>2</integer>
                                                <key>Status</key>
-                                               <false/>
+                                               <true/>
                                        </dict>
                                        <key>IFInstallationScriptsPostupgrade</key>
                                        <dict>
                                        <key>IFInstallationScriptsPreinstall</key>
                                        <dict>
                                                <key>Path</key>
-                                               <string></string>
+                                               <string>preinstall.sh</string>
+                                               <key>Path Type</key>
+                                               <integer>2</integer>
                                                <key>Status</key>
-                                               <false/>
+                                               <true/>
                                        </dict>
                                        <key>IFInstallationScriptsPreupgrade</key>
                                        <dict>
diff --git a/buildtools/Cmake/postinstall.sh b/buildtools/Cmake/postinstall.sh
new file mode 100755 (executable)
index 0000000..ef11450
--- /dev/null
@@ -0,0 +1,3 @@
+#! /bin/sh
+echo "export SIMGRID_ROOT=/Applications/SimGrid" >> ~/.profile
+echo "export DYLD_LYBRARY_PATH=$DYLD_LYBRARY_PATH:$SIMGRID_ROOT/lib" >> ~/.profile
\ No newline at end of file
diff --git a/buildtools/Cmake/preinstall.sh b/buildtools/Cmake/preinstall.sh
new file mode 100755 (executable)
index 0000000..f093e59
--- /dev/null
@@ -0,0 +1,3 @@
+#! /bin/bash
+echo "\n#SIMGRID ICEBERG" >> ~/.profile
+return 0
\ No newline at end of file
index 40025ab..8200321 100644 (file)
Binary files a/doc/webcruft/SGicon.icns and b/doc/webcruft/SGicon.icns differ
diff --git a/postinstall.sh b/postinstall.sh
deleted file mode 100755 (executable)
index 47002ad..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#! /bin/sh
-export LD_LIBRARY_PATH=$3/lib:$LD_LIBRARY_PATH
-export JAVA_LIBRARY_PATH=:$3/lib:$JAVA_LIBRARY_PATH
-cd $1
-echo "LD_LIBRARY_PATH   = $LD_LIBRARY_PATH"
-echo "JAVA_LIBRARY_PATH = $JAVA_LIBRARY_PATH"
-pwd
-echo "java -cp .:$3/simgrid.jar $2 *platform.xml *deployment.xml"
-java -cp .:$3/simgrid.jar $2 *platform.xml *deployment.xml