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
a19ac05d
Unverified
Commit
a19ac05d
authored
4 years ago
by
t-nojiri
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
openmolcas: fix build on aarch64. (#17923)
parent
b51e4873
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
var/spack/repos/builtin/packages/openmolcas/CMakeLists.txt.patch
+12
-0
12 additions, 0 deletions
...ck/repos/builtin/packages/openmolcas/CMakeLists.txt.patch
var/spack/repos/builtin/packages/openmolcas/package.py
+2
-0
2 additions, 0 deletions
var/spack/repos/builtin/packages/openmolcas/package.py
with
14 additions
and
0 deletions
var/spack/repos/builtin/packages/openmolcas/CMakeLists.txt.patch
0 → 100644
+
12
−
0
View file @
a19ac05d
--- spack-src/CMakeLists.txt.bak 2019-11-12 20:59:54.000000000 +0900
+++ spack-src/CMakeLists.txt 2020-08-07 16:37:11.600570176 +0900
@@ -559,7 +559,8 @@
if ((${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86") OR
(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i686"))
set (PLATFORM "LINUX")
- elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
+ elseif ((${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") OR
+ (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64"))
set (PLATFORM "LINUX64")
elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ia64")
set (PLATFORM "LINUX64_IA")
This diff is collapsed.
Click to expand it.
var/spack/repos/builtin/packages/openmolcas/package.py
+
2
−
0
View file @
a19ac05d
...
@@ -23,6 +23,8 @@ class Openmolcas(CMakePackage):
...
@@ -23,6 +23,8 @@ class Openmolcas(CMakePackage):
depends_on
(
'
py-pyparsing
'
,
type
=
(
'
build
'
,
'
run
'
))
depends_on
(
'
py-pyparsing
'
,
type
=
(
'
build
'
,
'
run
'
))
depends_on
(
'
py-six
'
,
type
=
(
'
build
'
,
'
run
'
))
depends_on
(
'
py-six
'
,
type
=
(
'
build
'
,
'
run
'
))
patch
(
'
CMakeLists.txt.patch
'
,
when
=
'
target=aarch64:
'
)
def
setup_build_environment
(
self
,
env
):
def
setup_build_environment
(
self
,
env
):
env
.
set
(
'
MOLCAS
'
,
self
.
prefix
)
env
.
set
(
'
MOLCAS
'
,
self
.
prefix
)
...
...
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