Boost logo

Boost-Build :

Subject: Re: [Boost-build] configuring b2 via appveyor
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2017-12-07 14:59:28


On 07.12.2017 08:32, Christian Henning wrote:
> Here is another idea plus explanation for the weird behavior:
>
> https://stackoverflow.com/questions/47685670/write-a-text-file-in-appveyor-script

I see ! Thanks, that's really helpful to know.

>
> I'm not really a big fan of powershell. Is there an image on appveyor
> which has git bash or similar installed? If not, would it be hard to
> install bash before the installation?

Why this complexity ? The answer you are referring above suggests a
rather simple solution: move the config-generating logic into a .cmd
file and execute that.
Much simpler and efficient than installing yet another package on each run !
And it works: :-)

https://github.com/boostorg/gil/commit/60decff806c091f5e9854c45ab39828dc4c35bba
https://ci.appveyor.com/project/stefanseefeld/gil/build/1.0.131-bug/job/cnec52od678nscnn

(That being said, I see no reason to change what's already working now:
Steven's suggestion to use <include> and <library-path> directly when
invoking `b2`. But it's certainly useful to keep in mind if ever we need
a more complex config file in the future.)

Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...
    



signature.png

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk