mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-11-19 04:22:46 +01:00
Automatic maintainer mode
This commit is contained in:
parent
970026c9a6
commit
4a63473eab
4
.github/workflows/test-build.yml
vendored
4
.github/workflows/test-build.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
./autogen.sh
|
||||
QMCKL_DEVEL=1 ./configure --enable-silent-rules --enable-maintainer-mode --enable-debug
|
||||
./configure --enable-silent-rules --enable-debug
|
||||
make -j 8
|
||||
|
||||
- name: Run test
|
||||
@ -80,7 +80,7 @@ jobs:
|
||||
# - name: Run test
|
||||
# run: |
|
||||
# ./autogen.sh
|
||||
# QMCKL_DEVEL=1 ./configure --enable-silent-rules --enable-maintainer-mode --enable-debug
|
||||
# ./configure --enable-silent-rules --enable-debug
|
||||
# make -j 8
|
||||
# make -j check
|
||||
# make distcheck
|
||||
|
@ -28,7 +28,7 @@ in org-mode files and produce the source code and the documentation from these f
|
||||
|
||||
```
|
||||
./autogen.sh
|
||||
./configure --prefix=$PWD/_install --enable-silent-rules --enable-maintainer-mode
|
||||
./configure --prefix=$PWD/_install
|
||||
|
||||
make
|
||||
make check
|
||||
@ -54,7 +54,7 @@ by the preprocessor otherwise). To enable vfc_ci support, the library should be
|
||||
configured with the following command :
|
||||
|
||||
```
|
||||
./configure --prefix=$PWD/_install \ --enable-silent-rules --enable-maintainer-mode --enable-vfc_ci --host=x86_64 \ CC="verificarlo-f" FC="verificarlo-f"
|
||||
./configure --prefix=$PWD/_install \ --enable-vfc_ci --host=x86_64 \ CC="verificarlo-f" FC="verificarlo-f"
|
||||
```
|
||||
|
||||
where CC and FC are set to verificarlo-f, and support is explicitely enabled
|
||||
|
@ -2,6 +2,3 @@
|
||||
|
||||
python ./tools/build_makefile.py
|
||||
autoreconf -i
|
||||
echo "To configure in maintainer mode, use:
|
||||
$ QMCKL_DEVEL=1 ./configure --enable-silent-rules --enable-maintainer-mode
|
||||
"
|
||||
|
@ -40,6 +40,14 @@ AC_INIT([qmckl],[0.1.1],
|
||||
[https://trex-coe.github.io/qmckl/index.html])
|
||||
AC_CONFIG_AUX_DIR(tools)
|
||||
AM_INIT_AUTOMAKE([subdir-objects color-tests parallel-tests silent-rules 1.11])
|
||||
|
||||
# Activate developer mode when the source is the git repository.
|
||||
# Otherwise, it is the source distribution and the developer mode should not be activated.
|
||||
TEST_IFEXISTS=".git"
|
||||
AC_CHECK_FILE([$TEST_IFEXISTS],
|
||||
[enable_maintainer_mode="yes"],
|
||||
)
|
||||
|
||||
AM_MAINTAINER_MODE()
|
||||
LT_INIT
|
||||
AC_CONFIG_SRCDIR([configure.ac])
|
||||
|
Loading…
Reference in New Issue
Block a user