Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
mantidproject
mantid
Commits
4c3f649b
Commit
4c3f649b
authored
10 years ago
by
Gigg, Martyn Anthony
Browse files
Options
Downloads
Patches
Plain Diff
Fix RPM dependencies for RHEL7
Refs #10228
parent
ff1c465d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Mantid/CMakeLists.txt
+10
-3
10 additions, 3 deletions
Code/Mantid/CMakeLists.txt
with
10 additions
and
3 deletions
Code/Mantid/CMakeLists.txt
+
10
−
3
View file @
4c3f649b
...
...
@@ -184,13 +184,20 @@ if ( ENABLE_CPACK )
message
(
STATUS
" CPACK_PACKAGE_FILE_NAME =
${
CPACK_PACKAGE_FILE_NAME
}
"
)
# rhel requirements
set
(
CPACK_RPM_PACKAGE_REQUIRES
"boost >= 1.34.1,qt4 >= 4.2,nexus,nexus-python,
qwt,
gsl,glibc,qwtplot3d-qt4,muParser,numpy"
)
# OpenCASCADE changed names when packaged for Fedora 20
if
(
"
${
UNIX_CODENAME
}
"
MATCHES
"Heisenbug"
)
set
(
CPACK_RPM_PACKAGE_REQUIRES
"boost >= 1.34.1,qt4 >= 4.2,nexus,nexus-python,gsl,glibc,qwtplot3d-qt4,muParser,numpy"
)
# OpenCASCADE changed names when packaged for Fedora 20
and RHEL7
if
(
"
${
UNIX_CODENAME
}
"
MATCHES
"Heisenbug"
OR
"
${
UNIX_CODENAME
}
"
MATCHES
"Maipo"
)
set
(
CPACK_RPM_PACKAGE_REQUIRES
"
${
CPACK_RPM_PACKAGE_REQUIRES
}
,OCE-devel"
)
else
()
set
(
CPACK_RPM_PACKAGE_REQUIRES
"
${
CPACK_RPM_PACKAGE_REQUIRES
}
,OpenCASCADE-libs-modelling >= 6.3.0,OpenCASCADE-libs-foundation >= 6.3.0,OpenCASCADE-libs-visualization >= 6.3.0,OpenCASCADE-libs-ocaf >= 6.3.0,OpenCASCADE-libs-ocaf-lite >= 6.3.0"
)
endif
()
# Qwt is qwt5-qt4 in RHEL7
if
(
"
${
UNIX_CODENAME
}
"
MATCHES
"Maipo"
)
set
(
CPACK_RPM_PACKAGE_REQUIRES
"
${
CPACK_RPM_PACKAGE_REQUIRES
}
,qwt5-qt4"
)
else
()
set
(
CPACK_RPM_PACKAGE_REQUIRES
"
${
CPACK_RPM_PACKAGE_REQUIRES
}
,qwt"
)
endif
()
set
(
CPACK_RPM_PACKAGE_REQUIRES
"
${
CPACK_RPM_PACKAGE_REQUIRES
}
,poco-crypto,poco-data,poco-mysql,poco-sqlite,poco-odbc,poco-util,poco-xml,poco-zip,poco-net,poco-netssl,poco-foundation,PyQt4,sip"
)
set
(
CPACK_RPM_PACKAGE_REQUIRES
"
${
CPACK_RPM_PACKAGE_REQUIRES
}
,python-ipython >= 1.1.0"
)
# scipy & matplotlib
...
...
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