-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gotosocial: add option (turned on by default) to build with wasmsqlite3
for more architecture support. # - wasmsqlite3: uses SQLite through WASM instead of the C-to-Go transpilation (experimental) #143: There was initially an issue with that driver on the BSD family but that was resolved in the driver before we cut this release. It's safe to use and expected to perform just fine. We're currently keeping it behind a go build tag, wasmsqlite3, and we do consider it slightly experimental. However, the plan is to switch to this Soon™ and a number of people including two of the maintainers run this build on their own instances without any issues.
- Loading branch information
Showing
2 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# $NetBSD: options.mk,v 1.1 2024/06/18 09:25:24 nikita Exp $ | ||
|
||
PKG_OPTIONS_VAR= PKG_OPTIONS.gotosocial | ||
PKG_SUPPORTED_OPTIONS= wasmsqlite3 | ||
PKG_SUGGESTED_OPTIONS= wasmsqlite3 | ||
|
||
#PLIST_VARS+= | ||
|
||
.include "../../mk/bsd.options.mk" | ||
|
||
.if !empty(PKG_OPTIONS:Mwasmsqlite3) | ||
MAKE_ENV+= GO_BUILDTAGS="wasmsqlite3" | ||
.endif |