Opened 7 years ago

Last modified 4 years ago

#5611 new Library Submissions

bjam: define the right OS name on Hurd

Reported by: smr@… Owned by: Eric Niebler
Milestone: Website 1.X Component: xpressive
Version: Boost.Build-M3 Severity: Not Applicable
Keywords: Cc:

Description

Report from Pino Toscano (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630652):

Currently bjam does not identify Hurd when using e.g. os.name in jam scripts:

  $ bjam -v | head -n1
  Boost.Jam  Version 3.1.19. OS=UNKNOWN.

The attached patch (which should be suitable for upstream inclusion) sets the correct #define's for Hurd in bjam, adding also the path detection for the bjam test suite.

  $ bjam -v | head -n1
  Boost.Jam  Version 3.1.19. OS=HURD.

Attachments (1)

hurd-bjam_os.patch (1.1 KB) - added by smr@… 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by smr@…

Attachment: hurd-bjam_os.patch added

comment:1 Changed 7 years ago by Vladimir Prus

It seems to me that while this patch appears safe, it is of limited utility, because builtin.jam does not know about Hurd either. Am I mistaken, or there are more patches in the queue?

comment:2 in reply to:  1 Changed 7 years ago by Pino Toscano <toscano.pino@…>

Replying to vladimir_prus:

It seems to me that while this patch appears safe, it is of limited utility, because builtin.jam does not know about Hurd either.

Do you mean os.names in both builtin.jam and builtin.py?

comment:3 Changed 4 years ago by Smitha378

Component: Building Boostxpressive
Milestone: To Be DeterminedWebsite 1.X
Owner: set to Eric Niebler
Severity: ProblemNot Applicable
Type: PatchesLibrary Submissions
Version: Boost 1.46.1Boost.Build-M3

Wow, superb blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is wonderful, let alone the content! daefbfdfeakcgbge

Note: See TracTickets for help on using tickets.