Re: [Scons-dev] SCons and Clang

2017-06-21 Thread Alexandre Feblot
Hi there, Would this only support compiling with clang, or would you also intend in some ways to handle clang static analysis tool (scan-build wrapper which btw can use clang or gcc as a compiler)? 2017-06-21 15:15 GMT+02:00 Jason Kenny : > I 100% agree. > > I have a tool in

Re: [Scons-dev] no more print statements in SConscripts?

2016-05-25 Thread Alexandre Feblot
Tim, yes, I misread you, thanks for the clarification. Ok, saved for this time. -- Alexandre Feblot > Le 26 mai 2016 à 01:24, Tim Jenness <tjenn...@lsst.org> a écrit : > > >> On May 25, 2016, at 16:13, Alexandre Feblot <alexan...@feblot.fr> wrote: >> >>

Re: [Scons-dev] no more print statements in SConscripts?

2016-05-25 Thread Alexandre Feblot
to fix all of them? -- Alexandre Feblot > Le 25 mai 2016 à 23:47, Tim Jenness <tjenn...@lsst.org> a écrit : > >> >> On May 25, 2016, at 14:38, Bill Deegan <b...@baddogconsulting.com >> <mailto:b...@baddogconsulting.com>> wrote: >> &g

Re: [Scons-dev] pip install scons

2016-05-12 Thread Alexandre Feblot
2016-05-12 11:06 GMT+02:00 anatoly techtonik <techto...@gmail.com>: > On Fri, May 6, 2016 at 2:18 PM, Alexandre Feblot <alexan...@feblot.fr> > wrote: > > Hi, > > > > Supporting multiple versions at the same time will be required as soon > as a > > SC

Re: [Scons-dev] Trial SCons migration to git on github

2016-01-06 Thread Alexandre Feblot
in src/engine/SCons/Tool/mslink.py, whereas github seems to think that all files are just added to an empty project (making it impossible to see the actual change). Conclusion: It looks like there is an issue with where branches are created from. -- Alexandre Feblot > Le 6 janv. 2016 à 20:28

Re: [Scons-dev] That was easy…

2015-12-27 Thread Alexandre Feblot
Hi, If SCons should move to using pip to be installed, I do hope there would still be as well a simple archive delivery. We try to keep our servers with as little installed softwares/packages as possible, and adding the need to take care of having a working pip on every

Re: [Scons-dev] Unit testing with mock?

2015-10-23 Thread Alexandre Feblot
Hi, Please, please, please, Don't! Don't force people to install additional modules. One of Python benefits is how rich its standard distribution is, compared to perl for example, allowing to distribute code that you know will work everywhere without additional requirement. Please don't break

Re: [Scons-dev] SCons.. the road ahead

2015-09-25 Thread Alexandre Feblot
Hi, Wasn't Dirk speaking of first cleaning some 2.6-ish code? -- Alexandre Feblot > Le 26 sept. 2015 à 00:02, William Blevins <wblevins...@gmail.com> a écrit : > > > > On Fri, Sep 25, 2015 at 10:57 PM, Bill Deegan <b...@baddogconsulting.com > <mailto:b..

Re: [Scons-dev] Updated work in progress SCons.org

2015-08-11 Thread Alexandre Feblot
and regularly with the DeadLinkChecker Auto-Checker - Upgrade now. --Alexandre Feblot Le 11 août 2015 à 01:13, Bill Deegan b...@baddogconsulting.com a écrit :Jonathon,Good suggestions.Not sure what's causing the news drop down to be screwy. I'm customizing the pelican-bootstrap theme for pelican

Re: [Scons-dev] Patch for potential new debug option

2015-08-08 Thread Alexandre Feblot
Hi, would have this been available, I indeed would already have used scons --envdump=CXXFLAGS,CFLAGS,ENV.PATH A.o -- Alexandre Feblot Le 8 août 2015 à 15:04, William Blevins wblevins...@gmail.com a écrit : I guess I should be a bit more explicit about what I am trying to do. Example

Re: [Scons-dev] Patch for potential new debug option

2015-08-08 Thread Alexandre Feblot
Would a standard shell redirection not be enough? -- Alexandre Feblot Le 8 août 2015 à 17:38, Bill Deegan b...@baddogconsulting.com a écrit : Perhaps an option to direct this output to a file? On Sat, Aug 8, 2015 at 6:31 AM, William Blevins wblevins...@gmail.com mailto:wblevins

Re: [Scons-dev] Patch for potential new debug option

2015-08-08 Thread Alexandre Feblot
Yes, that’s what I meant. I wouldn't feel the need for a specific option when I can just do scons --envdump=xx file.txt -- Alexandre Feblot Le 8 août 2015 à 19:01, William Blevins wblevins...@gmail.com a écrit : On Sat, Aug 8, 2015 at 11:38 AM, Bill Deegan b...@baddogconsulting.com

Re: [Scons-dev] Breaking changes in v2.4

2015-08-01 Thread Alexandre Feblot
Hi, Old attributes will still be supported, so that the upgrade should be transparent. -- Alexandre Féblot (envoyé depuis mon iPhone) Le 1 août 2015 à 15:31, Jonathon Reinhart jonathon.reinh...@gmail.com a écrit : Hello all, I'm looking at the upcoming Node API changes (for __slots__)

Re: [Scons-dev] Time for a release?

2015-06-14 Thread Alexandre Feblot
Hello, As I expected this 2.3.5 to be released (this was 3 weeks ago), I didn’t yet add my latest merged pull requests to the patched 2.3.4 version we are currently using in our build farm, but this seems to have stalled. Dirk, what are your plans, should I wait or rather keep patching our

Re: [Scons-dev] How to traverse the graph after files are read

2015-05-20 Thread Alexandre Feblot
I did such kind of traversal once: http://pastebin.com/KyEg5ngS Maybe that was even based on something found in the wiki. 2015-05-20 17:43 GMT+02:00 Gary Oberbrunner ga...@oberbrunner.com: On Wed, May 20, 2015 at 11:25 AM, anatoly techtonik techto...@gmail.com wrote: I want to get target

Re: [Scons-dev] Tutorial for Linux versioned libraries

2015-05-19 Thread Alexandre Feblot
at 12:32 AM, Alexandre Feblot alexan...@feblot.fr wrote: Hi, Anatoly, I may not understand what you’re after (and especially your 5 questions), but I build and install versioned shared libraries successfully with SCons 2.3.4 on Linux (and since 2.3.2, I think). This PR (merged for 2.3.5

Re: [Scons-dev] Tutorial for Linux versioned libraries

2015-05-18 Thread Alexandre Feblot
Hi,Anatoly, I may not understand what you’re after (and especially your 5 questions), but I build and install versioned shared libraries successfully with SCons 2.3.4 on Linux (and since 2.3.2, I think).This PR (merged for 2.3.5 or 2.4) lets me use it properly too on

Re: [Scons-dev] Packaging logic?

2015-04-03 Thread Alexandre Feblot
] On Behalf Of Alexandre Feblot Sent: Friday, April 3, 2015 4:45 AM To: SCons developer list Subject: Re: [Scons-dev] Packaging logic? Hi, On environments where there is no internet access (banks, army, ...), or if scons needs to be internally patched before being installed, the current way

Re: [Scons-dev] Announcement: Core changes for v2.4 ahead, Switching the Node class to using slots...

2015-03-30 Thread Alexandre Feblot
Hi Dirk, So, I'm glad to say, I built without issue with your switch_to_slots branch, so many thanks for this again. While I was at it, I compared the memory usage on a full clean build (-j 8) The flat period at the end is a post compilation step to create our distribution, and the last brutal

Re: [Scons-dev] Announcement: Core changes for v2.4 ahead, Switching the Node class to using slots...

2015-03-10 Thread Alexandre Feblot
Hi Dirk, No problem, thanks for the notice, and glad to know :-) Either this way or another, I hope you'll be able to stay backward compatible. Kind Regards Alexandre 2015-03-10 9:04 GMT+01:00 Dirk Bächle tshor...@gmx.de: Side note @Alexandre: I 'm sorry for not having been able to get back

Re: [Scons-dev] Announcement: Core changes for v2.4 ahead, Switching the Node class to using slots...

2015-03-02 Thread alexandre . feblot
Hi Dirk, About those new interfaces for accessing node attributes that may get initialized lazily, do I understand here the consequences properly? - Using directly a_node.path or a_node.abspath *must* be replaced in all SConstructs/SConscripts by the new interfaces if we wan’t them to keep

Re: [Scons-dev] What to replace the wiki with?

2014-12-13 Thread alexandre . feblot
Hi, Just a side remark, as a former user of that wiki: The issue is that most of it is outdated: refers to obsolete methods, uses Python methods whereas there is now a SCons method, etc... And even when it's not, readers don't trust fully what they see, because, well, how can they know if this

Re: [Scons-dev] What to replace the wiki with?

2014-12-13 Thread alexandre . feblot
I knew this was coming while writing it :-) But no, I must confess I'm not able to spend the time it deserves on this. Le 13 déc. 2014 à 18:21, Dirk Bächle tshor...@gmx.de a écrit : On 13.12.2014 18:00, alexandre.feb...@gmail.com wrote: Hi, Just a side remark, as a former user of that wiki:

Re: [Scons-dev] Contribution to SCons development.

2014-12-06 Thread alexandre . feblot
I found one here: http://computer-programming-forum.com/56-python/46da865fb41a1dc3.htm Ansible worked on that as well: https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/basic.py (_symbolic_mode_to_octal, _apply_operation_to_mode, _get_octal_mode_from_symbolic_perms) Le 6

Re: [Scons-dev] Using SHLIBVERSION fails on Solaris and probably all other unixes but Linux

2014-09-21 Thread alexandre . feblot
to fix this in all situations. Le 19 sept. 2014 à 21:48, William Blevins wblevins...@gmail.com a écrit : Would you mind making a pull request via Bitbucket? On Sep 19, 2014 1:03 PM, Alexandre Feblot alexan...@feblot.fr wrote: The change on SCons/Tool/__init__.py line 308 was a bad idea

[Scons-dev] Using SHLIBVERSION fails on Solaris and probably all other unixes but Linux

2014-09-19 Thread Alexandre Feblot
Hi, as the title says, it fails with the following error: IndexError: list index out of range in SCons/Tool/link.py. The reason is that versionned shared lib seem to be handled properly for unixes if PLATFORM=='posix', whereas on Solaris, it is detected assunos rather than posix. I tried to

Re: [Scons-dev] Using SHLIBVERSION fails on Solaris and probably all other unixes but Linux

2014-09-19 Thread Alexandre Feblot
-09-19 15:30 GMT+02:00 Alexandre Feblot alexan...@feblot.fr: Hi, as the title says, it fails with the following error: IndexError: list index out of range in SCons/Tool/link.py. The reason is that versionned shared lib seem to be handled properly for unixes if PLATFORM=='posix', whereas

Re: [Scons-dev] JetBrains

2014-09-15 Thread Alexandre Feblot
Netbeans: yes, creating a project by having it run a SCons build and scan build commands works quite well. 2014-09-15 13:32 GMT+02:00 Russel Winder rus...@winder.org.uk: I see that JetBrains new C/C++ IDE, CLion, assumes you will use CMake. This will not be good for SCons use. I also note

[Scons-dev] 2.3.3 Release issue ?

2014-09-08 Thread Alexandre Feblot
Hi, Would there be a release issue with 2.3.3 ? Downloaded from http://prdownloads.sourceforge.net/scons/scons-2.3.3.tar.gz Installed by python setup.py install --prefix /usr/local --optimize 2 --symlink-scons scons --version SCons by Steven Knight et al.: script: v2.3.3, 2014/08/24

Re: [Scons-dev] 2.3.3 Release issue ?

2014-09-08 Thread Alexandre Feblot
:27 PM, anatoly techtonik techto...@gmail.com wrote: I wonder why buildbots are silent about this? On Mon, Sep 8, 2014 at 8:25 PM, anatoly techtonik techto...@gmail.com wrote: On Mon, Sep 8, 2014 at 7:41 PM, Alexandre Feblot alexan...@feblot.fr wrote: Hi, Would there be a release

Re: [Scons-dev] Windows Path

2014-09-07 Thread alexandre . feblot
Le 7 sept. 2014 à 14:53, Russel Winder rus...@winder.org.uk a écrit : On Sat, 2014-09-06 at 20:31 +0200, alexandre.feb...@gmail.com wrote: Hi, Creation of a temporary dir containing symlinks to tools which have been found, and adding this dir in the SCons PATH? On windows, this can be

[Scons-dev] Strange behavior of env.Execute(python script) on Windows

2014-03-05 Thread Alexandre Feblot
Hi, Would any of you have an idea on the behavior of printpath.py in the small test below? What happens to the PATH? Other variables are transfered properly. The similar perl test shows the PATH as expected. Sconstruct: env = Environment() env['ENV']['PATH'] += ';C:\\XX'

Re: [Scons-dev] Strange behavior of env.Execute(python script) on Windows

2014-03-05 Thread Alexandre Feblot
. On Wed, Mar 5, 2014 at 10:31 AM, Alexandre Feblot alexan...@feblot.frwrote: Hi, Would any of you have an idea on the behavior of printpath.py in the small test below? What happens to the PATH? Other variables are transfered properly. The similar perl test shows the PATH as expected

Re: [Scons-dev] [GSoC Mentors Announce] Now Accepting Applications for Mentoring Organizations for GSoC 2014

2014-02-14 Thread alexandre . feblot
you post that on the wiki? Or at least link to it? thanks! On Thu, Feb 13, 2014 at 12:22 PM, Alexandre Feblot alexan...@feblot.fr wrote: Damned, ugly raw paste. Here it is in a better shape: http://pastie.org/8730387 2014-02-13 18:14 GMT+01:00 Alexandre Feblot alexan...@feblot.fr

Re: [Scons-dev] Fwd: [GSoC Mentors Announce] Now Accepting Applications for Mentoring Organizations for GSoC 2014

2014-02-13 Thread Alexandre Feblot
Not sure exactly about what you fixed, but as you speak about coloring, I wanted to share the colorizer tool I am using. Compared to what was proposed in the wiki, it allows to colorize everything in stdout and/or stderr, being printed either by scons itself or by external commands spawned by

Re: [Scons-dev] [GSoC Mentors Announce] Now Accepting Applications for Mentoring Organizations for GSoC 2014

2014-02-13 Thread alexandre . feblot
22:21, Gary Oberbrunner ga...@oberbrunner.com a écrit : Hi Alexandre; can you post that on the wiki? Or at least link to it? thanks! On Thu, Feb 13, 2014 at 12:22 PM, Alexandre Feblot alexan...@feblot.fr wrote: Damned, ugly raw paste. Here it is in a better shape: http://pastie.org

Re: [Scons-dev] [scons-dev] fix for 2903 breaks LIBPATH.py test..

2013-10-27 Thread alexandre . feblot
Yes, that was my initial conclusion. This commit changed: ShLibAction = SCons.Defaults.ShLinkAction(target, source, envlink) to: def VersionedSharedLibrary(target = None, source= None, env=None): ... result = SCons.Defaults.ShLinkAction(target, source, envlink) ... return result

Re: [Scons-dev] scons rpath vs signature

2013-10-02 Thread Alexandre Feblot
Strange. Wasn't this also happening before scons 2.3 ? Or had this test been introdcued with scons 2.3 ? 2013/10/2 Gary Oberbrunner ga...@oberbrunner.com On Wed, Oct 2, 2013 at 8:17 AM, Alexandre Feblot alexan...@feblot.frwrote: if you're speaking of scons 2.3.0, I think it looks like

Re: [Scons-dev] getting changes accepted

2013-09-26 Thread alexandre . feblot
I used the test case described in the bug, but I have nothing to integrate in scons test suite. Le 26 sept. 2013 à 14:16, Gary Oberbrunner ga...@oberbrunner.com a écrit : On Thu, Sep 26, 2013 at 8:11 AM, alexandre.feb...@gmail.com wrote: Hi, By the way, did you review mine? (