Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
a3b5fcc5
Commit
a3b5fcc5
authored
15 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
link with vecLib framework on mac (instad of -llapack -lblas)
parent
73178626
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+5
-5
5 additions, 5 deletions
CMakeLists.txt
Graphics/gl2png.cpp
+3
-3
3 additions, 3 deletions
Graphics/gl2png.cpp
with
8 additions
and
8 deletions
CMakeLists.txt
+
5
−
5
View file @
a3b5fcc5
...
...
@@ -155,7 +155,7 @@ if(ENABLE_BLAS_LAPACK)
if
(
LAPACK_LIBRARIES
)
set
(
HAVE_BLAS TRUE
)
set
(
HAVE_LAPACK TRUE
)
list
(
APPEND CONFIG_OPTIONS
"
IntelBlas"
"IntelLapack
"
)
list
(
APPEND CONFIG_OPTIONS
"
MKL
"
)
else
(
LAPACK_LIBRARIES
)
set
(
REFLAPACK_LIBS_REQUIRED lapack blas g2c gcc
)
find_all_libraries
(
LAPACK_LIBRARIES REFLAPACK_LIBS_REQUIRED
""
)
...
...
@@ -178,20 +178,20 @@ if(ENABLE_BLAS_LAPACK)
if
(
LAPACK_LIBRARIES
)
set
(
HAVE_BLAS TRUE
)
set
(
HAVE_LAPACK TRUE
)
list
(
APPEND CONFIG_OPTIONS
"
IntelBlas"
"IntelLapack
"
)
list
(
APPEND CONFIG_OPTIONS
"
MKL
"
)
endif
(
LAPACK_LIBRARIES
)
elseif
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"SunOS"
)
# on SunOS we know blas and lapack are available in sunperf
set
(
HAVE_BLAS TRUE
)
set
(
HAVE_LAPACK TRUE
)
list
(
APPEND CONFIG_OPTIONS
"
Blas"
"Lapack
"
)
list
(
APPEND CONFIG_OPTIONS
"
SunPerf
"
)
set
(
LAPACK_FLAGS -library=sunperf
)
elseif
(
APPLE
)
# on Mac we also know that blas and lapack are available
set
(
LAPACK_LIBRARIES
"-
llapack -lblas
"
)
set
(
LAPACK_LIBRARIES
"-
framework vecLib
"
)
set
(
HAVE_BLAS TRUE
)
set
(
HAVE_LAPACK TRUE
)
list
(
APPEND CONFIG_OPTIONS
"
Blas"
"Lapack
"
)
list
(
APPEND CONFIG_OPTIONS
"
VecLib
"
)
endif
(
MSVC
)
if
(
NOT HAVE_BLAS OR NOT HAVE_LAPACK
)
# if we haven't found blas and lapack without using the standard
...
...
This diff is collapsed.
Click to expand it.
Graphics/gl2png.cpp
+
3
−
3
View file @
a3b5fcc5
...
...
@@ -64,10 +64,10 @@ void create_png(FILE *file, PixelBuffer *buffer, int quality)
time_t
now
;
time
(
&
now
);
png_text
text_ptr
[
10
];
text_ptr
[
0
].
key
=
"Creator"
;
text_ptr
[
0
].
text
=
"Gmsh"
;
text_ptr
[
0
].
key
=
(
char
*
)
"Creator"
;
text_ptr
[
0
].
text
=
(
char
*
)
"Gmsh"
;
text_ptr
[
0
].
compression
=
PNG_TEXT_COMPRESSION_NONE
;
text_ptr
[
1
].
key
=
"Date"
;
text_ptr
[
1
].
key
=
(
char
*
)
"Date"
;
text_ptr
[
1
].
text
=
ctime
(
&
now
);
text_ptr
[
1
].
compression
=
PNG_TEXT_COMPRESSION_NONE
;
png_set_text
(
png_ptr
,
info_ptr
,
text_ptr
,
2
);
...
...
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