OSF Development Environment IBM modified
ODE has tooling for building projects written in C, C++, and Java.
It is used for building on many platforms, including Linux and Windows.
As coded, you will need to install the ksh
package to run an ODE build.
You need to set TOOLSBASE environment variable to the directory where the ODE binaries can be found
export TOOLSBASE=${HOME}/eclipse-workspace/ode/ODE/inst.images/x86_linux_2/bin/
You need to set PATH environment variable to the directory where the ODE binaries can be found
export PATH=${HOME}/eclipse-workspace/ode/ODE/inst.images/x86_linux_2/bin/:$PATH
You need to set LD_LIBRARY_PATH to the directory where the library lib0500.so can be found
export LD_LIBRARY_PATH=${HOME}/eclipse-workspace/ode/ODE/inst.images/x86_linux_2/bin/:$LD_LIBRARY_PATH
This package includes assistance for bootstrapping for linux in directory bootstrap
; there is a script bootstrap/bin/bootstrap_linux
which should bootstrap for linux on whatever processor architecture you need. This script has been tested on Fedora 38 and RHEL8, both on x86_64. Part of the bootstrap process writes to ~/.sandboxrc
; if you want to retry the bootstrap process you should remove or rename this file.
There is a log of a successful bootstrap run in bootstrap/bootstrap_log.txt
The resulting installable file tree is in ODE/inst.images/x86_linux_2
.
A prebuilt ODE for x86_linux_2 is also supplied.
The files under bootstrap/prebuilt/fedora38
were built by Fedora 38, and the
files under bootstrap/prebuilt/rhel8
were built by Red Hat Enterprise Linux 8. It should not be necessary to use this prebuilt ODE as the bootstrap_linux should succeed.
There is a MakeMake
Java tool in sandbox bbexample
which is useful to
make an initial set of ODE makefiles for a project which has previously been
built with another build system. This builds if you run bootstrap/bin/build_bbexample
, and you can run it with a command such as
tjcw:classes$ pwd
/home/tjcw/eclipse-workspace/ode/ODE/src/bbexample/export/classes
tjcw:classes$ java -cp MakeMake.jar COM.ibm.makemake.bin.MakeMake -sub /home/tjcw/eclipse-workspace/BlueMatter/svntrunk/src
tjcw:classes$
. Its usage message is
tjcw:classes$ java -cp MakeMake.jar COM.ibm.makemake.bin.MakeMake -usage
Usage: MakeMake [options] <path>
path: The root directory of the source tree.
options:
-mfname <makefile name>
-sub
-clobber
-info -usage -version -rev
tjcw:classes$
A sample project buildable with ODE is available with git clone git@github.com:IBM/BlueMatter.git
Make a sandbox with a command like
mksb -back ${HOME}/eclipse-workspace/ode/ODE/ -dir ${HOME}/eclipse-workspace/BlueMatter/ -m x86_linux_2 svntrunk
Select the sandbox with
workon -sb svntrunk
Attempt the build with
TRY_LINUX_BUILD_ANYWAY=1 build -k