Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ppmnumerics
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
Sbalzarini Lab
Software
Parallel Computing
PPM
ppmnumerics
Commits
143ea0fc
Commit
143ea0fc
authored
13 years ago
by
Omar Awile
Browse files
Options
Downloads
Patches
Plain Diff
fixes to the build system to match ppmcore
parent
58dfd513
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
configure
+10
-8
10 additions, 8 deletions
configure
configure.ac
+9
-8
9 additions, 8 deletions
configure.ac
with
19 additions
and
16 deletions
configure
+
10
−
8
View file @
143ea0fc
...
...
@@ -6365,10 +6365,10 @@ if test "${enable_dev+set}" = set; then :
fi
if
test
"x
${
dev_compile
}
"
=
xyes
;
then
if
test
"x
${
vendor
}
"
=
=
xintel
;
then
DEBUG
=
"-g -O
1
-check pointers -check bounds -traceback"
if
test
"x
${
vendor
}
"
=
xintel
;
then
DEBUG
=
"-g -O
0
-check pointers -check bounds -traceback
-diag-disable 10120
"
elif
test
"x
${
vendor
}
"
=
=
xgnu
;
then
elif
test
"x
${
vendor
}
"
=
xgnu
;
then
DEBUG
=
"-g -O0 -fbounds-check -fbacktrace"
else
...
...
@@ -6384,15 +6384,17 @@ if test "${enable_debug+set}" = set; then :
fi
if
test
"x
${
debug_compile
}
"
=
xyes
;
then
echo
"#define __DEBUG"
>>
./src/ppm_define.h
if
test
"x
${
vendor
}
"
==
xintel
;
then
DEBUG
=
"-O1 -g -debug all -check all -fp-stack-check -heap-arrays -ftrapuv -check pointers -check bounds -traceback"
CPPFLAGS
=
"
$CPPFLAGS
-D__DEBUG"
# echo "#define __DEBUG" >> ./src/ppm_define.h
if
test
"x
${
vendor
}
"
=
xintel
;
then
DEBUG
=
"-O0 -g -debug all -check all -fp-stack-check -heap-arrays -ftrapuv -check pointers -check bounds -check uninit -traceback -diag-disable 10120"
elif
test
"x
${
vendor
}
"
=
=
xgnu
;
then
elif
test
"x
${
vendor
}
"
=
xgnu
;
then
DEBUG
=
"-O0 -g -fbounds-check -fbacktrace -ftrapv -fno-automatic"
else
DEBUG
=
"-O
1
-g"
DEBUG
=
"-O
0
-g"
fi
else
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
9
−
8
View file @
143ea0fc
...
...
@@ -217,9 +217,9 @@ dev_compile=no
AC_ARG_ENABLE([dev],[AS_HELP_STRING([--enable-dev],
[enable development mode (default is no)])],[dev_compile=yes])
if test "x${dev_compile}" = xyes; then
if test "x${vendor}" =
=
xintel; then
AC_SUBST(DEBUG,["-g -O
1
-check pointers -check bounds -traceback"])
elif test "x${vendor}" =
=
xgnu; then
if test "x${vendor}" = xintel; then
AC_SUBST(DEBUG,["-g -O
0
-check pointers -check bounds -traceback
-diag-disable 10120
"])
elif test "x${vendor}" = xgnu; then
AC_SUBST(DEBUG,["-g -O0 -fbounds-check -fbacktrace"])
else
AC_SUBST(DEBUG,["-g"])
...
...
@@ -230,13 +230,14 @@ debug_compile=no
AC_ARG_ENABLE([debug],[AS_HELP_STRING([--enable-debug],
[enable debug mode (default is no)])],[debug_compile=yes])
if test "x${debug_compile}" = xyes; then
echo "#define __DEBUG" >> ./src/ppm_define.h
if test "x${vendor}" == xintel; then
AC_SUBST(DEBUG,["-O1 -g -debug all -check all -fp-stack-check -heap-arrays -ftrapuv -check pointers -check bounds -traceback"])
elif test "x${vendor}" == xgnu; then
AC_SUBST(CPPFLAGS,["$CPPFLAGS -D__DEBUG"])
# echo "#define __DEBUG" >> ./src/ppm_define.h
if test "x${vendor}" = xintel; then
AC_SUBST(DEBUG,["-O0 -g -debug all -check all -fp-stack-check -heap-arrays -ftrapuv -check pointers -check bounds -check uninit -traceback -diag-disable 10120"])
elif test "x${vendor}" = xgnu; then
AC_SUBST(DEBUG,["-O0 -g -fbounds-check -fbacktrace -ftrapv -fno-automatic"])
else
AC_SUBST(DEBUG,["-O
1
-g"])
AC_SUBST(DEBUG,["-O
0
-g"])
fi
else
if test "x${vendor}" = xintel; then
...
...
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