Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_pdata
Commits
9035f00d
Commit
9035f00d
authored
3 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing postinst script
parent
9ca08caa
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#3508
passed
3 years ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+7
-1
7 additions, 1 deletion
CMakeLists.txt
src/scripts/postinst
+3
-3
3 additions, 3 deletions
src/scripts/postinst
with
10 additions
and
4 deletions
CMakeLists.txt
+
7
−
1
View file @
9035f00d
...
...
@@ -294,6 +294,12 @@ list(GET VERSION_LIST 2 OPENFPM_VERSION_PATCH)
if
(
CPACK_RUN_INSTALL_DEPENDENCIES
)
###### Fix post inst script ######
###### ######
set
(
CPACK_PACKAGE_DESCRIPTION_SUMMARY
"OpenFPM distributed data-structures"
)
set
(
CPACK_PACKAGE_VENDOR
"IBirdSoft"
)
set
(
CPACK_PACKAGE_DESCRIPTION_FILE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/README.txt"
)
...
...
@@ -310,7 +316,7 @@ if (CPACK_RUN_INSTALL_DEPENDENCIES)
set
(
CPACK_DEBIAN_PACKAGE_MAINTAINER Pietro Incardona
)
set
(
CPACK_RPM_POST_INSTALL_SCRIPT_FILE
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/scripts/postinst
)
set
(
CPACK_POSTFLIGHT_OPENFPM_SCRIPT
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/scripts/postflight
)
set
(
CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/script/postinst
"
)
set
(
CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/script
s
/postinst
)
set
(
CPACK_RESOURCE_FILE_README
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/README.txt"
)
install
(
FILES $ENV{DEP_PACKING}/openfpm_vars
...
...
This diff is collapsed.
Click to expand it.
src/scripts/postinst
+
3
−
3
View file @
9035f00d
#! /bin/bash
/projects
\/
ppm
\/
rundeck
\/
openfpm_super_bundles
\/
$1
\/
openfpm_dep_
$1
echo
"Fixing folders for CPACK_LINUX_VERSION"
sed
-i
-e
's/projects\/ppm\/rundeck\/openfpm_super_bundles\/
$1\/openfpm_dep_$1
/usr\/local\/openfpm\/dependencies/g'
/usr/local/openfpm/source/openfpm_vars
sed
-i
-e
's/projects\/ppm\/rundeck\/openfpm_super_bundles\/
$1\/openfpm_dep_$1
/usr\/local\/openfpm\/dependencies/g'
/usr/local/openfpm/openfpm_pdata/include/example.mk
sed
-i
-e
's/projects\/ppm\/rundeck\/openfpm_super_bundles\/
CPACK_LINUX_VERSION\/openfpm_dep_CPACK_LINUX_VERSION
/usr\/local\/openfpm\/dependencies/g'
/usr/local/openfpm/source/openfpm_vars
sed
-i
-e
's/projects\/ppm\/rundeck\/openfpm_super_bundles\/
CPACK_LINUX_VERSION\/openfpm_dep_CPACK_LINUX_VERSION
/usr\/local\/openfpm\/dependencies/g'
/usr/local/openfpm/openfpm_pdata/include/example.mk
echo
"export OPAL_PREFIX=/usr/local/openfpm/dependencies/MPI"
>>
/usr/local/openfpm/source/openfpm_vars
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