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
7e43fc23
Commit
7e43fc23
authored
9 years ago
by
incardon
Browse files
Options
Downloads
Patches
Plain Diff
Fixing installation process
parent
d92b2d61
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
install
+6
-0
6 additions, 0 deletions
install
script/detect_gfortran
+0
-14
0 additions, 14 deletions
script/detect_gfortran
script/pre_req
+4
-1
4 additions, 1 deletion
script/pre_req
script/solve_gfortran
+3
-3
3 additions, 3 deletions
script/solve_gfortran
with
13 additions
and
18 deletions
install
+
6
−
0
View file @
7e43fc23
...
...
@@ -92,6 +92,12 @@ if [ ! -d src/config ]; then
fi
cd
..
cd
openfpm_numerics
if
[
!
-d
src/config
]
;
then
mkdir
src/config
fi
cd
..
# Create config directory
if
[
!
-d
src/config
]
;
then
...
...
This diff is collapsed.
Click to expand it.
script/detect_gfortran
deleted
100755 → 0
+
0
−
14
View file @
d92b2d61
#! /bin/bash
function
detect_gfortran
()
{
command
-v
$1
>
/dev/null 2>&1
if
[
$?
-ne
0
]
;
then
dgc_ret
=
0
return
fi
dgc_ret
=
1
}
This diff is collapsed.
Click to expand it.
script/pre_req
+
4
−
1
View file @
7e43fc23
...
...
@@ -6,13 +6,14 @@ source script/discover_package_manager
source
script/discover_os
source
script/solve_autoconf
source
script/solve_gpp
source
script/solve_gfortran
source
script/solve_cmake
source
script/solve_git
source
script/solve_wget
source
script/solve_automake
source
script/solve_brew
source
script/solve_libtool
source
script/solve_
g
fortran
source
script/solve_fortran
source
script/detect_gcc
source
script/detect_osx
source
script/show_solutions
...
...
@@ -185,6 +186,7 @@ fi
detect_gcc_or_clang g++
if
[
$dgc_ret
-eq
0
]
;
then
echo
-e
"g++
\0
33[91;5;1m FAILED
\0
33[0m"
solve_gpp
$platform
detect_gcc_or_clang
$compiler_gpp
if
[
$dgc_ret
-eq
0
]
;
then
...
...
@@ -203,6 +205,7 @@ fi
detect_fortran gfortran
if
[
$dgc_ret
-eq
0
]
;
then
echo
-e
"gfortran
\0
33[91;5;1m FAILED
\0
33[0m"
solve_gfortran
$platform
detect_fortran
$compiler_fortran
if
[
$dgc_ret
-eq
0
]
;
then
...
...
This diff is collapsed.
Click to expand it.
script/solve_gfortran
+
3
−
3
View file @
7e43fc23
...
...
@@ -11,13 +11,13 @@ if [ x"$pcman" = x"" ]; then
fi
if
[
x
"
$1
"
=
x
"osx"
]
;
then
commands[0]
=
"
$pcman
install g
fortran
"
commands[0]
=
"
$pcman
install g
cc
"
possible_solutions
"
${
commands
[@]
}
"
echo
"Executing:
${
command
[
$possible_solutions_ret
]
}
"
eval
${
commands
[
$possible_solutions_ret
]
}
elif
[
x
"
$1
"
=
x
"linux"
]
;
then
commands[0]
=
"su -c
\"
$pcman
install
cmake
\"
"
commands[1]
=
"sudo
$pcman
install
cmake
"
commands[0]
=
"su -c
\"
$pcman
install
gfortran
\"
"
commands[1]
=
"sudo
$pcman
install
gfortran
"
possible_solutions
"
${
commands
[@]
}
"
echo
"Executing:
${
command
[
$possible_solutions_ret
]
}
"
eval
${
commands
[
$possible_solutions_ret
]
}
...
...
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