Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated install instructions #2

Merged
merged 6 commits into from
Sep 12, 2023
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 8 additions & 21 deletions install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ python wrapper.
Dependencies
------------

- `gtpsa-cpp` provided by https://github.com/hz-b/gtpsa-cpp.git

- modern c++ compiler C++17 or better

- std::shared_ptr
Expand All @@ -26,6 +28,7 @@ Dependencies

- flex and bison


- modern python3

Packages to be installed on Ubuntu 22 LTS
Expand All @@ -52,7 +55,7 @@ First clone the repository using

.. code:: shell

git clone https://github.com/jbengtsson/thor-scsi-lib.git
git clone https://github.com/hz-b/thor-scsi-lib.git


change to the directory (persumably) `thor-scsi-lib`.
Expand All @@ -63,16 +66,14 @@ Then initialise submodules using the following command

git submodule update --init

*NB*: this command currently will pull a subrepository (`cmake4epics`).
This repository currently does not support (llvm/clang). Thus build on
MAC currently fails. A fix is currently worked on.



Getting ready to build
----------------------

create a directory "build"
Please install first gtpsa-cpp. Have a look to the installation
instructions provided there.

Create a directory "build"

.. code:: shell

Expand Down Expand Up @@ -144,20 +145,6 @@ python install procedure.
Before you can use this script, you need to build the c++ library and install it
to some path (called `/path/to/install/to` above).

Directories with python modules
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Two python modules are provided

* gtpsa: directory src/gtpsa/python
* thor_scsi: directory python/

Recommandation is to first build gtpsa and then thor scsi.
The description below refers to both of them. Both directories are
refered to as `python` directory below.

Installation instruction for one of the packages
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The process of building the python package depends on the C++ headers and libraries.
Thus it needs to know where these are installed. The process described below will
Expand Down
Loading