-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Release 1.00.2] Release of the 1.00.2 version of SimLFS
- Loading branch information
Showing
18 changed files
with
5,304 additions
and
1,212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,37 @@ | ||
C++ Simulated Low Fare Search (LFS) Library | ||
=========================================== | ||
|
||
Summary: | ||
-------- | ||
# Summary | ||
SimLFS aims at providing a clean API and a simple implementation | ||
(C++ library) of an airline-related Low Fare Search (LFS) system. That | ||
library uses the Standard Airline IT C++ object model | ||
(http://sf.net/projects/stdair). | ||
(C++ library) of an airline-related Low Fare Search (LFS) system. | ||
That library uses the Standard Airline IT C++ object model | ||
(https://github.com/airsim/stdair). | ||
|
||
SimLFS makes an extensive use of existing open-source libraries for | ||
increased functionality, speed and accuracy. In particular the | ||
Boost (C++ Standard Extensions: http://www.boost.org) library is used. | ||
Boost (C++ Standard Extensions: https://www.boost.org) library is used. | ||
|
||
# Installation | ||
|
||
Getting and installing from the Fedora/CentOS/RedHat distribution: | ||
------------------------------------------------------------------ | ||
Just use Yum: | ||
yum -y install simlfs-devel simlfs-doc | ||
## On Fedora/CentOS/RedHat distribution | ||
Just use DNF (or Yum on older distributions): | ||
```bash | ||
$ dnf -y install simlfs-devel simlfs-doc | ||
``` | ||
|
||
You can also get the RPM packages (which may work on Linux | ||
distributions like Novel Suse and Mandriva) from the Fedora repository | ||
(e.g., for Fedora 16, | ||
http://fr2.rpmfind.net/linux/fedora/releases/16/Everything/) | ||
(_e.g._, for Fedora 32, | ||
https://fr2.rpmfind.net/linux/RPM/fedora/32/x86_64/) | ||
|
||
|
||
Building the library and test binary from Git repository: | ||
---------------------------------------------------------------- | ||
## Building the library and test binary from Git repository | ||
The Sourceforge Git repository may be cloned as following: | ||
git clone ssh://simlfs.git.sourceforge.net/gitroot/simlfs/simlfs simlfsgit | ||
cd simlfsgit | ||
git checkout trunk | ||
```bash | ||
$ git clone [email protected]:airsim/simlfs.git simlfsgit # through SSH | ||
$ git clone https://github.com/airsim/simlfs.git # if the firewall filters SSH | ||
$ cd simlfsgit | ||
``` | ||
|
||
Then, you need the following packages (Fedora/RedHat/CentOS names here, | ||
but names may vary according to distributions): | ||
|
@@ -43,33 +47,53 @@ but names may vary according to distributions): | |
* doxygen, ghostscript, graphviz and tetex-latex (optional) | ||
* rpm-build (optional) | ||
|
||
Building the library and test binary from the tarball: | ||
------------------------------------------------------ | ||
The latest stable source tarball (simlfs*.tar.gz or .bz2) can be found here: | ||
http://sourceforge.net/project/showfiles.php?group_id=365521 | ||
## Building the library and test binary from the tarball | ||
The latest stable source tarball (`simlfs*.tar.gz` or `.bz2`) can be found here: | ||
https://github.com/airsim/simlfs/archive/simlfs-1.00.2.tar.gz | ||
|
||
To customise the following to your environment, you can alter the path | ||
to the installation directory: | ||
```bash | ||
export INSTALL_BASEDIR="${HOME}/dev/deliveries" | ||
export LFS_VER="1.00.2" | ||
if [ -d /usr/lib64 ]; then LIBSUFFIX="64"; fi | ||
export LIBSUFFIX_4_CMAKE="-DLIB_SUFFIX=$LIBSUFFIX" | ||
`` | ||
|
||
Then, as usual: | ||
* To configure the project, type something like: | ||
LFS_VER=1.00.1 | ||
mkdir build && cd build | ||
cmake -DCMAKE_INSTALL_PREFIX=/home/user/dev/deliveries/simlfs-${LFS_VER} \ | ||
-DWITH_STDAIR_PREFIX=/home/user/dev/deliveries/stdair-stable \ | ||
-DWITH_AIRRAC_PREFIX=/home/user/dev/deliveries/airrac-stable \ | ||
-DWITH_RMOL_PREFIX=/home/user/dev/deliveries/rmol-stable \ | ||
-DWITH_RMOL_PREFIX=/home/user/dev/deliveries/airinv-stable \ | ||
-DWITH_RMOL_PREFIX=/home/user/dev/deliveries/simfqt-stable \ | ||
-DCMAKE_BUILD_TYPE:STRING=Debug -DINSTALL_DOC:BOOL=ON .. | ||
```bash | ||
mkdir build && cd build | ||
cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_BASEDIR}/simlfs-${LFS_VER} \ | ||
-DWITH_STDAIR_PREFIX=${INSTALL_BASEDIR}/stdair-stable \ | ||
-DWITH_AIRRAC_PREFIX=${INSTALL_BASEDIR}/airrac-stable \ | ||
-DWITH_RMOL_PREFIX=${INSTALL_BASEDIR}/rmol-stable \ | ||
-DWITH_RMOL_PREFIX=${INSTALL_BASEDIR}/airinv-stable \ | ||
-DWITH_RMOL_PREFIX=${INSTALL_BASEDIR}/simfqt-stable \ | ||
-DCMAKE_BUILD_TYPE:STRING=Debug \ | ||
-DINSTALL_DOC:BOOL=ON -DRUN_GCOV:BOOL=OFF ${LIBSUFFIX_4_CMAKE} .. | ||
``` | ||
* To build the project, type: | ||
```bash | ||
make | ||
``` | ||
* To test the project, type: | ||
```bash | ||
make check | ||
* To install the library (libsimlfs*.so*) and the binary (simlfs), | ||
``` | ||
* To install the library (`libsimlfs*.so*`) and the binary (`simlfs`), | ||
just type: | ||
```bash | ||
make install | ||
``` | ||
* To package the source files, type: | ||
```bash | ||
make dist | ||
``` | ||
* To package the binary and the (HTML and PDF) documentation: | ||
```bash | ||
make package | ||
``` | ||
|
||
Denis Arnaud (October 2011) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying | ||
# file Copyright.txt or https://cmake.org/licensing for details. | ||
|
||
#[=======================================================================[.rst: | ||
CMakeFindFrameworks | ||
------------------- | ||
helper module to find OSX frameworks | ||
This module reads hints about search locations from variables:: | ||
CMAKE_FIND_FRAMEWORK_EXTRA_LOCATIONS - Extra directories | ||
#]=======================================================================] | ||
|
||
if(NOT CMAKE_FIND_FRAMEWORKS_INCLUDED) | ||
set(CMAKE_FIND_FRAMEWORKS_INCLUDED 1) | ||
macro(CMAKE_FIND_FRAMEWORKS fwk) | ||
set(${fwk}_FRAMEWORKS) | ||
if(APPLE) | ||
foreach(dir | ||
~/Library/Frameworks/${fwk}.framework | ||
/usr/local/Frameworks/${fwk}.framework | ||
/Library/Frameworks/${fwk}.framework | ||
/System/Library/Frameworks/${fwk}.framework | ||
/Network/Library/Frameworks/${fwk}.framework | ||
${CMAKE_FIND_FRAMEWORK_EXTRA_LOCATIONS}) | ||
if(EXISTS ${dir}) | ||
set(${fwk}_FRAMEWORKS ${${fwk}_FRAMEWORKS} ${dir}) | ||
endif() | ||
endforeach() | ||
endif() | ||
endmacro() | ||
endif() |
Oops, something went wrong.