Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
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
alpine
aports
Commits
3caaeff2
Commit
3caaeff2
authored
1 year ago
by
alice
Browse files
Options
Downloads
Patches
Plain Diff
community/basisu: enable sse2 on x86
parent
0d34bf7d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/basisu/APKBUILD
+6
-6
6 additions, 6 deletions
community/basisu/APKBUILD
with
6 additions
and
6 deletions
community/basisu/APKBUILD
+
6
−
6
View file @
3caaeff2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname
=
basisu
pkgname
=
basisu
pkgver
=
1.16.4
pkgver
=
1.16.4
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Basis Universal GPU Texture Codec"
pkgdesc
=
"Basis Universal GPU Texture Codec"
url
=
"https://github.com/BinomialLLC/basis_universal"
url
=
"https://github.com/BinomialLLC/basis_universal"
arch
=
"all"
arch
=
"all"
...
@@ -20,10 +20,10 @@ source="basisu-$pkgver.tar.gz::https://github.com/BinomialLLC/basis_universal/ar
...
@@ -20,10 +20,10 @@ source="basisu-$pkgver.tar.gz::https://github.com/BinomialLLC/basis_universal/ar
builddir
=
"
$srcdir
"
/basis_universal-
$pkgver
builddir
=
"
$srcdir
"
/basis_universal-
$pkgver
build
()
{
build
()
{
_sse
=
OFF
case
"
$CARCH
"
in
if
[
"
$CARCH
"
=
"x86_64"
]
;
then
x86
*
)
local
sse
=
ON
;;
_sse
=
ON
*
)
local
sse
=
OFF
;;
fi
esac
if
[
"
$CBUILD
"
!=
"
$CHOST
"
]
;
then
if
[
"
$CBUILD
"
!=
"
$CHOST
"
]
;
then
CMAKE_CROSSOPTS
=
"-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
CMAKE_CROSSOPTS
=
"-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
...
@@ -33,7 +33,7 @@ build() {
...
@@ -33,7 +33,7 @@ build() {
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DBUILD_SHARED_LIBS
=
ON
\
-DBUILD_SHARED_LIBS
=
ON
\
-DCMAKE_BUILD_TYPE
=
MinSizeRel
\
-DCMAKE_BUILD_TYPE
=
MinSizeRel
\
-DSSE
=
$
_
sse
\
-DSSE
=
$sse
\
$CMAKE_CROSSOPTS
$CMAKE_CROSSOPTS
cmake
--build
build
cmake
--build
build
}
}
...
...
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