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
9c906afe
Commit
9c906afe
authored
2 years ago
by
Duncan Bellamy
Committed by
alice
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
community/rspamd: enable on riscv64
* add icu-data-full to depends
parent
5bf692fa
Loading
Loading
1 merge request
!34720
community/rspamd: enable on riscv64
Pipeline
#123257
passed
2 years ago
Stage: lint
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/rspamd/APKBUILD
+12
-6
12 additions, 6 deletions
community/rspamd/APKBUILD
with
12 additions
and
6 deletions
community/rspamd/APKBUILD
+
12
−
6
View file @
9c906afe
...
...
@@ -6,15 +6,15 @@
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname
=
rspamd
pkgver
=
3.2
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"Fast, free and open-source spam filtering system"
url
=
"https://rspamd.com/"
# riscv64 blocked by luajit
arch
=
"all !riscv64"
arch
=
"all"
license
=
"Apache-2.0 BSD-1-Clause BSD-2-Clause BSD-3-Clause CC0-1.0 LGPL-2.1-or-later
LGPL-3.0-only MIT Zlib"
pkgusers
=
"rspamd"
pkggroups
=
"rspamd"
depends
=
"icu-data-full"
makedepends
=
"
cmake
curl-dev
...
...
@@ -22,7 +22,6 @@ makedepends="
glib-dev
icu-dev
libsodium-dev
luajit-dev
openssl1.1-compat-dev
pcre2-dev
perl
...
...
@@ -32,6 +31,12 @@ makedepends="
zlib-dev
zstd-dev
"
case
"
$CARCH
"
in
riscv64
)
makedepends
=
"
$makedepends
lua5.4-dev"
_luajit
=
"OFF"
;;
*
)
makedepends
=
"
$makedepends
luajit-dev"
_luajit
=
"ON"
;;
esac
install
=
"
$pkgname
.pre-install
$pkgname
.post-upgrade"
subpackages
=
"
$pkgname
-dbg
...
...
@@ -77,7 +82,7 @@ build() {
-DENABLE_URL_INCLUDE
=
ON
\
-DENABLE_PCRE2
=
ON
\
-DENABLE_HYPERSCAN
=
"
$_hm
"
\
-DENABLE_LUAJIT
=
ON
\
-DENABLE_LUAJIT
=
"
$_luajit
"
\
-DSYSTEM_FMT
=
ON
\
-DSYSTEM_ZSTD
=
ON
\
-DCMAKE_CXX_FLAGS
=
"
$CXXFLAGS
"
\
...
...
@@ -89,11 +94,12 @@ build() {
check
()
{
case
"
$CARCH
"
in
x86|x86_64|s390x|armv7
)
x86|x86_64|s390x|armv7
|riscv64
)
# x86 has Segmentation fault on builder
# x86_64 has illegal instruction on builder
# s390x has require nil value error
# armv7 has bus error
# riscv64 full tests need luajit
./build/test/rspamd-test-cxx
;;
*
)
cmake
--build
build
--target
run-test
;;
...
...
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