-
Notifications
You must be signed in to change notification settings - Fork 0
2.1.04 Build From GitHub Repo
Please review the sections on "Build Dependencies" and "Pre-build Configurations" before actually starting to build.
The recommended install route is to build and install from the source RPM. However, you can build directly from the GitHub repo as well.
Following GNU build tools minimum versions are requirement for configuring and building Sensys from the GitHub development repo.
- autoconf: 2.69 from https://www.gnu.org/software/autoconf/
- automake: 1.12.2 from http://www.gnu.org/software/automake/
- libtool: 2.4.2 from https://www.gnu.org/software/libtool/
It is recommended to download and install the .tar.gz file of each, untar and run the following:
shell$ ./configure [--prefix <install_folder>]
shell$ make
Run the following as root user if current user does not have write permissions to install folder
shell$ make install
Building from repo also requires:
flex libnl libtool-ltdl m4 patch xz
Following are the steps for building sensys from the github repo. Before building create an account in the github. Clone the sensys repo from the github branch.
shell$ git clone https://github.com/intel-ctrlsys/sensys
-or-
shell$ git clone https://<username>@github.com/intel-ctrlsys/sensys
shell$ cd orcm
shell$ ./autogen.pl
shell$ mkdir build
Note: User can create the build folder where ever they want
shell$ cd build
shell$ ../configure \
--with-platform=../contrib/platform/intel/hillsboro/orcm-linux \
[--prefix=<install_folder>]
The file pointed to by --with-platform=
holds a list of configure
options. See configure --help
for the full list of options.
shell$ make
Run the following as root user if current user does not have write permissions to install folder
shell$ make install
This will install the files under /usr/local
unless the optional (but recommended) prefix is used.
The RPM spec.in file stores the default configure switches that are used when building the source RPM and can be used as a reference when building directly from the GitHub repo. That file can be found here:
The recommended minimum settings when running configure on GitHub based installs:
--prefix=/opt/open-rcm
--with-platform=contrib/platform/intel/hillsboro/orcm-linux
These are additional configure options that also can be used but are not required:
--exec-prefix=/opt/open-rcm
--bindir=/opt/open-rcm/bin
--sbindir=/opt/open-rcm/sbin
--sysconfdir=/opt/open-rcm/etc
--datadir=/opt/open-rcm/share
--includedir=/opt/open-rcm/include
--libdir=/opt/open-rcm/lib64
--libexecdir=/opt/open-rcm/lib
--localstatedir=/var
--sharedstatedir=/opt/open-rcm/com
--mandir=/opt/open-rcm/share/man
--infodir=/opt/open-rcm/share/info
- Home
-
2 Build and Installation Guide
-
2.1 Sensys Build and Installation
- 2.1.01 Build From SRPMS
- 2.1.02 Relocate RPM Install Path
- 2.1.03 Build From Source Tar Files
- 2.1.04 Build From GitHub Repo
- 2.1.05 Build Dependencies
- 2.1.06 Pre build Configuration
- 2.1.07 Post build Configuration
- 2.1.08 Setting Up pre requisites for RAS Monitoring
- 2.1.09 Startup Instructions
- 2.1.10 Troubleshooting
- 2.1.11 Setting MCA Parameters
- 2.2 Database Installation
-
2.1 Sensys Build and Installation