]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
build procedures for centos/debian were separated
authorsbh <sergey.belash@opencascade.com>
Thu, 30 Apr 2015 13:32:00 +0000 (16:32 +0300)
committersbh <sergey.belash@opencascade.com>
Thu, 30 Apr 2015 13:32:00 +0000 (16:32 +0300)
eclipse_centos.sh [new file with mode: 0755]
eclipse_debian.sh [new file with mode: 0755]
make_centos.sh [new file with mode: 0755]
make_debian.sh [new file with mode: 0755]

diff --git a/eclipse_centos.sh b/eclipse_centos.sh
new file mode 100755 (executable)
index 0000000..ea5e02a
--- /dev/null
@@ -0,0 +1,25 @@
+
+# Find absolute path to ROOT_DIR
+export ROOT_DIR=$(pwd)/..
+export ROOT_DIR=`cd "${ROOT_DIR}";pwd`
+
+SRC_DIR=${ROOT_DIR}/sources
+
+source ${SRC_DIR}/linux_env.sh
+mkdir -p ${ROOT_DIR}/build-centos
+cd ${ROOT_DIR}/build-centos
+
+export LD_LIBRARY_PATH=${KERNEL_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}
+export LightAppConfig=${ROOT_DIR}/install/share/salome/resources/newgeom:${GUI_ROOT_DIR}/share/salome/resources/gui
+
+CMAKE_ARGS="-D_ECLIPSE_VERSION=4.3"
+CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Debug"
+CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=ON"
+CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${ROOT_DIR}/install"
+CMAKE_ARGS="${CMAKE_ARGS} -DPYTHON_EXECUTABLE=${PYTHONHOME}/bin/python"
+CMAKE_ARGS="${CMAKE_ARGS} -DUSE_TEST_COVERAGE=OFF"
+CMAKE_ARGS="${CMAKE_ARGS} ${SRC_DIR}"
+
+cmake -G "Eclipse CDT4 - Unix Makefiles" ${CMAKE_ARGS}
+
+/misc/dn48/newgeom/common/eclipse-4.4.0/eclipse&
diff --git a/eclipse_debian.sh b/eclipse_debian.sh
new file mode 100755 (executable)
index 0000000..f7d456a
--- /dev/null
@@ -0,0 +1,26 @@
+
+# Find absolute path to ROOT_DIR
+export ROOT_DIR=$(pwd)/..
+export ROOT_DIR=`cd "${ROOT_DIR}";pwd`
+
+SRC_DIR=${ROOT_DIR}/sources
+
+export INST_ROOT=/misc/dn48/newgeom/common/SALOME-7.5.1_Debian-6.0
+source ${SRC_DIR}/linux_env.sh
+mkdir -p ${ROOT_DIR}/build-debian
+cd ${ROOT_DIR}/build-debian
+
+export LD_LIBRARY_PATH=${KERNEL_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}
+export LightAppConfig=${ROOT_DIR}/install/share/salome/resources/newgeom:${GUI_ROOT_DIR}/share/salome/resources/gui
+
+CMAKE_ARGS="-D_ECLIPSE_VERSION=4.3"
+CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Debug"
+CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=ON"
+CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${ROOT_DIR}/install"
+CMAKE_ARGS="${CMAKE_ARGS} -DPYTHON_EXECUTABLE=${PYTHONHOME}/bin/python"
+CMAKE_ARGS="${CMAKE_ARGS} -DUSE_TEST_COVERAGE=OFF"
+CMAKE_ARGS="${CMAKE_ARGS} ${SRC_DIR}"
+
+cmake -G "Eclipse CDT4 - Unix Makefiles" ${CMAKE_ARGS}
+
+/misc/dn48/newgeom/common/eclipse-4.4.0/eclipse&
diff --git a/make_centos.sh b/make_centos.sh
new file mode 100755 (executable)
index 0000000..ef61abc
--- /dev/null
@@ -0,0 +1,18 @@
+
+# Find absolute path to ROOT_DIR
+export ROOT_DIR=$(pwd)/..
+export ROOT_DIR=`cd "${ROOT_DIR}";pwd`
+
+SRC_DIR=${ROOT_DIR}/sources
+
+source ${SRC_DIR}/linux_env.sh
+mkdir -p ${ROOT_DIR}/build
+cd ${ROOT_DIR}/build
+
+CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Release"
+CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${ROOT_DIR}/install"
+CMAKE_ARGS="${CMAKE_ARGS} ${SRC_DIR}"
+
+cmake -G "Unix Makefiles" ${CMAKE_ARGS}
+make
+make install
diff --git a/make_debian.sh b/make_debian.sh
new file mode 100755 (executable)
index 0000000..e2ce3a0
--- /dev/null
@@ -0,0 +1,19 @@
+
+# Find absolute path to ROOT_DIR
+export ROOT_DIR=$(pwd)/..
+export ROOT_DIR=`cd "${ROOT_DIR}";pwd`
+
+SRC_DIR=${ROOT_DIR}/sources
+
+export INST_ROOT=/misc/dn48/newgeom/common/SALOME-7.5.1_Debian-6.0
+source ${SRC_DIR}/linux_env.sh
+mkdir -p ${ROOT_DIR}/build-debian
+cd ${ROOT_DIR}/build-debian
+
+CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Release"
+CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${ROOT_DIR}/install"
+CMAKE_ARGS="${CMAKE_ARGS} ${SRC_DIR}"
+
+cmake -G "Unix Makefiles" ${CMAKE_ARGS}
+make
+make install