Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
eic_tools
Spack
Commits
f5c9a8c2
Commit
f5c9a8c2
authored
8 years ago
by
Todd Gamblin
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1650 from davydden/pkg/ape_octopus_comments
ape octopus: in-code comments
parents
a3f1ae8c
5333a799
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
var/spack/repos/builtin/packages/ape/package.py
+7
-0
7 additions, 0 deletions
var/spack/repos/builtin/packages/ape/package.py
var/spack/repos/builtin/packages/octopus/package.py
+7
-4
7 additions, 4 deletions
var/spack/repos/builtin/packages/octopus/package.py
with
14 additions
and
4 deletions
var/spack/repos/builtin/packages/ape/package.py
+
7
−
0
View file @
f5c9a8c2
...
...
@@ -45,6 +45,13 @@ def install(self, spec, prefix):
'
--with-libxc-prefix=%s
'
%
spec
[
'
libxc
'
].
prefix
])
# When preprocessor expands macros (i.e. CFLAGS) defined as quoted
# strings the result may be > 132 chars and is terminated.
# This will look to a compiler as an Unterminated character constant
# and produce Line truncated errors. To vercome this, add flags to
# let compiler know that the entire line is meaningful.
# TODO: For the lack of better approach, assume that clang is mixed
# with GNU fortran.
if
spec
.
satisfies
(
'
%clang
'
)
or
spec
.
satisfies
(
'
%gcc
'
):
args
.
extend
([
'
FCFLAGS=-O2 -ffree-line-length-none
'
...
...
This diff is collapsed.
Click to expand it.
var/spack/repos/builtin/packages/octopus/package.py
+
7
−
4
View file @
f5c9a8c2
...
...
@@ -70,10 +70,13 @@ def install(self, spec, prefix):
# --with-berkeleygw-prefix=${prefix}
])
# Supposedly configure does not pick up the required flags for gfortran
# Without it there are:
# Error: Line truncated @ global.F90:157:132
# Error: Unterminated character constant @ global.F90:157:20
# When preprocessor expands macros (i.e. CFLAGS) defined as quoted
# strings the result may be > 132 chars and is terminated.
# This will look to a compiler as an Unterminated character constant
# and produce Line truncated errors. To vercome this, add flags to
# let compiler know that the entire line is meaningful.
# TODO: For the lack of better approach, assume that clang is mixed
# with GNU fortran.
if
spec
.
satisfies
(
'
%clang
'
)
or
spec
.
satisfies
(
'
%gcc
'
):
args
.
extend
([
'
FCFLAGS=-O2 -ffree-line-length-none
'
...
...
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