1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-11-03 20:54:07 +01:00

Removed TREXIO_DEVEL in configure

This commit is contained in:
Anthony Scemama 2021-11-01 10:01:35 +01:00
parent 5b6d78e015
commit 0a6c1dc65f
3 changed files with 10 additions and 5 deletions

View File

@ -23,7 +23,7 @@ jobs:
- name: configure with autotools - name: configure with autotools
run: | run: |
./autogen.sh ./autogen.sh
TREXIO_DEVEL=1 ./configure --enable-silent-rules ./configure --enable-maintainer-mode --enable-silent-rules
- name: compile TREXIO - name: compile TREXIO
run: make -j 2 run: make -j 2
@ -63,7 +63,7 @@ jobs:
- name: configure with autotools - name: configure with autotools
run: | run: |
./autogen.sh ./autogen.sh
TREXIO_DEVEL=1 ./configure FC=gfortran-10 --enable-silent-rules ./configure FC=gfortran-10 --enable-silent-rules --enable-maintainer-mode
- name: compile TREXIO - name: compile TREXIO
run: make -j 2 run: make -j 2

View File

@ -40,7 +40,7 @@ TREX library for efficient I/O.
1. `git clone https://github.com/TREX-CoE/trexio.git` 1. `git clone https://github.com/TREX-CoE/trexio.git`
2. `cd trexio` 2. `cd trexio`
3. `./autogen.sh` 3. `./autogen.sh`
4. `TREXIO_DEVEL=1 ./configure --enable-maintainer-mode` 4. `./configure --enable-maintainer-mode`
5. `make` 5. `make`
6. `make check` 6. `make check`
7. `sudo make install` 7. `sudo make install`

View File

@ -131,11 +131,16 @@ AC_TYPE_UINT64_T
AC_FUNC_MALLOC AC_FUNC_MALLOC
AC_CHECK_FUNCS([memset mkdir strerror]) AC_CHECK_FUNCS([memset mkdir strerror])
if test "x$enable_maintainer_mode" == "xyes"; then
TREXIO_DEVEL=" -- Developer mode"
else
TREXIO_DEVEL=""
fi
AM_CONDITIONAL([TREXIO_DEVEL],[test "x$TREXIO_DEVEL" != x]) AM_CONDITIONAL([TREXIO_DEVEL],[test "x$TREXIO_DEVEL" != x])
if test "x${TREXIO_DEVEL}" != "x"; then if test "x${TREXIO_DEVEL}" != "x"; then
TREXIO_DEVEL=" -- Developer mode"
AC_PROG_AWK AC_PROG_AWK
AM_PATH_PYTHON([3.0]) AM_PATH_PYTHON([3.0])
@ -166,7 +171,7 @@ else
[AC_MSG_ERROR([ [AC_MSG_ERROR([
---------------------------------------------------------------- ----------------------------------------------------------------
Installation with the current configuration is not possible. Installation with the current configuration is not possible.
Activate developer mode: TREXIO_DEVEL=1 ./configure Activate developer mode: ./configure --enable-maintainer-mode
| OR | | OR |
Download the tarball with the source code distribution. Download the tarball with the source code distribution.
---------------------------------------------------------------- ----------------------------------------------------------------