Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Accelerate LAPACKE
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CMake
Accelerate LAPACKE
Commits
4cb9e0f7
Unverified
Commit
4cb9e0f7
authored
8 months ago
by
Tim Kaune
Browse files
Options
Downloads
Patches
Plain Diff
Add supported BLAS/LAPACK version to diagnostic output
parent
977c5d95
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+4
-2
4 additions, 2 deletions
CMakeLists.txt
with
4 additions
and
2 deletions
CMakeLists.txt
+
4
−
2
View file @
4cb9e0f7
...
@@ -43,13 +43,13 @@ if (CMAKE_HOST_SYSTEM_NAME MATCHES "Darwin")
...
@@ -43,13 +43,13 @@ if (CMAKE_HOST_SYSTEM_NAME MATCHES "Darwin")
# The available binary Accelerate version is determined by the MacOS system
# The available binary Accelerate version is determined by the MacOS system
message
(
STATUS
"The Darwin kernel version is:
${
CMAKE_HOST_SYSTEM_VERSION
}
"
)
message
(
STATUS
"The Darwin kernel version is:
${
CMAKE_HOST_SYSTEM_VERSION
}
"
)
# Mac OS X 15.0 Sequoia
if
(
CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 24.0
)
if
(
CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 24.0
)
# Mac OS X 15.0 Sequoia or later
message
(
STATUS
"The MacOS version is: >=15.0"
)
message
(
STATUS
"The MacOS version is: >=15.0"
)
set
(
MINIMUM_MACOS_SDK_VERSION 15.0
)
set
(
MINIMUM_MACOS_SDK_VERSION 15.0
)
set
(
ACCELERATE_NEW_LAPACK_VERSION 3.11.0
)
set
(
ACCELERATE_NEW_LAPACK_VERSION 3.11.0
)
# Mac OS X 13.3 Ventura
elseif
(
CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 22.4
)
elseif
(
CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 22.4
)
# Mac OS X 13.3 Ventura or later
message
(
STATUS
"The MacOS version is: >=13.3,<15.0"
)
message
(
STATUS
"The MacOS version is: >=13.3,<15.0"
)
set
(
MINIMUM_MACOS_SDK_VERSION 13.3
)
set
(
MINIMUM_MACOS_SDK_VERSION 13.3
)
set
(
VALID_MACOS_SDK_VERSIONS 14.5 14.4 14.2 14.0 13.3
)
set
(
VALID_MACOS_SDK_VERSIONS 14.5 14.4 14.2 14.0 13.3
)
...
@@ -57,6 +57,8 @@ if (CMAKE_HOST_SYSTEM_NAME MATCHES "Darwin")
...
@@ -57,6 +57,8 @@ if (CMAKE_HOST_SYSTEM_NAME MATCHES "Darwin")
else
()
else
()
message
(
FATAL_ERROR
"You need at least MacOS 13.3 Ventura for Accelerate with BLAS/LAPACK v3.9.1!"
)
message
(
FATAL_ERROR
"You need at least MacOS 13.3 Ventura for Accelerate with BLAS/LAPACK v3.9.1!"
)
endif
()
endif
()
message
(
STATUS
"The BLAS/LAPACK version provided by the Accelerate framework is:
${
ACCELERATE_NEW_LAPACK_VERSION
}
"
)
endif
()
endif
()
string
(
REGEX MATCH
[=[SDKs/MacOSX(.*)\.sdk$]=]
_REGEX_DUMMY
"
${
CMAKE_OSX_SYSROOT
}
"
)
string
(
REGEX MATCH
[=[SDKs/MacOSX(.*)\.sdk$]=]
_REGEX_DUMMY
"
${
CMAKE_OSX_SYSROOT
}
"
)
...
...
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