All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/glm: bump to version 0.9.9.4
@ 2019-03-27 17:11 Fabrice Fontaine
  2019-03-27 19:10 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Fontaine @ 2019-03-27 17:11 UTC (permalink / raw)
  To: buildroot

- Disable tests as they are enabled by default since version 0.9.9.1:
  https://github.com/g-truc/glm/commit/d307d390193f4027faec48ac79d7f74b2bec6e56
- Static and shared libraries are always built since version 0.9.9.1:
  https://github.com/g-truc/glm/commit/a23dd2f800185a5e233534fed82fc5c2840fbe5c
  So, disable them as GLM is header-only (it should be noted that
  upstream wants to keep those libraries as the commit to disable them
  has been reverted:
  https://github.com/g-truc/glm/commit/ca8372490eb8742d402878c9e930b891225982e6
- Add hash for license file (now in manual.md#section0)

Fixes:
 - http://autobuild.buildroot.org/results/3cf1fd3387bd4952470edcfcb93d44f58c9e7ff7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/glm/glm.hash |  3 ++-
 package/glm/glm.mk   | 10 ++++++++--
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/package/glm/glm.hash b/package/glm/glm.hash
index c87d4ca2f6..9d5c94301d 100644
--- a/package/glm/glm.hash
+++ b/package/glm/glm.hash
@@ -1,2 +1,3 @@
 # Locally calculated
-sha256 a220e60f8711265595be3221e530d632d5823641ecd46a3a54bc174933bff14c  glm-0.9.8.4.tar.gz
+sha256 3a073eb8f3be07cee74481db0e1f78eda553b554941e405c863ab64de6a2e954  glm-0.9.9.4.tar.gz
+sha256 337130631a714eeae017556cad101d5324c2961214120b6214741d3d43667086  manual.md
diff --git a/package/glm/glm.mk b/package/glm/glm.mk
index 1f23146dda..e15d4fea49 100644
--- a/package/glm/glm.mk
+++ b/package/glm/glm.mk
@@ -4,14 +4,20 @@
 #
 ################################################################################
 
-GLM_VERSION = 0.9.8.4
+GLM_VERSION = 0.9.9.4
 GLM_SITE = $(call github,g-truc,glm,$(GLM_VERSION))
 GLM_LICENSE = MIT
-GLM_LICENSE_FILES = copying.txt
+GLM_LICENSE_FILES = manual.md
 
 # GLM is a header-only library, it only makes sense
 # to have it installed into the staging directory.
 GLM_INSTALL_STAGING = YES
 GLM_INSTALL_TARGET = NO
 
+# Don't build libraries as GLM is header-only
+GLM_CONF_OPTS = \
+	-DGLM_TEST_ENABLE=OFF \
+	-DBUILD_SHARED_LIBS=OFF \
+	-DBUILD_STATIC_LIBS=OFF
+
 $(eval $(cmake-package))
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/glm: bump to version 0.9.9.4
  2019-03-27 17:11 [Buildroot] [PATCH 1/1] package/glm: bump to version 0.9.9.4 Fabrice Fontaine
@ 2019-03-27 19:10 ` Thomas Petazzoni
  2019-03-27 19:35   ` Fabrice Fontaine
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2019-03-27 19:10 UTC (permalink / raw)
  To: buildroot

On Wed, 27 Mar 2019 18:11:03 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> - Disable tests as they are enabled by default since version 0.9.9.1:
>   https://github.com/g-truc/glm/commit/d307d390193f4027faec48ac79d7f74b2bec6e56
> - Static and shared libraries are always built since version 0.9.9.1:
>   https://github.com/g-truc/glm/commit/a23dd2f800185a5e233534fed82fc5c2840fbe5c
>   So, disable them as GLM is header-only (it should be noted that
>   upstream wants to keep those libraries as the commit to disable them
>   has been reverted:
>   https://github.com/g-truc/glm/commit/ca8372490eb8742d402878c9e930b891225982e6
> - Add hash for license file (now in manual.md#section0)
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/3cf1fd3387bd4952470edcfcb93d44f58c9e7ff7
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/glm/glm.hash |  3 ++-
>  package/glm/glm.mk   | 10 ++++++++--
>  2 files changed, 10 insertions(+), 3 deletions(-)

Applied to master, thanks. To be honest, I still don't understand what
is this library that they are building but not really using. Do you
understand better what it is ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/glm: bump to version 0.9.9.4
  2019-03-27 19:10 ` Thomas Petazzoni
@ 2019-03-27 19:35   ` Fabrice Fontaine
  2019-03-27 20:04     ` Arnout Vandecappelle
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Fontaine @ 2019-03-27 19:35 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

Le mer. 27 mars 2019 ? 20:10, Thomas Petazzoni
<thomas.petazzoni@bootlin.com> a ?crit :
>
> On Wed, 27 Mar 2019 18:11:03 +0100
> Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
>
> > - Disable tests as they are enabled by default since version 0.9.9.1:
> >   https://github.com/g-truc/glm/commit/d307d390193f4027faec48ac79d7f74b2bec6e56
> > - Static and shared libraries are always built since version 0.9.9.1:
> >   https://github.com/g-truc/glm/commit/a23dd2f800185a5e233534fed82fc5c2840fbe5c
> >   So, disable them as GLM is header-only (it should be noted that
> >   upstream wants to keep those libraries as the commit to disable them
> >   has been reverted:
> >   https://github.com/g-truc/glm/commit/ca8372490eb8742d402878c9e930b891225982e6
> > - Add hash for license file (now in manual.md#section0)
> >
> > Fixes:
> >  - http://autobuild.buildroot.org/results/3cf1fd3387bd4952470edcfcb93d44f58c9e7ff7
> >
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> > ---
> >  package/glm/glm.hash |  3 ++-
> >  package/glm/glm.mk   | 10 ++++++++--
> >  2 files changed, 10 insertions(+), 3 deletions(-)
>
> Applied to master, thanks. To be honest, I still don't understand what
> is this library that they are building but not really using. Do you
> understand better what it is ?
I don't understand either, I asked upstream about it here:
https://github.com/g-truc/glm/pull/871
But I didn't get any answer.

Then, I sent a patch to remove those libraries that was merged but
reverted a few hours later.
The only information that I found is the commit title on the commit
before the revert: "Allow to browse GLM source"
(https://github.com/g-truc/glm/commit/5a5a0a88b010892f678a01bd39156d346bc5e3f0).
>
> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
Best Regards,

Fabrice

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] package/glm: bump to version 0.9.9.4
  2019-03-27 19:35   ` Fabrice Fontaine
@ 2019-03-27 20:04     ` Arnout Vandecappelle
  0 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2019-03-27 20:04 UTC (permalink / raw)
  To: buildroot



On 27/03/2019 20:35, Fabrice Fontaine wrote:
> Hi Thomas,
> 
> Le mer. 27 mars 2019 ? 20:10, Thomas Petazzoni
> <thomas.petazzoni@bootlin.com> a ?crit :
>>
>> On Wed, 27 Mar 2019 18:11:03 +0100
>> Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
>>
>>> - Disable tests as they are enabled by default since version 0.9.9.1:
>>>   https://github.com/g-truc/glm/commit/d307d390193f4027faec48ac79d7f74b2bec6e56
>>> - Static and shared libraries are always built since version 0.9.9.1:
>>>   https://github.com/g-truc/glm/commit/a23dd2f800185a5e233534fed82fc5c2840fbe5c
>>>   So, disable them as GLM is header-only (it should be noted that
>>>   upstream wants to keep those libraries as the commit to disable them
>>>   has been reverted:
>>>   https://github.com/g-truc/glm/commit/ca8372490eb8742d402878c9e930b891225982e6
>>> - Add hash for license file (now in manual.md#section0)
>>>
>>> Fixes:
>>>  - http://autobuild.buildroot.org/results/3cf1fd3387bd4952470edcfcb93d44f58c9e7ff7
>>>
>>> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>>> ---
>>>  package/glm/glm.hash |  3 ++-
>>>  package/glm/glm.mk   | 10 ++++++++--
>>>  2 files changed, 10 insertions(+), 3 deletions(-)
>>
>> Applied to master, thanks. To be honest, I still don't understand what
>> is this library that they are building but not really using. Do you
>> understand better what it is ?
> I don't understand either, I asked upstream about it here:
> https://github.com/g-truc/glm/pull/871
> But I didn't get any answer.
> 
> Then, I sent a patch to remove those libraries that was merged but
> reverted a few hours later.
> The only information that I found is the commit title on the commit
> before the revert: "Allow to browse GLM source"

 With such a commit message, I guess that the GLM maintainers use an IDE that
parses CMakeLists.txt. Removing the glm subdir implicitly removes everything
from the IDE. It is included in the IDE through glm/detail/glm.cpp, or maybe
through the source_group commands.


 Regards,
 Arnout


> (https://github.cglm/detail/glm.cppom/g-truc/glm/commit/5a5a0a88b010892f678a01bd39156d346bc5e3f0).
>>
>> Thanks,
>>
>> Thomas
>> --
>> Thomas Petazzoni, CTO, Bootlin
>> Embedded Linux and Kernel engineering
>> https://bootlin.com
> Best Regards,
> 
> Fabrice
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-27 20:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-27 17:11 [Buildroot] [PATCH 1/1] package/glm: bump to version 0.9.9.4 Fabrice Fontaine
2019-03-27 19:10 ` Thomas Petazzoni
2019-03-27 19:35   ` Fabrice Fontaine
2019-03-27 20:04     ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.