Package Details: arm-none-eabi-picolibc 1.8.8-1

Git Clone URL: https://aur.archlinux.org/arm-none-eabi-picolibc.git (read-only, click to copy)
Package Base: arm-none-eabi-picolibc
Description: Fork of newlib with stdio bits from avrlibc
Upstream URL: https://github.com/picolibc/picolibc
Licenses: BSD
Submitter: dl3yc
Maintainer: swiftgeek
Last Packager: swiftgeek
Votes: 2
Popularity: 0.085443
First Submitted: 2022-11-30 01:45 (UTC)
Last Updated: 2024-10-29 02:36 (UTC)

Latest Comments

swiftgeek commented on 2024-08-17 09:38 (UTC) (edited on 2024-08-17 09:42 (UTC) by swiftgeek)

From 1ff918a2514b9a4a828388ff36e4008808b754ee Mon Sep 17 00:00:00 2001
From: Sebastian 'swiftgeek' Grzywna <swiftgeek@gmail.com>
Date: Sat, 17 Aug 2024 11:36:06 +0200
Subject: [PATCH] Bump to 1.8.6 and remove conflict with newlib

---
 .SRCINFO | 10 ++++++----
 PKGBUILD | 11 ++++++-----
 2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 19fefc6..353cc57 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Sat Aug 17 09:35:44 UTC 2024
 pkgbase = arm-none-eabi-picolibc
    pkgdesc = Fork of newlib with stdio bits from avrlibc
-   pkgver = 1.7.9
+   pkgver = 1.8.6
    pkgrel = 1
    url = https://github.com/picolibc/picolibc
    arch = i686
@@ -8,10 +10,10 @@ pkgbase = arm-none-eabi-picolibc
    license = BSD
    makedepends = arm-none-eabi-gcc
    makedepends = meson
-   conflicts = arm-none-eabi-newlib
    options = !strip
    options = !buildflags
-   source = picolibc-1.7.9.tar.gz::https://github.com/picolibc/picolibc/archive/1.7.9.tar.gz
-   sha256sums = ad08e5b849a7c64338896f99177a0215cd47a805efcdf625eb4c9bc1b39bd1d3
+   source = picolibc-1.8.6.tar.gz::https://github.com/picolibc/picolibc/archive/1.8.6.tar.gz
+   sha256sums = 42696b358c249cfd6e13db672438d6549873ad26816823236e7c9447dbd01db0

 pkgname = arm-none-eabi-picolibc
+
diff --git a/PKGBUILD b/PKGBUILD
index 241b805..57496bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,23 +2,24 @@

 _target=arm-none-eabi
 pkgname=$_target-picolibc
-pkgver=1.7.9
+pkgver=1.8.6
 pkgrel=1
 pkgdesc='Fork of newlib with stdio bits from avrlibc'
-conflicts=("$_target-newlib")
 arch=('i686' 'x86_64')
 url='https://github.com/picolibc/picolibc'
 license=('BSD')
 makedepends=("$_target-gcc" 'meson')
 source=("picolibc-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha256sums=('ad08e5b849a7c64338896f99177a0215cd47a805efcdf625eb4c9bc1b39bd1d3')
+sha256sums=('42696b358c249cfd6e13db672438d6549873ad26816823236e7c9447dbd01db0')
 options=(!strip !buildflags)

 build() {
   meson \
-    --prefix="/usr/$_target" \
-    --buildtype=plain \
+    --prefix="/usr/$_target"/picolibc \
     --cross-file "picolibc-$pkgver/scripts/cross-${_target}.txt" \
+    -Dspecsdir="/usr/$_target/lib" \
+    -Dsystem-libc=false \
+    --buildtype=plain \
     "picolibc-$pkgver" build

   meson compile -C build
-- 
2.45.2