Skip to content

Commit e1cdab5

Browse files
committed
more docs on adding tidymess to amuse
1 parent 63e003a commit e1cdab5

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

doc/tutorial/adding_example_code_tidymess.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,23 @@ dependency we will need. By default it will look like:
5959
6060
c c++ fortran java python cmake install download mpi openmp cuda opencl x11 opengl blas lapack gsl gmp mpfr fftw hdf5 netcdf4
6161
62-
Since ``TIDYMESS`` is a standalone C++ code, we can simplify our dependencies to:
62+
Since ``TIDYMESS`` is a standalone C++ code, we can delete most of those and simplify our dependencies to:
6363

6464
.. code-block:: text
6565
6666
c c++
67+
68+
Setting up Autoconf
69+
~~~~~~~~~~~~~~~~~~~
70+
The ``amuse_deps`` file we just created informs the ``AMUSE`` build system about whether or not our
71+
package is buildable given the available compilers and libraries detected on your computer. We now need
72+
to determine what compilers and libraries are on the system and how to use them. For this we will edit
73+
the ``configure.ac`` file in ``amuse_tidymess/support/``. This file contains a set of macros which will
74+
detect the tools and libraries needed to build our package. The template should contain all the macros
75+
needed for our package, so its just a matter of deleting what we don't need.
76+
77+
.. WARNING::
78+
79+
Make sure the the ``amuse_tidymess/support/shared/`` folder is a simlink to ``amuse/support/shared/``
80+
to ensure that there is no code duplication in the codebase, and that bug fixes are propagated to each
81+
package automatically.

0 commit comments

Comments
 (0)