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
7f6f2e40
Unverified
Commit
7f6f2e40
authored
1 month ago
by
Tim Kaune
Browse files
Options
Downloads
Plain Diff
Merge branch '4-cmake-4-support'
parents
97895946
daeb62da
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakePresets.json
+10
-0
10 additions, 0 deletions
CMakePresets.json
README.md
+16
-0
16 additions, 0 deletions
README.md
with
26 additions
and
0 deletions
CMakePresets.json
+
10
−
0
View file @
7f6f2e40
...
...
@@ -13,6 +13,16 @@
"CMAKE_INSTALL_PREFIX"
:
"$env{HOME}/.local"
}
},
{
"name"
:
"cmake4"
,
"hidden"
:
true
,
"cacheVariables"
:
{
"CMAKE_OSX_SYSROOT"
:
"macosx"
},
"environment"
:
{
"CMAKE_POLICY_VERSION_MINIMUM"
:
"3.5"
}
},
{
"name"
:
"make"
,
"hidden"
:
true
,
...
...
This diff is collapsed.
Click to expand it.
README.md
+
16
−
0
View file @
7f6f2e40
...
...
@@ -48,6 +48,15 @@ include the Accelerate C/C++ headers.
[
lapack-v3.11.0
]:
https://github.com/Reference-LAPACK/lapack/releases/tag/v3.11.0
[
macos15-release-notes
]:
https://developer.apple.com/documentation/macos-release-notes/macos-15-release-notes
-
[
The Problem
](
#the-problem
)
-
[
The Solution
](
#the-solution
)
-
[
The alias files (to use in other projects)
](
#the-alias-files-to-use-in-other-projects
)
-
[
How to compile
](
#how-to-compile
)
-
[
Prerequisites
](
#prerequisites
)
-
[
Workflow with CMake
](
#workflow-with-cmake
)
-
[
CMake v4 compatibility
](
#cmake-v4-compatibility
)
-
[
Using LAPACKE in another project
](
#using-lapacke-in-another-project
)
## The Problem ##
But what if you have to or just want to link against the Accelerate framework
...
...
@@ -167,6 +176,13 @@ $ cmake --workflow --preset user-accelerate-lapacke32
I wouldn't recommend installing to
`/usr/local`
(used by Homebrew on Intel Macs)
or
`/opt/local`
(used by MacPorts).
#### CMake v4 compatibility ####
To build the project with CMake v4 or higher, there is a
`cmake4`
preset, that
you can use in your
`CMakeUserPresets.json`
. Both
`user-accelerate-lapacke32`
and
`user-accelerate-lapacke64`
should additionally inherit from
`cmake4`
. This
is not included by default.
### Using LAPACKE in another project ###
You can use your self-compiled LAPACKE library in other projects by importing
...
...
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