Andrew Crerar pushed to branch main at Arch Linux / Packaging / Packages / 
pulumi


Commits:
d50375d5 by Andrew Crerar at 2024-03-02T11:42:22-05:00
upgpkg: 3.108.1-1

- Updating ldflags to ensure use of external linker
- Enabled LTO

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,14 +1,13 @@
 pkgbase = pulumi
        pkgdesc = Modern Infrastructure as Code
-       pkgver = 3.106.0
+       pkgver = 3.108.1
        pkgrel = 1
        url = https://github.com/pulumi/pulumi
        arch = x86_64
        license = Apache
        makedepends = go
        depends = glibc
-       options = !lto
-       source = 
pulumi-3.106.0.tar.gz::https://github.com/pulumi/pulumi/archive/v3.106.0.tar.gz
-       b2sums = 
8c91396664a574f4a8db40a0eeb7b3ddfde14249e820935d12da0913a1e7470e30084744545c453066ade081c68c475d58d3a591e8f04323567bf795530fe795
+       source = 
pulumi-3.108.1.tar.gz::https://github.com/pulumi/pulumi/archive/v3.108.1.tar.gz
+       b2sums = 
0651fa1d0c5b4576766187c1053066298330f28200856c93aadd4fee1170f41c09824ff6904f36c3f0521a08ad45deb571b06426f3bf4c2253588cd6143b54b5
 
 pkgname = pulumi


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 # Contributor: Christoph Gysin <christoph.gy...@gmail.com>
 
 pkgname=pulumi
-pkgver=3.106.0
+pkgver=3.108.1
 pkgrel=1
 pkgdesc='Modern Infrastructure as Code'
 arch=('x86_64')
@@ -12,8 +12,8 @@ license=('Apache')
 depends=('glibc')
 makedepends=('go')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-b2sums=('8c91396664a574f4a8db40a0eeb7b3ddfde14249e820935d12da0913a1e7470e30084744545c453066ade081c68c475d58d3a591e8f04323567bf795530fe795')
-options=('!lto') # disable as soon as LTO problems are resolved
+b2sums=('0651fa1d0c5b4576766187c1053066298330f28200856c93aadd4fee1170f41c09824ff6904f36c3f0521a08ad45deb571b06426f3bf4c2253588cd6143b54b5')
+options=() # disable as soon as LTO problems are resolved
 
 _plugin_dirs=(
   "python/cmd/pulumi-language-python"
@@ -33,7 +33,8 @@ build() {
   # Build the `pulumi` executable
   cd "${srcdir}/${pkgname}-${pkgver}/pkg"
   go build \
-    -ldflags "-X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
+    -ldflags "-linkmode external
+              -X 
github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver}" \
     -o "${srcdir}/${pkgname}-${pkgver}/bin/${pkgname}" \
     "./cmd/${pkgname}" \
 
@@ -45,7 +46,8 @@ build() {
     cd "${plugin_dir}"
 
     go build \
-      -ldflags "-X 
github.com/pulumi/pulumi/sdk/v${pkgver%%.*}/version.Version=${pkgver} 
-extldflags ${LDFLAGS}" \
+      -ldflags "-linkmode external
+                -X 
github.com/pulumi/pulumi/sdk/v${pkgver%%.*}/version.Version=${pkgver}" \
       -o "${srcdir}/${pkgname}-${pkgver}/bin/${plugin_name}" \
       .
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pulumi/-/commit/d50375d5b10c7be9f46d2f71f97bd7cb0574d069

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pulumi/-/commit/d50375d5b10c7be9f46d2f71f97bd7cb0574d069
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to