forked from plumed/plumed2
-
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.
Added some aid-compile option in autoconf
* Trying to setup pycv into config * forgot to commit configure before pushig * redesigning the compilation with the new ac * changed behaviour of not finding cython * now if no python package is found also python_bin is not set * now configure understands if python is embeddable * moved the variables and added some comments for clarity * rerun autoconf * set up a cleaner instalation * forgot to push the compileconfiguration common sourced file * added some aid for maintainers --------- Co-authored-by: Daniele Rapetti <[email protected]>
- Loading branch information
Showing
10 changed files
with
250 additions
and
79 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,4 +1,4 @@ | ||
Make.inc | ||
/Makefile.conf | ||
*.o | ||
*.so | ||
env |
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,20 +1,23 @@ | ||
#! /usr/bin/env bash | ||
|
||
#formatted with shfmt https://github.com/mvdan/sh/releases | ||
#checked with shellcheck | ||
|
||
for file in *.c *.cpp *.h *.inc.in; do | ||
|
||
test -f "$file" || continue | ||
|
||
echo -n "astyle $file" | ||
|
||
../../astyle/astyle --options=../../.astyle.options <$file >$file.tmp && { | ||
if cmp -s $file $file.tmp; then | ||
../../astyle/astyle --options=../../.astyle.options <"$file" >"${file}.tmp" && { | ||
if cmp -s "$file" "${file}.tmp"; then | ||
echo | ||
else | ||
cp $file.tmp $file | ||
cp "${file}.tmp" "$file" | ||
echo " +++ PATCHED" | ||
fi | ||
} | ||
|
||
rm $file.tmp | ||
rm "${file}.tmp" | ||
|
||
done |
Oops, something went wrong.