diff options
| author | Ashvith Shetty <ashvith@noreply.codeberg.org> | 2026-01-13 17:07:18 +0530 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-01-14 13:04:25 +0200 |
| commit | 89e8c55f2b9e0d4f679561b96016b552a74e9534 (patch) | |
| tree | 674189a35bc10edd4b430718a5cd1ab20ed8aeed /gnu/packages/javascript.scm | |
| parent | 93e81e1c9612145b87234e7692e79128b377bdc3 (diff) | |
gnu: quickjs-ng: Resolve build issue with x86-32 platform.
* gnu/packages/javascript.scm (quickjs-ng):
[source]: Add quickjs-ng-64-bits-precision-on-i686.patch and
quickjs-ng-fix-atomics.pause-on-32-bit.patch patches.
[arguments]<#:tests?>: Enable them.
* quickjs-ng-64-bits-precision-on-i686.patch,
* gnu/packages/patches/quickjs-ng-fix-atomics.pause-on-32-bit.patch: New
files.
* gnu/local.mk (dist_patch_DATA): Add them.
Change-Id: I94be4c85725c9fe7780c1b2e2186411719051b56
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/javascript.scm')
| -rw-r--r-- | gnu/packages/javascript.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index 20ae6d7d3f1..e89cdf855e3 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm | |||
| @@ -958,13 +958,13 @@ wrappers.") | |||
| 958 | (commit (string-append "v" version)))) | 958 | (commit (string-append "v" version)))) |
| 959 | (file-name (git-file-name name version)) | 959 | (file-name (git-file-name name version)) |
| 960 | (sha256 | 960 | (sha256 |
| 961 | (base32 "0mfk32zvvh6c9a9plp6ad07888g795lhdmal3jyaclyn2k5iig9i")))) | 961 | (base32 "0mfk32zvvh6c9a9plp6ad07888g795lhdmal3jyaclyn2k5iig9i")) |
| 962 | ;; Remove these patches on next release as they will be included. | ||
| 963 | (patches (search-patches | ||
| 964 | "quickjs-ng-64-bits-precision-on-i686.patch" | ||
| 965 | "quickjs-ng-fix-atomics.pause-on-32-bit.patch")))) | ||
| 962 | (arguments | 966 | (arguments |
| 963 | (list | 967 | (list |
| 964 | ;; Data model is ILP32 in 32bit, LP64 in 64bit | ||
| 965 | ;; https://docs.oracle.com/cd/E19620-01/805-3024/lp64-1/index.html | ||
| 966 | #:tests? (and (not (%current-target-system)) | ||
| 967 | (target-64bit?)) | ||
| 968 | #:configure-flags | 968 | #:configure-flags |
| 969 | #~(list "-DBUILD_SHARED_LIBS:BOOL=TRUE" | 969 | #~(list "-DBUILD_SHARED_LIBS:BOOL=TRUE" |
| 970 | "-DQJS_BUILD_EXAMPLES:BOOL=FALSE" | 970 | "-DQJS_BUILD_EXAMPLES:BOOL=FALSE" |
