Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Kurečka
Plumed AlphaFold
Commits
b354ef88
There was an error fetching the commit references. Please try again later.
Commit
b354ef88
authored
6 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Plain Diff
Merge branch 'v2.3' into v2.4
parents
0966c987
31520cec
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES/v2.3.md
+1
-0
1 addition, 0 deletions
CHANGES/v2.3.md
src/config/Config.inc.in
+13
-5
13 additions, 5 deletions
src/config/Config.inc.in
with
14 additions
and
5 deletions
CHANGES/v2.3.md
+
1
−
0
View file @
b354ef88
...
...
@@ -265,6 +265,7 @@ For users:
For developers:
-
Small fix in LDFLAGS when enabling coverage.
-
Fixed order of flags in tests for static linking done by configure (see
\i
ssue{407}).
-
Fixed the way paths are hardcoded so as to facilitate conda packaging (see
\i
ssue{416}).
*
/
This diff is collapsed.
Click to expand it.
src/config/Config.inc.in
+
13
−
5
View file @
b354ef88
...
...
@@ -28,8 +28,16 @@
namespace PLMD {
namespace config {
// This is a fix to allow conda to correctly replace paths in binary files.
// These functions should not be static or they will be optimized away!
const char* plumed_root(){return "@PLUMED_ROOT@";}
const char* plumed_soext(){return "@SOEXT@";}
const char* plumed_htmldir(){return "@htmldir@";}
const char* plumed_includedir(){return "@includedir@";}
const char* plumed_program_name(){return "@program_name@";}
std::string getSoExt() {
return
"@SOEXT@"
;
return
plumed_soext()
;
}
bool isInstalled() {
...
...
@@ -40,7 +48,7 @@ std::string getPlumedRoot() {
char *env = std::getenv("PLUMED_ROOT");
std::string ss;
if( env == NULL) {
ss=
"@PLUMED_ROOT@"
;
ss=
plumed_root()
;
} else {
ss=std::string( env );
}
...
...
@@ -52,7 +60,7 @@ std::string getPlumedHtmldir() {
char *env = std::getenv("PLUMED_HTMLDIR");
std::string ss;
if( env == NULL) {
ss=
"@
htmldir
@"
;
ss=
plumed_
htmldir
()
;
} else {
ss=std::string( env );
}
...
...
@@ -64,7 +72,7 @@ std::string getPlumedIncludedir() {
char *env = std::getenv("PLUMED_INCLUDEDIR");
std::string ss;
if( env == NULL) {
ss=
"@
includedir
@"
;
ss=
plumed_
includedir
()
;
} else {
ss=std::string( env );
}
...
...
@@ -76,7 +84,7 @@ std::string getPlumedProgramName() {
char *env = std::getenv("PLUMED_PROGRAM_NAME");
std::string ss;
if( env == NULL) {
ss=
"@
program_name
@"
;
ss=
plumed_
program_name
()
;
} else {
ss=std::string( env );
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment