-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added option to create .deb packages, adapted wpg patch to new wpg so…
…urces
- Loading branch information
Sergey Yakubov
committed
Mar 30, 2016
1 parent
9e12385
commit 94de63b
Showing
7 changed files
with
94 additions
and
32 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
4 changes: 0 additions & 4 deletions
4
Modules/Propagators/XFELPhotonPropagator/wpg/glossary.py.patch
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
|
||
# create debian package | ||
|
||
SET(CPACK_BINARY_DEB ON) | ||
SET (CPACK_DEBIAN_PACKAGE_MAINTAINER "Sergey Yakubov ([email protected])") | ||
SET(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64") | ||
|
||
SET(CPACK_PACKAGE_NAME "simex") | ||
SET(CPACK_PACKAGE_VENDOR "XEFL") | ||
SET(CPACK_PACKAGE_VERSION_MAJOR "0") | ||
SET(CPACK_PACKAGE_VERSION_MINOR "1") | ||
SET(CPACK_PACKAGE_VERSION_PATCH "0") | ||
|
||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "SimEx Debian package") | ||
|
||
#(>= 2.3.1-6), libgcc1 (>= 1:3.4.2-12)") | ||
SET (PACKAGE_DEPENDS | ||
#"libarmadillo4" | ||
"libarmadillo-dev" | ||
#"wget" | ||
"python2.7" | ||
"python-numpy" | ||
"python-scipy" | ||
"python-h5py" | ||
"python-setuptools" | ||
"python-matplotlib" | ||
#"build-essential" | ||
"libbz2-dev" | ||
"libgsl0-dev" | ||
"libfftw3-dev" | ||
"liblapack-dev" | ||
"libhdf5-dev" | ||
"libopenmpi-dev" | ||
"ssh" | ||
"libboost1.55-all-dev" | ||
#"unzip" | ||
#"cython" | ||
) | ||
|
||
STRING(REGEX REPLACE ";" "," PACKAGE_DEPENDS "${PACKAGE_DEPENDS}") | ||
|
||
SET(CPACK_DEBIAN_PACKAGE_DEPENDS ${PACKAGE_DEPENDS}) | ||
|
||
|
||
SET(CPACK_BINARY_STGZ OFF) | ||
SET(CPACK_BINARY_TBZ2 OFF) | ||
SET(CPACK_BINARY_TGZ OFF) | ||
SET(CPACK_BINARY_TZ OFF) | ||
|
||
|
||
INCLUDE(CPack) | ||
|
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 @@ | ||
#!/bin/sh | ||
|
||
export PATH=${BINDIR}:$PATH | ||
export PYTHONPATH=${PYPATH}:$PYTHONPATH | ||
export PATH=${CMAKE_INSTALL_PREFIX}/${BINDIR}:$PATH | ||
export PYTHONPATH=${CMAKE_INSTALL_PREFIX}/${PYPATH}:$PYTHONPATH |
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 @@ | ||
#!/bin/sh | ||
|
||
export PATH=${BINDIR}:$PATH | ||
export PYTHONPATH=${FRAMEWORK_DIR}/python:${PYPATH}:$PYTHONPATH | ||
export PATH=${CMAKE_INSTALL_PREFIX}/${BINDIR}:$PATH | ||
export PYTHONPATH=${FRAMEWORK_DIR}/python:${CMAKE_INSTALL_PREFIX}/${PYPATH}:$PYTHONPATH |