<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libc/docs/dev/header_generation.rst, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[libc][hdrgen] Allow to treat hdrgen Python code as a Python module. (#128955)</title>
<updated>2025-02-26T23:41:30+00:00</updated>
<author>
<name>Alexey Samsonov</name>
<email>vonosmas@gmail.com</email>
</author>
<published>2025-02-26T23:41:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=829e2a55261890e15102d978f714001a2d1acf85'/>
<id>829e2a55261890e15102d978f714001a2d1acf85</id>
<content type='text'>
Move the hdrgen code under a subdirectory to treat it as a Python
module.

This mimics the structure used by llvm/utils/lit and
llvm/utils/mlgo-utils and simplifies integration of hdrgen to the build
system which rely on Python modules. In addition to that, it clarifies
which imports are coming from the hdrgen-specific helpers (e.g. "from
type import ..." becomes "from hdrgen.type import ...".

Leave the entrypoints (top-level main.py and yaml_to_classes.py) as-is:
they can keep being referred by the CMake build system w/o any changes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the hdrgen code under a subdirectory to treat it as a Python
module.

This mimics the structure used by llvm/utils/lit and
llvm/utils/mlgo-utils and simplifies integration of hdrgen to the build
system which rely on Python modules. In addition to that, it clarifies
which imports are coming from the hdrgen-specific helpers (e.g. "from
type import ..." becomes "from hdrgen.type import ...".

Leave the entrypoints (top-level main.py and yaml_to_classes.py) as-is:
they can keep being referred by the CMake build system w/o any changes.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Move hdrgen yaml files into include/ (#121443)</title>
<updated>2025-01-02T01:03:35+00:00</updated>
<author>
<name>Roland McGrath</name>
<email>mcgrathr@google.com</email>
</author>
<published>2025-01-02T01:03:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=62cd050b635cbb201dd08188696448cf5ab23260'/>
<id>62cd050b635cbb201dd08188696448cf5ab23260</id>
<content type='text'>
The .yaml files should live next to the corresponding .h.def
files in libc/include/, rather than next to the implementation of
the tool in libc/utils/hdrgen/.  As with the .h.def files, there
is no need for a yaml/ subdirectory under include/.  This simpler
layout is more natural for maintenance and also simplifies build
integration outside the LLVM CMake build.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The .yaml files should live next to the corresponding .h.def
files in libc/include/, rather than next to the implementation of
the tool in libc/utils/hdrgen/.  As with the .h.def files, there
is no need for a yaml/ subdirectory under include/.  This simpler
layout is more natural for maintenance and also simplifies build
integration outside the LLVM CMake build.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Move hdrgen into utils/ subdirectory (#121256)</title>
<updated>2024-12-30T23:36:53+00:00</updated>
<author>
<name>Roland McGrath</name>
<email>mcgrathr@google.com</email>
</author>
<published>2024-12-30T23:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9abcca5e25296aea49288ad63901f9e0a332dad4'/>
<id>9abcca5e25296aea49288ad63901f9e0a332dad4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] rename newhdrgen to just hdrgen (#118545)</title>
<updated>2024-12-04T16:48:12+00:00</updated>
<author>
<name>Nick Desaulniers</name>
<email>nickdesaulniers@users.noreply.github.com</email>
</author>
<published>2024-12-04T16:48:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=06c831d7fbb02600ded1f793eaaa142d849db2a2'/>
<id>06c831d7fbb02600ded1f793eaaa142d849db2a2</id>
<content type='text'>
Link: #117208
Fixes: #117254</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Link: #117208
Fixes: #117254</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] delete hdrgen (#117220)</title>
<updated>2024-12-03T20:34:26+00:00</updated>
<author>
<name>Nick Desaulniers</name>
<email>nickdesaulniers@users.noreply.github.com</email>
</author>
<published>2024-12-03T20:34:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e0ae7793fca0c78919bc41ffd407acb62146ad47'/>
<id>e0ae7793fca0c78919bc41ffd407acb62146ad47</id>
<content type='text'>
Thanks to the effort of @RoseZhang03 and @aaryanshukla under the
guidance of
@michaelrj-google and @amykhuang, we now have newhdrgen and no longer
have a
dependency on TableGen and thus LLVM in order to start bootstrapping a
full
build.

This PR removes:
- LIBC_HDRGEN_EXE; the in tree newhdrgen is the only hdrgen that can be
used.
- LIBC_USE_NEW_HEADER_GEN; newhdrgen is the default and only option.
- LIBC_HDRGEN_ONLY; there is no need to have a distinct build step for
old
  hdrgen.
- libc-api-test and libc-api-test-tidy build targets.
- Deletes all .td files.

It does not rename newhdrgen to just hdrgen. Will follow up with a
distinct PR
for that.

Link: #117209
Link: #117254
Fixes: #117208</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to the effort of @RoseZhang03 and @aaryanshukla under the
guidance of
@michaelrj-google and @amykhuang, we now have newhdrgen and no longer
have a
dependency on TableGen and thus LLVM in order to start bootstrapping a
full
build.

This PR removes:
- LIBC_HDRGEN_EXE; the in tree newhdrgen is the only hdrgen that can be
used.
- LIBC_USE_NEW_HEADER_GEN; newhdrgen is the default and only option.
- LIBC_HDRGEN_ONLY; there is no need to have a distinct build step for
old
  hdrgen.
- libc-api-test and libc-api-test-tidy build targets.
- Deletes all .td files.

It does not rename newhdrgen to just hdrgen. Will follow up with a
distinct PR
for that.

Link: #117209
Link: #117254
Fixes: #117208</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][docs] Update docs to reflect new headergen (#102381)</title>
<updated>2024-08-21T17:50:39+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2024-08-21T17:50:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b89fef8f67974ebcd4114fa75ac2e53fd687870c'/>
<id>b89fef8f67974ebcd4114fa75ac2e53fd687870c</id>
<content type='text'>
Since new headergen is now the default for building LLVM-libc, the docs
need to be updated to reflect that. While I was editing those docs, I
took a quick pass at updating other out-of-date pages.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since new headergen is now the default for building LLVM-libc, the docs
need to be updated to reflect that. While I was editing those docs, I
took a quick pass at updating other out-of-date pages.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][newhdrgen]sorted function names in yaml (#102544)</title>
<updated>2024-08-09T18:27:36+00:00</updated>
<author>
<name>aaryanshukla</name>
<email>53713108+aaryanshukla@users.noreply.github.com</email>
</author>
<published>2024-08-09T18:27:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b6cbd014b9770b4cc4630032777f2e6071afc3e0'/>
<id>b6cbd014b9770b4cc4630032777f2e6071afc3e0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Updated GettingStarted.rst with PyYAML version (#100649)</title>
<updated>2024-07-26T18:31:00+00:00</updated>
<author>
<name>RoseZhang03</name>
<email>rosezhang@google.com</email>
</author>
<published>2024-07-26T18:31:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=134b4484d8dda0ea75d9cf971ffc2f44e18fcead'/>
<id>134b4484d8dda0ea75d9cf971ffc2f44e18fcead</id>
<content type='text'>
New Headergen requires PyYAML version 5.1 or newer in order to generate
header files .</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New Headergen requires PyYAML version 5.1 or newer in order to generate
header files .</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][newheadergen]: PyYaml Version Update (#100463)</title>
<updated>2024-07-24T22:04:05+00:00</updated>
<author>
<name>aaryanshukla</name>
<email>53713108+aaryanshukla@users.noreply.github.com</email>
</author>
<published>2024-07-24T22:04:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8b094c9df34f3190b66d11d19379be1f4c89beec'/>
<id>8b094c9df34f3190b66d11d19379be1f4c89beec</id>
<content type='text'>
- a lot of builds had an issue using new headergen because they do not
have PyYaml installed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- a lot of builds had an issue using new headergen because they do not
have PyYaml installed.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Updated header_generation.rst (#99712)</title>
<updated>2024-07-22T20:15:26+00:00</updated>
<author>
<name>RoseZhang03</name>
<email>rosezhang@google.com</email>
</author>
<published>2024-07-22T20:15:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8972979c37b7368735a0b224d5212c29041dcd5c'/>
<id>8972979c37b7368735a0b224d5212c29041dcd5c</id>
<content type='text'>
Added new headergen documentation.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added new headergen documentation.</pre>
</div>
</content>
</entry>
</feed>
