Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SlapOS Develop
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Zheng
SlapOS Develop
Commits
bbc20298
Commit
bbc20298
authored
Sep 14, 2020
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component/openblas: build for multiple targets with runtime detection of the target CPU.
parent
1aed3608
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
component/openblas/buildout.cfg
component/openblas/buildout.cfg
+6
-8
No files found.
component/openblas/buildout.cfg
View file @
bbc20298
...
@@ -15,23 +15,21 @@ patch-options = -p0
...
@@ -15,23 +15,21 @@ patch-options = -p0
patches =
patches =
${:_profile_base_location_}/disable_openmp_if_single_core.patch#ee553ccaf9dd4bc37374588e49956f62
${:_profile_base_location_}/disable_openmp_if_single_core.patch#ee553ccaf9dd4bc37374588e49956f62
build-common-options =
BINARY="$(uname -m | grep -q x86_64 && echo 64 || echo 32)" NO_STATIC=1 USE_OPENMP=1 USE_THREAD
=1
build-common-options =
NO_STATIC=1 USE_OPENMP=1 USE_THREAD=1 DYNAMIC_ARCH
=1
# You can specify more options with openblas:build-ext-options parameter.
# We build for multiple targets with runtime detection of the target CPU but
# you can specify more options with openblas:build-ext-options parameter.
# Example :
# Example :
# * to build generic binary that supports multiple architecture in one binary
# * to specify the oldest model you expect to encounter
# DYNAMIC_ARCH=1
# (see https://github.com/xianyi/OpenBLAS/blob/v0.2.18/TargetList.txt )
# * to specify target explicitly
# (see https://github.com/xianyi/OpenBLAS/blob/v0.2.15/TargetList.txt )
# TARGET=HASWELL
# TARGET=HASWELL
build-ext-options =
build-ext-options =
# Fortran is required for LAPACK, which is required for matplotlib.
# Fortran is required for LAPACK, which is required for matplotlib.
pre-configure = type gfortran
pre-configure = type gfortran
# First try with auto-detected target and if it fails try TARGET=GENERIC.
configure-command =
configure-command =
make ${:build-common-options} ${:build-ext-options}
|| (make -j1 clean && make ${:build-common-options} TARGET=GENERIC)
make ${:build-common-options} ${:build-ext-options}
make-options =
make-options =
dummy
dummy
make-targets =
make-targets =
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment