Displaying 19 results from an estimated 19 matches for "update_al".
Did you mean:
update_all
2018 Jan 29
4
Migrate utils/ Python 2 scripts to Python 3
Hi LLVM-Devs,
I noticed that many Python scripts under utils/ have a shebang of
`#!/usr/bin/python` (which is a symlink to python2.7 on many platforms) and some of them use Python 2 syntax that is not compatible with Python 3 (e.g. print statements; str/bytes)
I created a revision to migrate utils/update_{llc_,}_test_checks.py from Python 2 to Python 3 https://reviews.llvm.org/D42450 , the
2018 Jan 30
4
Migrate utils/ Python 2 scripts to Python 3
Personally, every machine I work with only has Python 2.7.
Justin is correct that there is a non-trivial amount of effort to convert the bots.
Python 3 is wonderful. But, a Python 3 dependency seems like one burden that could be avoided. We have already made that trade-off in the past, for example by only using standard python packages, so there is less/nothing to pip install when getting
2018 Jan 29
0
Migrate utils/ Python 2 scripts to Python 3
Hi Fangrui, for what it's worth regarding lldb, Zachary Turner has already done a lot of work to make the majority of its python code (most importantly, its testsuite) work with Python 3 as well as Python 2.
J
> On Jan 29, 2018, at 12:46 PM, Fāng-ruì Sòng via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi LLVM-Devs,
>
> I noticed that many Python scripts under
2018 Jan 30
0
Migrate utils/ Python 2 scripts to Python 3
Does Python 3 have feature we want to use in LLVM codebase, and no
workaround there? If so, please give some examples. I think that makes the
discussion more concrete.
2018-01-30 4:46 GMT+08:00 Fāng-ruì Sòng via llvm-dev <
llvm-dev at lists.llvm.org>:
> Hi LLVM-Devs,
>
> I noticed that many Python scripts under utils/ have a shebang of
> `#!/usr/bin/python` (which is a symlink
2018 Jan 29
1
Migrate utils/ Python 2 scripts to Python 3
+1 from my for changing LLVMs minimum requirements (for compiling llvm) to python3 and dropping python2 support.
In case of lit we probably need to keep the code in a way that works with python 2 and 3 though as that will affect various projects outside of core llvm that started adopting it.
- Matthias
> On Jan 29, 2018, at 3:42 PM, Jason Molenda via llvm-dev <llvm-dev at
2018 Feb 01
0
Migrate utils/ Python 2 scripts to Python 3
+1 to what Chris and Justin said.
I see no strong benefit to moving to python3 and substantial costs.
Philip
On 01/30/2018 11:20 AM, Chris Matthews via llvm-dev wrote:
> Personally, every machine I work with only has Python 2.7.
>
> Justin is correct that there is a non-trivial amount of effort to
> convert the bots.
>
> Python 3 is wonderful. But, a Python 3 dependency seems
2018 Jan 31
2
Migrate utils/ Python 2 scripts to Python 3
> On Jan 31, 2018, at 10:04 AM, Fāng-ruì Sòng via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Thanks for the information. Then how about standalone scripts (many
> one-file) like utils/update_check_tests.py that are unrelated to lit
> or other important infrastructure? Can they be changed from
> `#!/usr/bin/python2.7` to `#!/usr/bin/python3` shebang?
>
No. Every
2018 Feb 01
3
Migrate utils/ Python 2 scripts to Python 3
Since we seem to be voting, I'll -1 it. It's pretty ridiculous to have
a system without Python 3 in 2018 and anyone supplying such a
monstrosity should be encouraged to stop it.
Tim.
On 1 February 2018 at 05:20, Philip Reames via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> +1 to what Chris and Justin said.
>
> I see no strong benefit to moving to python3 and substantial
2018 Jan 31
0
Migrate utils/ Python 2 scripts to Python 3
Thanks for the information. Then how about standalone scripts (many
one-file) like utils/update_check_tests.py that are unrelated to lit
or other important infrastructure? Can they be changed from
`#!/usr/bin/python2.7` to `#!/usr/bin/python3` shebang?
On Tue, Jan 30, 2018 at 11:20 AM, Chris Matthews
<chris.matthews at apple.com> wrote:
> Personally, every machine I work with only has
2018 Jan 31
0
Migrate utils/ Python 2 scripts to Python 3
The suggested way to do this on OSX is using env:
#!/usr/bin/env python3
> On Jan 31, 2018, at 10:48 AM, Adrian Prantl <aprantl at apple.com> wrote:
>
>
>
>> On Jan 31, 2018, at 10:04 AM, Fāng-ruì Sòng via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
>> Thanks for the information. Then how about standalone scripts (many
>> one-file) like
2018 Feb 01
0
Migrate utils/ Python 2 scripts to Python 3
You might want to tell that to the Prominent North American Enterprise Linux Vendor that everybody is using... :)
-Dimitry
> On 1 Feb 2018, at 06:28, Tim Northover via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Since we seem to be voting, I'll -1 it. It's pretty ridiculous to have
> a system without Python 3 in 2018 and anyone supplying such a
> monstrosity
2006 Jan 02
2
Dynamic form tags
Hi all,
I''m happily using "HowToReuseEditViewsForNewViews" found at:
http://wiki.rubyonrails.com/rails/pages/HowToReuseEditViewsForNewViews
There''s this comment there saying you only need the tag "<%= auto_form %>"
when using the code below. Can somebody tell me if that will work when
extending it with model_name (some how)?
I have several new_*
2018 Feb 01
0
Migrate utils/ Python 2 scripts to Python 3
On 2018-01-31, Chris Matthews wrote:
>The suggested way to do this on OSX is using env:
>
>#!/usr/bin/env python3
Sorry, I use `#!/usr/bin/env python3` in my patch but used #!/usr/bin/python3 in the email :)
>
>> On Jan 31, 2018, at 10:48 AM, Adrian Prantl <aprantl at apple.com> wrote:
>>
>>
>>
>>> On Jan 31, 2018, at 10:04 AM, Fāng-ruì Sòng via
2020 Jul 01
2
[RFC] Compiled regression tests.
Michael Kruse via llvm-dev <llvm-dev at lists.llvm.org> writes:
> Am Mi., 1. Juli 2020 um 10:18 Uhr schrieb Robinson, Paul <
> paul.robinson at sony.com>:
>
>> The test as written is fragile because it requires a certain ordering. If
>> the output order is not important, use CHECK-DAG rather than CHECK. This
>> would be a failure to understand the testing
2018 Feb 01
5
Migrate utils/ Python 2 scripts to Python 3
Sadly, neither the latest version of RedHat (released in 2014), nor the
latest version of macOS (released in 2017) have any version of python3
available with the default system. On the other hand, TTBOMK, every system
that does have python3 available also makes python2.7 also easily available.
LLVM is not a primarily python project, so keeping up with the latest
features of the language, and
2018 Feb 01
1
Migrate utils/ Python 2 scripts to Python 3
Nope.
Regarding "python" potentially pointing to python3:
Arch Linux has done that for years. That unilateral decision on their part
was widely-decried as a mistake at the time, and spawned the python doc you
reference saying that shouldn't be done. However, Fedora is now making
noises about doing the same, in a few years, after driving a change in the
upstream recommendation.
2018 Feb 01
0
Migrate utils/ Python 2 scripts to Python 3
As mentioned in https://docs.python.org/3/using/unix.html#miscellaneous, for Python 3 the shebang line should be:
#!/usr/bin/env python3
For Python 2 the shebang line should probably be:
#!/usr/bin/env python2
but as Python 3 should never install its executable under the name "python", you could also let it stay at:
#!/usr/bin/env python
instead.
-Dimitry
> On 1 Feb 2018, at
2020 Jul 01
5
[RFC] Compiled regression tests.
The test as written is fragile because it requires a certain ordering. If the output order is not important, use CHECK-DAG rather than CHECK. This would be a failure to understand the testing tool.
My experience, over a 40-year career, is that good software developers are generally not very good test-writers. These are different skills and good testing is frequently not taught. It’s easy to
2008 Jul 29
8
Upcoming ABI Breakage in RELENG_7
Normally the FreeBSD Project tries very hard to avoid ABI breakage in
"Stable Branches". However occasionally the fix for a bug can not be
implemented without ABI breakage, and it is decided that the fix
warrants the impact of the ABI breakage. We have one of those
situations coming along for RELENG_7 (what will become FreeBSD 7.1).
The ABI breakage should only impact kernel modules