From patchwork Thu Dec 12 07:34:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3714 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B6C673F380 for ; Thu, 12 Dec 2024 08:34:55 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-5d3e4e09ae7sf398706a12.3 for ; Wed, 11 Dec 2024 23:34:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1733988895; cv=pass; d=google.com; s=arc-20240605; b=hTOCxun2hxKfmmaDxTVJ1XApJJ8JJHn+j1qE5yH7ZyhmrEvO+XsBSF9PPASeTChlEw YQlvKnr3iRqPQExje7FD9ImtTLbrX+vNr8uDCrOrdSsMYRe89uni82fffABb9DpIe04a Y1dC6iZmRKZGC6jgYEfuWQYmuT0vsrSTHrs2jIWm9dDwf2C+Gp4b0hgf1MUaG/5xpOpA hAomhvK+UBKtVfvHmj9SNh19Jpo2I8MyOrVLQF1azBdqvVG5CVfPRQOECyb2c0G16DM0 5LFYiV22TEZayi6zkIl4rZY0kGdzMTNvOUtGIL7y/DKWkag2136rEG3AH2NbJ/oJbM4g Ymmw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=UJPrRenw8PttfjGXrWxmLe03YsIv1Tb2zkBF2Z4NTYw=; fh=0/MEt6Wj6Zd86pfVdpu6XFuCtuoBHghCaI7mFnVhQzE=; b=N/rtkfWCPvSVKD4gXtyglcyUPNF4D6fJGKZAJNe6/HB17IAS3B/6hZB5gCGV424u93 IDWQYKS/R4M3X+gU+4G48gTjopcBe9ySqm25I1Et775r+E2y5VpMFd6KZc7g893PUZbW LfVqQe3YImFUGFKttMIID8biSOb7tMpBRHc+AqiiyO98y/UwLeTChnmVero8LZ1GO/m0 p0jVRL/t1vYSBvJKVnLOIcdYexVh1wZrcHD2ZxulFpcfMCMRQVueAFfgJgfRXtV23sU3 agMAIYh9zNokfQ5b5IPOl2A9vxb8aztMbCB/ZtE+qknCxFlai6rVe9J78lNnryFxs/Bg rRxQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=daQfZkq5; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1733988895; x=1734593695; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=UJPrRenw8PttfjGXrWxmLe03YsIv1Tb2zkBF2Z4NTYw=; b=FedE/835J1V7CGnqeQeAgqAg+6oAi9kYgPAAx4OEnIj50nvNVXLwzz450ePft1i1Xl vcF0ck63ufnRzdLM/fSRxpKCUNeJTywyFnq6Zo/z/6/EcyddO88lVAY7g7fjDJhol01t 0Hbr0p90JLgPbpY5iTKwotTaEYLOT57u/O7/k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733988895; x=1734593695; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=UJPrRenw8PttfjGXrWxmLe03YsIv1Tb2zkBF2Z4NTYw=; b=OTNyuYbLU8p7k8U97HdxtpjHaZkyDJar1BrGdItmHrjpQ/JJmjTD/7m0R86Epkk5dL SdC4vnaqaSvTa5Iw8s1GUXnM/nYbpBUMxXQAfte4S5rdPsfComo/vXfc3K4d7EUH6sfe icLmJmHKx3yvV4s1TJriEzj6lVr544KIrZkC2Zn6PzkZJRC95NFjR9XRn9XJqrIW0i2m ll7h0Py7h27kEjuIJBPKNwBM4FanwAcNeNJv+Y11IxWt6cS+jcWBerelIIwJUlYrwXEE 8UU66Bc/S+z3F8gzcgzqyntEzE7jpBM8hmvR3JK5YArQG2CJolWb3l82+x8k9LilwsgP FFgw== X-Forwarded-Encrypted: i=2; AJvYcCVYCtp9ew5DA1p1OpiOdkDxOLrybX5nudFkf+VVyRmD7h1yHcjm3uMSHhl4/E9jsjPARx6vW7L6OJOaPibl@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxN2WuBaNsdDQQqwx4friq3F+Lll9KFOJlz4DEO32MTy8m4ADgF n/mY/5rB2qdn7EQqWmQI6wPuPW5okRNoyBZcvyy08fnCu0mTRQzUkw8HnkTBZ+sssw== X-Google-Smtp-Source: AGHT+IEL8Z4cYOEb6PGbH6vT9dnU6O/75l9vR11ixUcSw0K/Xsb3vFngUtB1tEU5zreUVS04X9gJDg== X-Received: by 2002:a05:6402:40cb:b0:5cf:d19c:e21c with SMTP id 4fb4d7f45d1cf-5d4edd075femr26938a12.20.1733988894996; Wed, 11 Dec 2024 23:34:54 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:db49:0:b0:5d3:eaf5:6da7 with SMTP id 4fb4d7f45d1cf-5d454278acels12926a12.0.-pod-prod-03-eu; Wed, 11 Dec 2024 23:34:53 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXoikx0LNQ7WvDfmM3w44vtONxEqS718NC+LVMUYSjDrAyY3Ny0B7FPO6xHSY7iRRBEuZCjD6dk3KLNMQTQ@amarulasolutions.com X-Received: by 2002:a17:906:31cc:b0:aa6:2a17:b54c with SMTP id a640c23a62f3a-aa6b10f5d0cmr590937266b.6.1733988892992; Wed, 11 Dec 2024 23:34:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733988892; cv=none; d=google.com; s=arc-20240605; b=IXMBfs+UZJLJY9n1ctpHZopVFe5r2sEofIusaSd9IhF+Nr4iH/LMK6tz44P3nbmwjS I/W/XDjtpvDUAkotPjAJC917HWtRYMx5KNz2sESH1NG6ol1boTi/SQuY8aspv4jvVBWq gcuj4dv4pQbVmUPUo4T2WNsS3FAc1Z1VIbPVopI+NuAKRmBoiOp+sQg51cnMv/qLnOWD QNMyEUB8qb+141DD72Rj6CC3GzRWTp/ch4glIJCbENgF4pMhcOoOrWfvU0CzX/pV5aqh NoYfwBEvTl/nvn2soJnK/qRazJTsmxDK4/s+adjgsUUyGg1CwvRranhVQ7W5kBUDBP3K 83Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=Fyj0TLau4PjQERN66WFAi0tiZHYoSTOB2ZXg+6s5nNM=; fh=BDjKrruIgju9PmEbSwJzt52o0gGs8SZqxj5ImzDDVs0=; b=AxQETxTAnCCcGkO8eNqrvaJx7DmRaXC4N+QOGrG6E2+u6c3AU5Huo8/4q6frCN5+xv t5NDzJ/ZjnQ/Mvh+u0+SiqS4N0AhBSqhggqJZ2bUCAas4MeQEILA//klmNayPejPHkrz qVtLQgEeJwf+xKUMDniWnnFqUJddoaMZybfo4fYq/nyNZtPyg2JMaMXOfS40fOGFVphl lNHV24H08ZTA+DCQ8o4dhTfayyh55ZUpqVlEqP+4LGMeuGAFgL7EQNrrGNasouUxJ9J+ 8Rkl3TTPg1QhMMzjm7XQuBJV4QJVhguphWoGHmnwJLxwLwX3LNBErfA5XouNUgN0xCuN yvzw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=daQfZkq5; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-aa625eee797sor58775066b.1.2024.12.11.23.34.52 for (Google Transport Security); Wed, 11 Dec 2024 23:34:52 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCVjrNhXLRJCAW78ize34pXAhgSVd7F27U1z5HiEhl2xYspBeWXYRWNMux7K+pOo9jTcmQp1+knt/Rg5WHfl@amarulasolutions.com X-Gm-Gg: ASbGncuIeF7UGGEC3NRFdYd5zqy5OQCgmT3EfOhZ0coDUpa/wNqjOjfYW60DIkhqIxO PK+F62t4Q20AMoz6LMK8o2uM+WKUNjHb95D6TeNZ1Ivv2v54rTLXLq+wLD4zf0G8VC69IBA/VFK dos1HBtMf/wq8Y3Wud8vObuxjnS5lZDvT6v2Y9pu4ImgMd+wKbLZg7fr101u7NCc/WXrZpiyvrz jyUURviEIMvVqWhDL6MAtXI29hL9WPX1DYq+hmmQiQuNNZb7JzFw4lmK7sNOMp3+GBElNDYgVsY d21NsEFnJo8/Qp8DeEkZgAySCpURZQDDMpng3SSEzSC7Mg== X-Received: by 2002:a17:907:7742:b0:aa6:94c0:f755 with SMTP id a640c23a62f3a-aa6b10f590dmr552799466b.1.1733988892569; Wed, 11 Dec 2024 23:34:52 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.41.87]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa67770d264sm663385166b.64.2024.12.11.23.34.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2024 23:34:52 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Dario Binacchi , linux-amarula@amarulasolutions.com Subject: [PATCH 1/1] package/armadillo: fix static build Date: Thu, 12 Dec 2024 08:34:49 +0100 Message-ID: <20241212073449.449807-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=daQfZkq5; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , By default, the library is generated as shared. Therefore, if BR2_STATIC_LIBS is selected, let's require the creation of a static library. Fixes: - https://autobuild.buildroot.org/results/fdaf2028b97f60bc01d22d3caeb9a6432d92b598 Signed-off-by: Dario Binacchi --- package/armadillo/armadillo.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/armadillo/armadillo.mk b/package/armadillo/armadillo.mk index e2d7c3968f2a..0d2e85464f6a 100644 --- a/package/armadillo/armadillo.mk +++ b/package/armadillo/armadillo.mk @@ -30,4 +30,8 @@ ARMADILLO_CONF_OPTS += -DLAPACK_FOUND=ON ARMADILLO_DEPENDENCIES += lapack endif +ifeq ($(BR2_STATIC_LIBS),y) +ARMADILLO_CONF_OPTS += -DSTATIC_LIB=ON +endif + $(eval $(cmake-package))