diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml index 57d97d83..d55b5ec2 100644 --- a/.github/workflows/ci_test.yml +++ b/.github/workflows/ci_test.yml @@ -35,7 +35,7 @@ jobs: # notes may name what a release removed. - name: No site names in the tree run: | - ! git grep -nIiE 'snellius|surf\.nl|/gpfs/|/projects/0|rg\.terra|scratch-shared|scratch-node|eblocalinstall' -- . ':!CHANGELOG.md' ':!changelog.d/' ':!tests/cli_ergonomics.rs' ':!.github/workflows/ci_test.yml' + ! git grep -nIiE 'snellius|surf\.nl|/gpfs/|/projects/0|rg\.terra|scratch-shared|scratch-node|eblocalinstall' -- . ':(exclude)fixtures/parity_*' ':!CHANGELOG.md' ':!changelog.d/' ':!tests/cli_ergonomics.rs' ':!.github/workflows/ci_test.yml' - name: Cargo source package run: cargo package --locked diff --git a/Cargo.toml b/Cargo.toml index 80280c23..6078bb8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,6 +66,7 @@ exclude = [ "fixtures/maintainer_rpath_26480/", "fixtures/maintainer_shell_stage/", "fixtures/multi_gen_baseline/", + "fixtures/parity_*/", "fixtures/parser_hardcases/", "fixtures/qmcpack_foss_2026_1/", "fixtures/stack_order_installed/", diff --git a/changelog.d/+bare-module-system.bugfix.md b/changelog.d/+bare-module-system.bugfix.md new file mode 100644 index 00000000..b97ee080 --- /dev/null +++ b/changelog.d/+bare-module-system.bugfix.md @@ -0,0 +1 @@ +Reject bare module-version dependencies that resolve only at SYSTEM. diff --git a/changelog.d/+eb-parse-conditional-augassign.bugfix.md b/changelog.d/+eb-parse-conditional-augassign.bugfix.md new file mode 100644 index 00000000..1777da0e --- /dev/null +++ b/changelog.d/+eb-parse-conditional-augassign.bugfix.md @@ -0,0 +1 @@ +Evaluate decidable predicates over parsed recipe variables in conditional easyconfig branches so conditional += dependencies such as cuQuantum in PennyLane are preserved. diff --git a/changelog.d/+foss-subtoolchain-sibling-order.bugfix.md b/changelog.d/+foss-subtoolchain-sibling-order.bugfix.md new file mode 100644 index 00000000..fba539bc --- /dev/null +++ b/changelog.d/+foss-subtoolchain-sibling-order.bugfix.md @@ -0,0 +1 @@ +Order gfbf before gompi when deriving foss toolchain hierarchies from the easyconfig tree to match EasyBuild get_toolchain_hierarchy and shipped foss fixtures. diff --git a/changelog.d/+hierarchy-compiler-level-without-users.bugfix.md b/changelog.d/+hierarchy-compiler-level-without-users.bugfix.md new file mode 100644 index 00000000..018e764d --- /dev/null +++ b/changelog.d/+hierarchy-compiler-level-without-users.bugfix.md @@ -0,0 +1 @@ +Recognize SYSTEM toolchain and GCCcore-based compiler recipes in derive_hierarchy_by_walking for sparse trees without toolchain users, and resolve split version plus versionsuffix compiler definitions. diff --git a/changelog.d/+recipe-check-full-module-pin.bugfix.md b/changelog.d/+recipe-check-full-module-pin.bugfix.md new file mode 100644 index 00000000..373d636e --- /dev/null +++ b/changelog.d/+recipe-check-full-module-pin.bugfix.md @@ -0,0 +1 @@ +Fix `recipe check` rejecting a full toolchain-suffixed module version such as `5.3.0-GCCcore-13.3.0`. `build_order` already accepted it, and SYSTEM recipes like sentieon-genomics depend on it. diff --git a/changelog.d/+satisfies-system-suffixed-version-req.bugfix.md b/changelog.d/+satisfies-system-suffixed-version-req.bugfix.md new file mode 100644 index 00000000..75aa5077 --- /dev/null +++ b/changelog.d/+satisfies-system-suffixed-version-req.bugfix.md @@ -0,0 +1 @@ +Allow within_generation and candidate_matches_dep to resolve dependencies whose exact version string spells a toolchain-suffixed module identity on a SYSTEM recipe. diff --git a/changelog.d/+site-name-vendored-parity-fixtures.misc.md b/changelog.d/+site-name-vendored-parity-fixtures.misc.md new file mode 100644 index 00000000..e76c8e68 --- /dev/null +++ b/changelog.d/+site-name-vendored-parity-fixtures.misc.md @@ -0,0 +1 @@ +Exclude vendored parity fixtures from the site-name CI guard. diff --git a/fixtures/parity_foss_subtoolchain/LICENSE b/fixtures/parity_foss_subtoolchain/LICENSE new file mode 100644 index 00000000..d159169d --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/LICENSE @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/fixtures/parity_foss_subtoolchain/README.md b/fixtures/parity_foss_subtoolchain/README.md new file mode 100644 index 00000000..3cc3610a --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/README.md @@ -0,0 +1,11 @@ +# Parity fixture: foss-2022a SUBTOOLCHAIN sibling order + +Verbatim GPL-2.0-only excerpts vendored from EasyBuild upstream for toolchain +hierarchy parity tests (`tests/toolchain_hierarchy_parity.rs`). Excluded from +the published `eb_stack` crate via `Cargo.toml` `exclude = ["fixtures/parity_*/"]`. + +- Upstream `easybuild-easyconfigs` commit `b210e3fdfe940821d74bbbb0d4e0469f16649963`: + minimal `foss-2022a` `get_toolchain_hierarchy` easyconfig closure (32 files) +- Upstream `easybuild-framework` commit `8907031c218b8a331de7c9d411555ead05df0411`: + `easybuild/toolchains/foss.py` (`SUBTOOLCHAIN = [Gompi.NAME, Golf.NAME, Gfbf.NAME]`) +- `LICENSE`: verbatim upstream GNU General Public License v2.0 (`sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643`) diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/a/Autotools/Autotools-20220317-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/a/Autotools/Autotools-20220317-GCCcore-11.3.0.eb new file mode 100644 index 00000000..9a9fec6e --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/a/Autotools/Autotools-20220317-GCCcore-11.3.0.eb @@ -0,0 +1,24 @@ +easyblock = 'Bundle' + +name = 'Autotools' +version = '20220317' # date of the most recent change + +homepage = 'https://autotools.io' + +description = """ + This bundle collect the standard GNU build tools: Autoconf, Automake + and libtool +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +dependencies = [ + ('Autoconf', '2.71'), # 20210128 + ('Automake', '1.16.5'), # 20211003 + ('libtool', '2.4.7'), # 20220317 +] + +# Pure bundle -- no need to specify 'binutils' used when building GCCcore +# toolchain as build dependency + +moduleclass = 'devel' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/b/BLIS/BLIS-0.9.0-GCC-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/b/BLIS/BLIS-0.9.0-GCC-11.3.0.eb new file mode 100644 index 00000000..a7b4ce7b --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/b/BLIS/BLIS-0.9.0-GCC-11.3.0.eb @@ -0,0 +1,42 @@ +easyblock = 'ConfigureMake' + +name = 'BLIS' +version = '0.9.0' + +homepage = 'https://github.com/flame/blis/' +description = """BLIS is a portable software framework for instantiating high-performance +BLAS-like dense linear algebra libraries.""" + +toolchain = {'name': 'GCC', 'version': '11.3.0'} + +source_urls = ['https://github.com/flame/blis/archive/'] +sources = ['%(version)s.tar.gz'] +patches = [ + '%(name)s-%(version)s_disable_power9_kernels.patch', + '%(name)s-%(version)s_enable_ppc_autodetect.patch', +] +checksums = [ + '1135f664be7355427b91025075562805cdc6cc730d3173f83533b2c5dcc2f308', # 0.9.0.tar.gz + # BLIS-0.9.0_disable_power9_kernels.patch + 'ed7a326bc5c5c21c42faefbec2fd7be609d1c7236981b466475edace39307279', + # BLIS-0.9.0_enable_ppc_autodetect.patch + 'f373fb252c0d14036fb631f048091976cceb02abb3e570a97fbaeac2fbb12328', +] +builddependencies = [ + ('Python', '3.10.4', '-bare'), + ('Perl', '5.34.1'), +] + +configopts = '--enable-cblas --enable-threading=openmp --enable-shared CC="$CC" auto' + +runtest = 'check' + +sanity_check_paths = { + 'files': ['include/blis/cblas.h', 'include/blis/blis.h', + 'lib/libblis.a', 'lib/libblis.%s' % SHLIB_EXT], + 'dirs': [], +} + +modextrapaths = {MODULE_LOAD_ENV_HEADERS: 'include/blis'} + +moduleclass = 'numlib' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/b/Bison/Bison-3.8.2-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/b/Bison/Bison-3.8.2-GCCcore-11.3.0.eb new file mode 100644 index 00000000..51a53e9d --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/b/Bison/Bison-3.8.2-GCCcore-11.3.0.eb @@ -0,0 +1,28 @@ +easyblock = 'ConfigureMake' + +name = 'Bison' +version = '3.8.2' + +homepage = 'https://www.gnu.org/software/bison' +description = """Bison is a general-purpose parser generator that converts an annotated context-free grammar + into a deterministic LR or generalized LR (GLR) parser employing LALR(1) parser tables.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['06c9e13bdf7eb24d4ceb6b59205a4f67c2c7e7213119644430fe82fbd14a0abb'] + +builddependencies = [ + ('M4', '1.4.19'), + # use same binutils version that was used when building GCCcore toolchain + ('binutils', '2.38', '', SYSTEM), +] + + +sanity_check_paths = { + 'files': ['bin/%s' % x for x in ['bison', 'yacc']] + [('lib/liby.a', 'lib64/liby.a')], + 'dirs': [], +} + +moduleclass = 'lang' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/b/Bison/Bison-3.8.2.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/b/Bison/Bison-3.8.2.eb new file mode 100644 index 00000000..22f92734 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/b/Bison/Bison-3.8.2.eb @@ -0,0 +1,29 @@ +easyblock = 'ConfigureMake' + +name = 'Bison' +version = '3.8.2' + +homepage = 'https://www.gnu.org/software/bison' + +description = """ + Bison is a general-purpose parser generator that converts an annotated + context-free grammar into a deterministic LR or generalized LR (GLR) parser + employing LALR(1) parser tables. +""" + +toolchain = SYSTEM + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['06c9e13bdf7eb24d4ceb6b59205a4f67c2c7e7213119644430fe82fbd14a0abb'] + +builddependencies = [ + ('M4', '1.4.19'), +] + +sanity_check_paths = { + 'files': ['bin/%s' % x for x in ['bison', 'yacc']] + [('lib/liby.a', 'lib64/liby.a')], + 'dirs': [], +} + +moduleclass = 'lang' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/b/binutils/binutils-2.38-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/b/binutils/binutils-2.38-GCCcore-11.3.0.eb new file mode 100644 index 00000000..ddecfa4f --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/b/binutils/binutils-2.38-GCCcore-11.3.0.eb @@ -0,0 +1,31 @@ +name = 'binutils' +version = '2.38' + +homepage = 'https://directory.fsf.org/project/binutils/' +description = "binutils: GNU binary utilities" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = [GNU_SOURCE] +sources = [SOURCE_TAR_GZ] +checksums = ['b3f1dc5b17e75328f19bd88250bee2ef9f91fc8cbb7bd48bdb31390338636052'] + +builddependencies = [ + ('flex', '2.6.4'), + ('Bison', '3.8.2'), + # use same binutils version that was used when building GCC toolchain, to 'bootstrap' this binutils + ('binutils', version, '', SYSTEM) +] + +dependencies = [ + # zlib is a runtime dep to avoid that it gets embedded in libbfd.so, + # see https://github.com/easybuilders/easybuild-easyblocks/issues/1350 + ('zlib', '1.2.12'), +] + +# avoid build failure when makeinfo command is not available +# see https://sourceware.org/bugzilla/show_bug.cgi?id=15345 +buildopts = 'MAKEINFO=true' +installopts = buildopts + +moduleclass = 'tools' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/b/binutils/binutils-2.38.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/b/binutils/binutils-2.38.eb new file mode 100644 index 00000000..19ac8f19 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/b/binutils/binutils-2.38.eb @@ -0,0 +1,26 @@ +name = 'binutils' +version = '2.38' + +homepage = 'https://directory.fsf.org/project/binutils/' + +description = "binutils: GNU binary utilities" + +toolchain = SYSTEM + +source_urls = [GNU_SOURCE] +sources = [SOURCE_TAR_GZ] +checksums = ['b3f1dc5b17e75328f19bd88250bee2ef9f91fc8cbb7bd48bdb31390338636052'] + +builddependencies = [ + ('flex', '2.6.4'), + ('Bison', '3.8.2'), + # zlib required, but being linked in statically, so not a runtime dep + ('zlib', '1.2.12'), +] + +# avoid build failure when makeinfo command is not available +# see https://sourceware.org/bugzilla/show_bug.cgi?id=15345 +buildopts = 'MAKEINFO=true' +installopts = buildopts + +moduleclass = 'tools' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/c/CMake/CMake-3.23.1-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/c/CMake/CMake-3.23.1-GCCcore-11.3.0.eb new file mode 100644 index 00000000..069c6a25 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/c/CMake/CMake-3.23.1-GCCcore-11.3.0.eb @@ -0,0 +1,30 @@ +name = 'CMake' +version = '3.23.1' + +homepage = 'https://www.cmake.org' + +description = """ + CMake, the cross-platform, open-source build system. CMake is a family of + tools designed to build, test and package software. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = ['https://www.cmake.org/files/v%(version_major_minor)s'] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['33fd10a8ec687a4d0d5b42473f10459bb92b3ae7def2b745dc10b192760869f3'] + +builddependencies = [ + ('binutils', '2.38'), +] + +dependencies = [ + ('ncurses', '6.3'), + ('zlib', '1.2.12'), + ('bzip2', '1.0.8'), + ('cURL', '7.83.0'), + ('libarchive', '3.6.1'), + ('OpenSSL', '1.1', '', SYSTEM), +] + +moduleclass = 'devel' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/f/FFTW.MPI/FFTW.MPI-3.3.10-gompi-2022a.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/f/FFTW.MPI/FFTW.MPI-3.3.10-gompi-2022a.eb new file mode 100644 index 00000000..f0248982 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/f/FFTW.MPI/FFTW.MPI-3.3.10-gompi-2022a.eb @@ -0,0 +1,19 @@ +name = 'FFTW.MPI' +version = '3.3.10' + +homepage = 'https://www.fftw.org' +description = """FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) +in one or more dimensions, of arbitrary input size, and of both real and complex data.""" + +toolchain = {'name': 'gompi', 'version': '2022a'} +toolchainopts = {'pic': True} + +source_urls = [homepage] +sources = ['fftw-%(version)s.tar.gz'] +checksums = ['56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467'] + +dependencies = [('FFTW', '3.3.10')] + +runtest = 'check' + +moduleclass = 'numlib' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/f/FFTW/FFTW-3.3.10-GCC-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/f/FFTW/FFTW-3.3.10-GCC-11.3.0.eb new file mode 100644 index 00000000..99e70448 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/f/FFTW/FFTW-3.3.10-GCC-11.3.0.eb @@ -0,0 +1,17 @@ +name = 'FFTW' +version = '3.3.10' + +homepage = 'https://www.fftw.org' +description = """FFTW is a C subroutine library for computing the discrete Fourier transform (DFT) +in one or more dimensions, of arbitrary input size, and of both real and complex data.""" + +toolchain = {'name': 'GCC', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = [homepage] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467'] + +runtest = 'check' + +moduleclass = 'numlib' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/f/FlexiBLAS/FlexiBLAS-3.2.0-GCC-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/f/FlexiBLAS/FlexiBLAS-3.2.0-GCC-11.3.0.eb new file mode 100644 index 00000000..3485cb58 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/f/FlexiBLAS/FlexiBLAS-3.2.0-GCC-11.3.0.eb @@ -0,0 +1,58 @@ +easyblock = 'Bundle' + +name = 'FlexiBLAS' +version = '3.2.0' + +homepage = 'https://gitlab.mpi-magdeburg.mpg.de/software/flexiblas-release' +description = """FlexiBLAS is a wrapper library that enables the exchange of the BLAS and LAPACK implementation +used by a program without recompiling or relinking it.""" + +toolchain = {'name': 'GCC', 'version': '11.3.0'} +local_extra_flags = "-fstack-protector-strong -fstack-clash-protection" +toolchainopts = {'pic': True, 'extra_cflags': local_extra_flags, 'extra_fflags': local_extra_flags} + +builddependencies = [ + ('CMake', '3.23.1'), + ('Python', '3.10.4', '-bare'), # required for running the tests + ('BLIS', '0.9.0'), +] + +dependencies = [ + ('OpenBLAS', '0.3.20'), +] + +# note: first listed backend will be used as default by FlexiBLAS, +# unless otherwise specified via easyconfig parameter flexiblas_default +local_backends = ['OpenBLAS', 'BLIS'] + +# imkl supplies its backend via the imkl module, not as a dependency +if ARCH == 'x86_64': + local_backends.append('imkl') + +default_component_specs = {'start_dir': '%(namelower)s-%(version)s'} +sanity_check_all_components = True + +# Also build and install LAPACKE, which FlexiBLAS does not support yet +components = [ + (name, version, { + 'source_urls': ['https://github.com/mpimd-csc/flexiblas/releases/download/v%(version)s/'], + 'sources': [SOURCELOWER_TAR_GZ], + 'checksums': ['a3f4d66a30b6fa6473e492de86d34abc5f9d4e69d4d91ba23618388e8df05904'], + 'backends': local_backends, + }), + ('LAPACK', '3.10.1', { + 'easyblock': 'CMakeMake', + 'source_urls': ['https://github.com/Reference-LAPACK/lapack/archive/'], + 'sources': ['v%(version)s.tar.gz'], + 'checksums': ['cd005cd021f144d7d5f7f33c943942db9f03a28d110d6a3b80d718a295f7f714'], + 'configopts': ('-DBUILD_SHARED_LIBS=ON -DUSE_OPTIMIZED_BLAS=ON -DLAPACKE=ON ' + '-DUSE_OPTIMIZED_LAPACK=ON -DBUILD_DEPRECATED=ON ' + '-DCMAKE_INSTALL_INCLUDEDIR=%(installdir)s/include/flexiblas'), + 'sanity_check_paths': { + 'files': ['lib/liblapacke.%s' % SHLIB_EXT, 'include/flexiblas/lapacke.h'], + 'dirs': [], + }, + }), +] + +moduleclass = 'lib' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/f/flex/flex-2.6.4-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/f/flex/flex-2.6.4-GCCcore-11.3.0.eb new file mode 100644 index 00000000..dcf62626 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/f/flex/flex-2.6.4-GCCcore-11.3.0.eb @@ -0,0 +1,34 @@ +name = 'flex' +version = '2.6.4' + +homepage = 'http://flex.sourceforge.net/' + +description = """ + Flex (Fast Lexical Analyzer) is a tool for generating scanners. A scanner, + sometimes called a tokenizer, is a program which recognizes lexical patterns + in text. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/westes/flex/releases/download/v%(version)s/'] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995'] + +builddependencies = [ + ('Bison', '3.8.2'), + ('help2man', '1.49.2'), + # use same binutils version that was used when building GCC toolchain + ('binutils', '2.38', '', SYSTEM), +] + +dependencies = [ + ('M4', '1.4.19'), +] + +# glibc 2.26 requires _GNU_SOURCE defined to expose reallocarray in the correct +# header, see https://github.com/westes/flex/issues/241 +preconfigopts = 'export CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" && ' + +moduleclass = 'lang' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/f/flex/flex-2.6.4.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/f/flex/flex-2.6.4.eb new file mode 100644 index 00000000..3ef5b3f2 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/f/flex/flex-2.6.4.eb @@ -0,0 +1,32 @@ +name = 'flex' +version = '2.6.4' + +homepage = 'http://flex.sourceforge.net/' + +description = """ + Flex (Fast Lexical Analyzer) is a tool for generating scanners. A scanner, + sometimes called a tokenizer, is a program which recognizes lexical patterns + in text. +""" + +toolchain = SYSTEM + +source_urls = ['https://github.com/westes/flex/releases/download/v%(version)s/'] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995'] + +# Do not add help2man, it depends on Perl and we do not want Perl at SYSTEM level. +# This results in not building man pages for the flex at SYSTEM level. +builddependencies = [ + ('Bison', '3.8.2'), +] + +dependencies = [ + ('M4', '1.4.19'), +] + +# glibc 2.26 requires _GNU_SOURCE defined to expose reallocarray in the correct +# header, see https://github.com/westes/flex/issues/241 +preconfigopts = 'export CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" && ' + +moduleclass = 'lang' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/f/foss/foss-2022a.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/f/foss/foss-2022a.eb new file mode 100644 index 00000000..962f6cee --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/f/foss/foss-2022a.eb @@ -0,0 +1,28 @@ +easyblock = 'Toolchain' + +name = 'foss' +version = '2022a' + +homepage = 'https://docs.easybuild.io/common-toolchains/#common_toolchains_foss' +description = """GNU Compiler Collection (GCC) based compiler toolchain, including + OpenMPI for MPI support, OpenBLAS (BLAS and LAPACK support), FFTW and ScaLAPACK.""" + +toolchain = SYSTEM + +local_gccver = '11.3.0' + +# toolchain used to build foss dependencies +local_comp_mpi_tc = ('gompi', version) + +# we need GCC and OpenMPI as explicit dependencies instead of gompi toolchain +# because of toolchain preparation functions +dependencies = [ + ('GCC', local_gccver), + ('OpenMPI', '4.1.4', '', ('GCC', local_gccver)), + ('FlexiBLAS', '3.2.0', '', ('GCC', local_gccver)), + ('FFTW', '3.3.10', '', ('GCC', local_gccver)), + ('FFTW.MPI', '3.3.10', '', local_comp_mpi_tc), + ('ScaLAPACK', '2.2.0', '-fb', local_comp_mpi_tc), +] + +moduleclass = 'toolchain' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/g/GCC/GCC-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/g/GCC/GCC-11.3.0.eb new file mode 100644 index 00000000..ee32dbad --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/g/GCC/GCC-11.3.0.eb @@ -0,0 +1,22 @@ +easyblock = 'Bundle' + +name = 'GCC' +version = '11.3.0' + +homepage = 'https://gcc.gnu.org/' +description = """The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada, + as well as libraries for these languages (libstdc++, libgcj,...).""" + +toolchain = SYSTEM + +dependencies = [ + ('GCCcore', version), + # binutils built on top of GCCcore, which was built on top of binutils (built with system toolchain) + ('binutils', '2.38', '', ('GCCcore', version)), +] + +altroot = 'GCCcore' +altversion = 'GCCcore' + +# this bundle serves as a compiler-only toolchain, so it should be marked as compiler (important for HMNS) +moduleclass = 'compiler' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/g/GCCcore/GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/g/GCCcore/GCCcore-11.3.0.eb new file mode 100644 index 00000000..def4bad1 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/g/GCCcore/GCCcore-11.3.0.eb @@ -0,0 +1,75 @@ +easyblock = 'EB_GCC' + +name = 'GCCcore' +version = '11.3.0' + +homepage = 'https://gcc.gnu.org/' +description = """The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada, + as well as libraries for these languages (libstdc++, libgcj,...).""" + +toolchain = SYSTEM + +source_urls = [ + 'https://ftpmirror.gnu.org/gnu/gcc/gcc-%(version)s', # GCC auto-resolving HTTP mirror + 'https://sourceware.org/pub/gcc/releases/gcc-%(version)s', # fallback URL for GCC + 'https://ftpmirror.gnu.org/gnu/gmp', # idem for GMP + 'https://ftpmirror.gnu.org/gnu/mpfr', # idem for MPFR + 'https://ftpmirror.gnu.org/gnu/mpc', # idem for MPC + 'ftp://gcc.gnu.org/pub/gcc/infrastructure/', # GCC dependencies + 'https://gcc.gnu.org/pub/gcc/infrastructure/', # HTTPS mirror for GCC dependencies + 'https://libisl.sourceforge.io/', # fallback URL for isl + 'https://sourceware.org/pub/newlib/', # for newlib + 'https://github.com/MentorEmbedded/nvptx-tools/archive', # for nvptx-tools +] +sources = [ + 'gcc-%(version)s.tar.gz', + 'gmp-6.2.1.tar.bz2', + 'mpfr-4.1.0.tar.bz2', + 'mpc-1.2.1.tar.gz', + 'isl-0.24.tar.bz2', + 'newlib-4.1.0.tar.gz', + {'download_filename': '7292758.tar.gz', 'filename': 'nvptx-tools-20220412.tar.gz'}, +] +patches = [ + 'GCCcore-6.2.0-fix-find-isl.patch', + 'GCCcore-9.3.0_gmp-c99.patch', + 'GCCcore-9.x-11.x_fix-unsigned-fpe-traps.patch', + 'GCCcore-10.1-11.4_fix-avx512-vect-crash.patch', + 'GCCcore-11.3.0_fuse-ld-mold.patch', + 'GCCcore-11_fix-libsanitzer-glibc-2.36.patch', + 'GCCcore-11.3.0_fix-vectorizer.patch', +] +checksums = [ + {'gcc-11.3.0.tar.gz': '98438e6cc7294298b474cf0da7655d9a8c8b796421bb0210531c294a950374ed'}, + {'gmp-6.2.1.tar.bz2': 'eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c'}, + {'mpfr-4.1.0.tar.bz2': 'feced2d430dd5a97805fa289fed3fc8ff2b094c02d05287fd6133e7f1f0ec926'}, + {'mpc-1.2.1.tar.gz': '17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459'}, + {'isl-0.24.tar.bz2': 'fcf78dd9656c10eb8cf9fbd5f59a0b6b01386205fe1934b3b287a0a1898145c0'}, + {'newlib-4.1.0.tar.gz': 'f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154'}, + {'nvptx-tools-20220412.tar.gz': '20e3c1eeae7f375c36455b6036c4801de16b854910ff54268bbd3346f3685080'}, + {'GCCcore-6.2.0-fix-find-isl.patch': '5ad909606d17d851c6ad629b4fddb6c1621844218b8d139fed18c502a7696c68'}, + {'GCCcore-9.3.0_gmp-c99.patch': '0e135e1cc7cec701beea9d7d17a61bab34cfd496b4b555930016b98db99f922e'}, + {'GCCcore-9.x-11.x_fix-unsigned-fpe-traps.patch': + '03a2e4aeda78d398edd680d6a1ba842b8ceb29c126ebb7fe2e3541ddfe4fbed4'}, + {'GCCcore-10.1-11.4_fix-avx512-vect-crash.patch': + '7886868ec569a7c3b89dbfb3c06e93fedac5924b9cf8b7fc70bb9076ae902d07'}, + {'GCCcore-11.3.0_fuse-ld-mold.patch': 'bba64714f8b84ad58b3b43c0d21b4ffc298274ae699f514ed2934f002146d840'}, + {'GCCcore-11_fix-libsanitzer-glibc-2.36.patch': '5c6c3b4655883a23dd9da7ef99751e5db23f35189c03689d2ab755b22cb39a60'}, + {'GCCcore-11.3.0_fix-vectorizer.patch': '7dff25b678e2f65b81d9bf0c8402ad46c25a04b0c0d610db50b763ecc5f9ef98'}, +] + +builddependencies = [ + ('M4', '1.4.19'), + ('binutils', '2.38'), +] + +languages = ['c', 'c++', 'fortran'] + +withisl = True +withnvptx = True + +# Perl is only required when building with NVPTX support +if withnvptx: + osdependencies = ['perl'] + +moduleclass = 'compiler' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/g/gfbf/gfbf-2022a.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/g/gfbf/gfbf-2022a.eb new file mode 100644 index 00000000..b85e6973 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/g/gfbf/gfbf-2022a.eb @@ -0,0 +1,20 @@ +easyblock = 'Toolchain' + +name = 'gfbf' +version = '2022a' + +homepage = '(none)' +description = """GNU Compiler Collection (GCC) based compiler toolchain, including + FlexiBLAS (BLAS and LAPACK support) and (serial) FFTW.""" + +toolchain = SYSTEM + +local_gccver = '11.3.0' + +dependencies = [ + ('GCC', local_gccver), + ('FlexiBLAS', '3.2.0', '', ('GCC', local_gccver)), + ('FFTW', '3.3.10', '', ('GCC', local_gccver)), +] + +moduleclass = 'toolchain' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/g/gompi/gompi-2022a.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/g/gompi/gompi-2022a.eb new file mode 100644 index 00000000..f2ad0f87 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/g/gompi/gompi-2022a.eb @@ -0,0 +1,20 @@ +easyblock = 'Toolchain' + +name = 'gompi' +version = '2022a' + +homepage = '(none)' +description = """GNU Compiler Collection (GCC) based compiler toolchain, + including OpenMPI for MPI support.""" + +toolchain = SYSTEM + +local_gccver = '11.3.0' + +# compiler toolchain dependencies +dependencies = [ + ('GCC', local_gccver), # includes both GCC and binutils + ('OpenMPI', '4.1.4', '', ('GCC', local_gccver)), +] + +moduleclass = 'toolchain' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/h/hwloc/hwloc-2.7.1-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/h/hwloc/hwloc-2.7.1-GCCcore-11.3.0.eb new file mode 100644 index 00000000..15cba2b3 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/h/hwloc/hwloc-2.7.1-GCCcore-11.3.0.eb @@ -0,0 +1,44 @@ +easyblock = 'ConfigureMake' + +name = 'hwloc' +version = '2.7.1' + +homepage = 'https://www.open-mpi.org/projects/hwloc/' + +description = """ + The Portable Hardware Locality (hwloc) software package provides a portable + abstraction (across OS, versions, architectures, ...) of the hierarchical + topology of modern architectures, including NUMA memory nodes, sockets, shared + caches, cores and simultaneous multithreading. It also gathers various system + attributes such as cache and memory information as well as the locality of I/O + devices such as network interfaces, InfiniBand HCAs or GPUs. It primarily + aims at helping applications with gathering information about modern computing + hardware so as to exploit it accordingly and efficiently. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = ['https://www.open-mpi.org/software/hwloc/v%(version_major_minor)s/downloads/'] +sources = [SOURCE_TAR_GZ] +checksums = ['4cb0a781ed980b03ad8c48beb57407aa67c4b908e45722954b9730379bc7f6d5'] + +builddependencies = [ + ('binutils', '2.38'), +] + +dependencies = [ + ('numactl', '2.0.14'), + ('libxml2', '2.9.13'), + ('libpciaccess', '0.16'), +] + +configopts = "--disable-cairo --disable-opencl --disable-cuda --disable-nvml --disable-gl --disable-libudev " + +sanity_check_paths = { + 'files': ['bin/lstopo', 'include/hwloc/linux.h', + 'lib/libhwloc.%s' % SHLIB_EXT], + 'dirs': ['share/man/man3'], +} +sanity_check_commands = ['lstopo'] + +moduleclass = 'system' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/l/libevent/libevent-2.1.12-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/l/libevent/libevent-2.1.12-GCCcore-11.3.0.eb new file mode 100644 index 00000000..d88edcd0 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/l/libevent/libevent-2.1.12-GCCcore-11.3.0.eb @@ -0,0 +1,38 @@ +easyblock = 'ConfigureMake' + +name = 'libevent' +version = '2.1.12' + +homepage = 'https://libevent.org/' + +description = """ + The libevent API provides a mechanism to execute a callback function when + a specific event occurs on a file descriptor or after a timeout has been + reached. Furthermore, libevent also support callbacks due to signals or + regular timeouts. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/%(name)s/%(name)s/releases/download/release-%(version)s-stable/'] +sources = ['%(name)s-%(version)s-stable.tar.gz'] +checksums = ['92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb'] + +builddependencies = [ + ('binutils', '2.38'), + ('pkgconf', '1.8.0'), +] + +dependencies = [ + ('zlib', '1.2.12'), + ('OpenSSL', '1.1', '', SYSTEM), +] + +sanity_check_paths = { + 'files': ['bin/event_rpcgen.py', 'include/event.h', 'include/event2/event.h', + 'lib/libevent_core.%s' % SHLIB_EXT, 'lib/pkgconfig/libevent.pc'], + 'dirs': [], +} + +moduleclass = 'lib' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/l/libfabric/libfabric-1.15.1-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/l/libfabric/libfabric-1.15.1-GCCcore-11.3.0.eb new file mode 100644 index 00000000..6c50cdb4 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/l/libfabric/libfabric-1.15.1-GCCcore-11.3.0.eb @@ -0,0 +1,69 @@ +easyblock = 'ConfigureMake' + +name = 'libfabric' +version = '1.15.1' + +homepage = 'https://ofiwg.github.io/libfabric/' +description = """ +Libfabric is a core component of OFI. It is the library that defines and exports +the user-space API of OFI, and is typically the only software that applications +deal with directly. It works in conjunction with provider libraries, which are +often integrated directly into libfabric. +""" + +# The psm3 provider (enabled by default) requires an AVX capable system to run +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/ofiwg/libfabric/releases/download/v%(version)s'] +sources = [SOURCE_TAR_BZ2] +patches = [ + '%(name)s-1.12.1_disable-psm3-avx-config.patch', + '%(name)s-1.15.1_disable-OPX-if-unsupported.patch', +] +checksums = [ + 'cafa3005a9dc86064de179b0af4798ad30b46b2f862fe0268db03d13943e10cd', # libfabric-1.15.1.tar.bz2 + # libfabric-1.12.1_disable-psm3-avx-config.patch + '129be05a824b41eeb7bddac3c23aa421a13f7dde622948df942a265ccc96125a', + # libfabric-1.15.1_disable-OPX-if-unsupported.patch + 'a1af5b985209acf447760f98f852c0c5359b1731fa23b1b893d8cc816a441850', +] + +builddependencies = [ + ('binutils', '2.38'), + ('pkgconf', '1.8.0'), + ('Autotools', '20220317'), +] + +dependencies = [ + ('numactl', '2.0.14'), + # PSM2 dependency for libfabric should be used on Omnipath systems, + # but that PSM2 has CUDA as dependency so it's commented out by default; + # PSM2 only compiles on x86_64 + # ('PSM2', {'arch=x86_64': '12.0.1', 'arch=*': False}), +] + +osdependencies = [OS_PKG_IBVERBS_DEV] + +# Regenerate build files to pick up psm3-axv-config patch +preconfigopts = "./autogen.sh &&" + +# Disable deprecated "sockets" provider +configopts = "--disable-sockets " + +# Disable usNIC provider by default as this requires specific osdependencies +# If you want to enable this provider you need to uncomment the following line: +# osdependencies.append(('libnl3-devel', 'libnl3-dev')) +configopts += "--disable-usnic " + +buildopts = "V=1" + +sanity_check_paths = { + 'files': ['bin/fi_info', 'bin/fi_pingpong', 'bin/fi_strerror'] + + ['lib/libfabric.%s' % x for x in ['a', SHLIB_EXT]], + 'dirs': ['include/rdma', 'lib/pkgconfig', 'share'] +} + +sanity_check_commands = ['fi_info'] + +moduleclass = 'lib' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/m/M4/M4-1.4.19.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/m/M4/M4-1.4.19.eb new file mode 100644 index 00000000..5beadaab --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/m/M4/M4-1.4.19.eb @@ -0,0 +1,40 @@ +easyblock = 'ConfigureMake' + +name = 'M4' +version = '1.4.19' + +homepage = 'https://www.gnu.org/software/m4/m4.html' + +description = """ + GNU M4 is an implementation of the traditional Unix macro processor. It is + mostly SVR4 compatible although it has some extensions (for example, handling + more than 9 positional parameters to macros). GNU M4 also has built-in + functions for including files, running shell commands, doing arithmetic, etc. +""" + +toolchain = SYSTEM + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +patches = ["M4-1.4.19_fix-asm-usage-when-c-std-is-set.patch"] + +checksums = [ + # m4-1.4.19.tar.gz + '3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70', + # M4-1.4.19_fix-asm-usage-when-c-std-is-set.patch + '95d769a72e55737f76b049f75c67198ba0ce1260850e8100254af1dcc52a542f', +] + +# '-fgnu89-inline' is required to avoid linking errors with older glibc's, +# see https://github.com/easybuilders/easybuild-easyconfigs/issues/529 +configopts = "--enable-c++ CPPFLAGS=-fgnu89-inline " +# GCC 15 will default to C23 as its C standard. This causes M4 builds to fail. +# Set the C standard to C99 to avoid this issue. C89 fails the build as well. +configopts += "CFLAGS=-std=c99 " + +sanity_check_paths = { + 'files': ['bin/m4'], + 'dirs': [], +} + +moduleclass = 'devel' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/o/OpenBLAS/OpenBLAS-0.3.20-GCC-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/o/OpenBLAS/OpenBLAS-0.3.20-GCC-11.3.0.eb new file mode 100644 index 00000000..96a3218f --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/o/OpenBLAS/OpenBLAS-0.3.20-GCC-11.3.0.eb @@ -0,0 +1,56 @@ +name = 'OpenBLAS' +version = '0.3.20' + +homepage = 'http://www.openblas.net/' +description = "OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version." + +toolchain = {'name': 'GCC', 'version': '11.3.0'} + +source_urls = [ + # order matters, trying to download the large.tgz/timing.tgz LAPACK tarballs from GitHub causes trouble + 'https://www.netlib.org/lapack/timing/', + 'https://github.com/xianyi/OpenBLAS/archive/', +] +sources = ['v%(version)s.tar.gz'] +patches = [ + ('large.tgz', '.'), + ('timing.tgz', '.'), + 'OpenBLAS-0.3.15_workaround-gcc-miscompilation.patch', + 'OpenBLAS-0.3.20_fix-cpuid-neoverse-v1-n2.patch', + 'OpenBLAS-0.3.20_fix-x86-cpuid.patch', + 'OpenBLAS-0.3.20_use-xASUM-microkernels-on-new-intel-cpus.patch', + 'OpenBLAS-0.3.21_fix-order-vectorization.patch', + 'OpenBLAS-0.3.21_disable-fma-in-cscal-zscal.patch', + 'OpenBLAS-0.3.21_avoid-crash-in-zdot.patch', +] +checksums = [ + {'v0.3.20.tar.gz': '8495c9affc536253648e942908e88e097f2ec7753ede55aca52e5dead3029e3c'}, + {'large.tgz': 'f328d88b7fa97722f271d7d0cfea1c220e0f8e5ed5ff01d8ef1eb51d6f4243a1'}, + {'timing.tgz': '999c65f8ea8bd4eac7f1c7f3463d4946917afd20a997807300fe35d70122f3af'}, + {'OpenBLAS-0.3.15_workaround-gcc-miscompilation.patch': + 'e6b326fb8c4a8a6fd07741d9983c37a72c55c9ff9a4f74a80e1352ce5f975971'}, + {'OpenBLAS-0.3.20_fix-cpuid-neoverse-v1-n2.patch': + '1b495465f8dd1e151d74cf5aa4288120361d29164d6a377228a8d51c255b8a9e'}, + {'OpenBLAS-0.3.20_fix-x86-cpuid.patch': '57e8384404e136b9f0dafc26573adeb7dc69e60d84a7e189643b91d6299888fc'}, + {'OpenBLAS-0.3.20_use-xASUM-microkernels-on-new-intel-cpus.patch': + '1dbd0f9473963dbdd9131611b455d8a801f1e995eae82896186d3d3ffe6d5f03'}, + {'OpenBLAS-0.3.21_fix-order-vectorization.patch': + '08af834e5d60441fd35c128758ed9c092ba6887c829e0471ecd489079539047d'}, + {'OpenBLAS-0.3.21_disable-fma-in-cscal-zscal.patch': + 'bd6836206a883208dc8bc997946f97e4c97d91d8e101fc54db414aaa56902fc3'}, + {'OpenBLAS-0.3.21_avoid-crash-in-zdot.patch': '3dac2c1ec896df574f1b37cde81a16f24550b7f1eb81fbfacb0c4449b0dc7894'}, +] + +builddependencies = [ + ('make', '4.3'), + # required by LAPACK test suite + ('Python', '3.10.4', '-bare'), +] + +run_lapack_tests = True +max_failing_lapack_tests_num_errors = 150 + +# extensive testing can be enabled by uncommenting the line below +# runtest = 'PATH=.:$PATH lapack-timing' + +moduleclass = 'numlib' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/o/OpenMPI/OpenMPI-4.1.4-GCC-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/o/OpenMPI/OpenMPI-4.1.4-GCC-11.3.0.eb new file mode 100644 index 00000000..1977e169 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/o/OpenMPI/OpenMPI-4.1.4-GCC-11.3.0.eb @@ -0,0 +1,69 @@ +name = 'OpenMPI' +version = '4.1.4' + +homepage = 'https://www.open-mpi.org/' +description = """The Open MPI Project is an open source MPI-3 implementation.""" + +toolchain = {'name': 'GCC', 'version': '11.3.0'} + +source_urls = ['https://www.open-mpi.org/software/ompi/v%(version_major_minor)s/downloads'] +sources = [SOURCELOWER_TAR_BZ2] +patches = [ + 'OpenMPI-4.1.1_build-with-internal-cuda-header.patch', + 'OpenMPI-4.1.1_opal-datatype-cuda-performance.patch', + 'OpenMPI-4.1.4_fix-implicit-cuda-function-declaration.patch', + 'OpenMPI-4.1.x_add_atomic_wmb.patch', + 'OpenMPI-4.x_fix-gpfs.patch', +] +checksums = [ + {'openmpi-4.1.4.tar.bz2': '92912e175fd1234368c8730c03f4996fe5942e7479bb1d10059405e7f2b3930d'}, + {'OpenMPI-4.1.1_build-with-internal-cuda-header.patch': + '63eac52736bdf7644c480362440a7f1f0ae7c7cae47b7565f5635c41793f8c83'}, + {'OpenMPI-4.1.1_opal-datatype-cuda-performance.patch': + 'b767c7166cf0b32906132d58de5439c735193c9fd09ec3c5c11db8d5fa68750e'}, + {'OpenMPI-4.1.4_fix-implicit-cuda-function-declaration.patch': + 'ec1c2f07d03574b86fc5fb462eed96eb6f5658deb8a6412cf37007d687a28673'}, + {'OpenMPI-4.1.x_add_atomic_wmb.patch': '9494bbc546d661ba5189e44b4c84a7f8df30a87cdb9d96ce2e73a7c8fecba172'}, + {'OpenMPI-4.x_fix-gpfs.patch': '94858c78f58d7f6be8df4b81c89b3d125c1fec3bbf1a9554ebf1e558231b08f7'}, +] + +builddependencies = [ + ('pkgconf', '1.8.0'), + ('Perl', '5.34.1'), + ('Autotools', '20220317'), +] + +dependencies = [ + ('zlib', '1.2.12'), + ('hwloc', '2.7.1'), + ('libevent', '2.1.12'), + ('UCX', '1.12.1'), + ('libfabric', '1.15.1'), + ('PMIx', '4.1.2'), + ('UCC', '1.0.0'), +] + +# Update configure to include changes from the "internal-cuda" patch +# by running a subset of autogen.pl sufficient to achieve this +# without doing the full, long-running regeneration. +preconfigopts = ' && '.join([ + 'cd config', + 'autom4te --language=m4sh opal_get_version.m4sh -o opal_get_version.sh', + 'cd ..', + 'autoconf', + 'autoheader', + 'aclocal', + 'automake', + '' +]) + +# CUDA related patches and custom configure option can be removed if CUDA support isn't wanted. +configopts = '--with-cuda=internal ' + +# disable MPI1 compatibility for now, see what breaks... +# configopts += '--enable-mpi1-compatibility ' + +# to enable SLURM integration (site-specific) +# configopts += '--with-slurm --with-pmi=/usr/include/slurm --with-pmi-libdir=/usr' + +moduleclass = 'mpi' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/p/PMIx/PMIx-4.1.2-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/p/PMIx/PMIx-4.1.2-GCCcore-11.3.0.eb new file mode 100644 index 00000000..7f5b67f5 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/p/PMIx/PMIx-4.1.2-GCCcore-11.3.0.eb @@ -0,0 +1,49 @@ +easyblock = 'ConfigureMake' + +name = 'PMIx' +version = '4.1.2' + +homepage = 'https://pmix.org/' +description = """Process Management for Exascale Environments +PMI Exascale (PMIx) represents an attempt to +provide an extended version of the PMI standard specifically designed +to support clusters up to and including exascale sizes. The overall +objective of the project is not to branch the existing pseudo-standard +definitions - in fact, PMIx fully supports both of the existing PMI-1 +and PMI-2 APIs - but rather to (a) augment and extend those APIs to +eliminate some current restrictions that impact scalability, and (b) +provide a reference implementation of the PMI-server that demonstrates +the desired level of scalability. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/openpmix/openpmix/releases/download/v%(version)s'] +sources = ['%(namelower)s-%(version)s.tar.bz2'] +patches = ['PMIx-4.x_lchown.patch'] +checksums = [ + {'pmix-4.1.2.tar.bz2': '670d3a02b39fb2126fe8084174cf03c484e027b5921b5c98a851108134e2597a'}, + {'PMIx-4.x_lchown.patch': '1e89856caf69878aeb54ca08bb6b4ea1c962d24010e2080878ea70e958947a05'}, +] + +builddependencies = [('binutils', '2.38')] + +dependencies = [ + ('libevent', '2.1.12'), + ('zlib', '1.2.12'), + ('hwloc', '2.7.1'), +] + +configopts = ' --with-libevent=$EBROOTLIBEVENT --with-zlib=$EBROOTZLIB' +configopts += ' --with-hwloc=$EBROOTHWLOC' +configopts += ' --enable-pmix-binaries' + +buildopts = 'V=1' + +sanity_check_paths = { + 'files': ['bin/pevent', 'bin/plookup', 'bin/pmix_info', 'bin/pps'], + 'dirs': ['etc', 'include', 'lib', 'share'] +} + +moduleclass = 'lib' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/p/Perl/Perl-5.34.1-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/p/Perl/Perl-5.34.1-GCCcore-11.3.0.eb new file mode 100644 index 00000000..fca74b31 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/p/Perl/Perl-5.34.1-GCCcore-11.3.0.eb @@ -0,0 +1,1969 @@ +name = 'Perl' +version = '5.34.1' + +homepage = 'https://www.perl.org/' +description = """Larry Wall's Practical Extraction and Report Language""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://www.cpan.org/src/%(version_major)s.0'] +sources = ['perl-%(version)s.tar.gz'] +patches = ['%(name)s-5.36.1_Avoid-spurious-test-failure-due-to-PATH-line-1000-ch.patch'] +checksums = [ + {'perl-5.34.1.tar.gz': '357951a491b0ba1ce3611263922feec78ccd581dddc24a446b033e25acf242a1'}, + {'Perl-5.36.1_Avoid-spurious-test-failure-due-to-PATH-line-1000-ch.patch': + '8bc55f85eeacf35175f8e4f053ba7858f62974bcc073b265c2f0cd93a5f1307a'}, +] + +builddependencies = [ + ('binutils', '2.38'), + ('groff', '1.22.4'), +] + +dependencies = [ + ('zlib', '1.2.12'), # for Net::SSLeay + ('expat', '2.4.8'), # for XML::Parser + ('ncurses', '6.3'), # for Term::ReadLine::Gnu + ('libreadline', '8.1.2'), # for Term::ReadLine::Gnu + ('DB', '18.1.40'), # for DB_File + ('OpenSSL', '1.1', '', SYSTEM), # required for Net::SSLeay +] + +# !! order of extensions is important !! +# extensions updated on Apr 28th 2022 +exts_list = [ + ('Config::General', '2.65', { + 'source_tmpl': 'Config-General-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TL/TLINDEN'], + 'checksums': ['4d6d5754be3a9f30906836f0cc10e554c8832e14e7a1341efb15b05d706fc58f'], + }), + ('File::Listing', '6.15', { + 'source_tmpl': 'File-Listing-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PL/PLICEASE'], + 'checksums': ['46c4fb9f9eb9635805e26b7ea55b54455e47302758a10ed2a0b92f392713770c'], + }), + ('ExtUtils::InstallPaths', '0.012', { + 'source_tmpl': 'ExtUtils-InstallPaths-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LE/LEONT'], + 'checksums': ['84735e3037bab1fdffa3c2508567ad412a785c91599db3c12593a50a1dd434ed'], + }), + ('ExtUtils::Helpers', '0.026', { + 'source_tmpl': 'ExtUtils-Helpers-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LE/LEONT'], + 'checksums': ['de901b6790a4557cf4ec908149e035783b125bf115eb9640feb1bc1c24c33416'], + }), + ('Test::Harness', '3.44', { + 'source_tmpl': 'Test-Harness-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LE/LEONT'], + 'checksums': ['7eb591ea6b499ece6745ff3e80e60cee669f0037f9ccbc4e4511425f593e5297'], + }), + ('ExtUtils::Config', '0.008', { + 'source_tmpl': 'ExtUtils-Config-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LE/LEONT'], + 'checksums': ['ae5104f634650dce8a79b7ed13fb59d67a39c213a6776cfdaa3ee749e62f1a8c'], + }), + ('Module::Build::Tiny', '0.039', { + 'source_tmpl': 'Module-Build-Tiny-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LE/LEONT'], + 'checksums': ['7d580ff6ace0cbe555bf36b86dc8ea232581530cbeaaea09bccb57b55797f11c'], + }), + ('aliased', '0.34', { + 'source_tmpl': 'aliased-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['c350524507cd827fab864e5d4c2cc350b1babaa12fa95aec0ca00843fcc7deeb'], + }), + ('Text::Glob', '0.11', { + 'source_tmpl': 'Text-Glob-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RC/RCLAMP'], + 'checksums': ['069ccd49d3f0a2dedb115f4bdc9fbac07a83592840953d1fcdfc39eb9d305287'], + }), + ('Regexp::Common', '2017060201', { + 'source_tmpl': 'Regexp-Common-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL'], + 'checksums': ['ee07853aee06f310e040b6bf1a0199a18d81896d3219b9b35c9630d0eb69089b'], + }), + ('GO::Utils', '0.15', { + 'source_tmpl': 'go-perl-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CM/CMUNGALL'], + 'checksums': ['423d26155ee85ca51ab2270cee59f4e85b193e57ac3a29aff827298c0a396b12'], + }), + ('Module::Pluggable', '5.2', { + 'source_tmpl': 'Module-Pluggable-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SI/SIMONW'], + 'checksums': ['b3f2ad45e4fd10b3fb90d912d78d8b795ab295480db56dc64e86b9fa75c5a6df'], + }), + ('Test::Fatal', '0.016', { + 'source_tmpl': 'Test-Fatal-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['7283d430f2ba2030b8cd979ae3039d3f1b2ec3dde1a11ca6ae09f992a66f788f'], + }), + ('Test::Warnings', '0.031', { + 'source_tmpl': 'Test-Warnings-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['1e542909fef305e45563e9878ea1c3b0c7cef1b28bb7ae07eba2e1efabec477b'], + }), + ('File::ShareDir', '1.118', { + 'source_tmpl': 'File-ShareDir-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RE/REHSACK'], + 'checksums': ['3bb2a20ba35df958dc0a4f2306fc05d903d8b8c4de3c8beefce17739d281c958'], + }), + ('File::ShareDir::Install', '0.13', { + 'source_tmpl': 'File-ShareDir-Install-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['45befdf0d95cbefe7c25a1daf293d85f780d6d2576146546e6828aad26e580f9'], + }), + ('IPC::System::Simple', '1.30', { + 'source_tmpl': 'IPC-System-Simple-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/'], + 'checksums': ['22e6f5222b505ee513058fdca35ab7a1eab80539b98e5ca4a923a70a8ae9ba9e'], + }), + ('Importer', '0.026', { + 'source_tmpl': 'Importer-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/EX/EXODIST/'], + 'checksums': ['e08fa84e13cb998b7a897fc8ec9c3459fcc1716aff25cc343e36ef875891b0ef'], + }), + ('Term::Table', '0.016', { + 'source_tmpl': 'Term-Table-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/EX/EXODIST/'], + 'checksums': ['8fb4fbb8e96a2d6c514949eb8cfd7e66319bcb1cbf7cea0ab19af887a72d97bf'], + }), + ('Scope::Guard', '0.21', { + 'source_tmpl': 'Scope-Guard-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/'], + 'checksums': ['8c9b1bea5c56448e2c3fadc65d05be9e4690a3823a80f39d2f10fdd8f777d278'], + }), + ('Sub::Info', '0.002', { + 'source_tmpl': 'Sub-Info-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/EX/EXODIST/'], + 'checksums': ['ea3056d696bdeff21a99d340d5570887d39a8cc47bff23adfc82df6758cdd0ea'], + }), + ('Test2::Require::Module', '0.000145', { + 'source_tmpl': 'Test2-Suite-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/EX/EXODIST/'], + 'checksums': ['ed44be739c8879fe178d3107b238f2db960d52797db0058de53be5b84600358b'], + }), + ('Test2::Plugin::NoWarnings', '0.09', { + 'source_tmpl': 'Test2-Plugin-NoWarnings-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/'], + 'checksums': ['be3dd800042eef362bf17d2056cf9e934dee91ccce98e4f178b8fb5772f2fb74'], + }), + ('Class::Tiny', '1.008', { + 'source_tmpl': 'Class-Tiny-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/'], + 'checksums': ['ee058a63912fa1fcb9a72498f56ca421a2056dc7f9f4b67837446d6421815615'], + }), + ('Test::File::ShareDir::Dist', '1.001002', { + 'source_tmpl': 'Test-File-ShareDir-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/K/KE/KENTNL/'], + 'checksums': ['b33647cbb4b2f2fcfbde4f8bb4383d0ac95c2f89c4c5770eb691f1643a337aad'], + }), + ('DateTime::Locale', '1.35', { + 'source_tmpl': 'DateTime-Locale-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['6104a15626331b521746a8ab30c1d978420b3347c235ee52c2e6de5ce2113aac'], + }), + ('DateTime::TimeZone', '2.52', { + 'source_tmpl': 'DateTime-TimeZone-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['8bc5c42082874b0e9c9ef949fa19035ac9b6904ebcda1931aa2d8a13f3950d8f'], + }), + ('Test::Requires', '0.11', { + 'source_tmpl': 'Test-Requires-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM'], + 'checksums': ['4b88de549597eecddf7c3c38a4d0204a16f59ad804577b671896ac04e24e040f'], + }), + ('Module::Implementation', '0.09', { + 'source_tmpl': 'Module-Implementation-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['c15f1a12f0c2130c9efff3c2e1afe5887b08ccd033bd132186d1e7d5087fd66d'], + }), + ('Module::Build', '0.4231', { + 'source_tmpl': 'Module-Build-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LE/LEONT'], + 'checksums': ['7e0f4c692c1740c1ac84ea14d7ea3d8bc798b2fb26c09877229e04f430b2b717'], + }), + ('Module::Runtime', '0.016', { + 'source_tmpl': 'Module-Runtime-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM'], + 'checksums': ['68302ec646833547d410be28e09676db75006f4aa58a11f3bdb44ffe99f0f024'], + }), + ('Try::Tiny', '0.31', { + 'source_tmpl': 'Try-Tiny-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['3300d31d8a4075b26d8f46ce864a1d913e0e8467ceeba6655d5d2b2e206c11be'], + }), + ('Params::Validate', '1.30', { + 'source_tmpl': 'Params-Validate-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['9a3a35583d3125d07e8c802c1f92f5be7d526e76dd496e944da270b1e273d812'], + }), + ('List::MoreUtils', '0.430', { + 'source_tmpl': 'List-MoreUtils-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RE/REHSACK'], + 'checksums': ['63b1f7842cd42d9b538d1e34e0330de5ff1559e4c2737342506418276f646527'], + }), + ('Exporter::Tiny', '1.002002', { + 'source_tmpl': 'Exporter-Tiny-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TO/TOBYINK'], + 'checksums': ['00f0b95716b18157132c6c118ded8ba31392563d19e490433e9a65382e707101'], + }), + ('Class::Singleton', '1.6', { + 'source_tmpl': 'Class-Singleton-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SH/SHAY'], + 'checksums': ['27ba13f0d9512929166bbd8c9ef95d90d630fc80f0c9a1b7458891055e9282a4'], + }), + ('CPAN::Meta::Check', '0.014', { + 'source_tmpl': 'CPAN-Meta-Check-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LE/LEONT/'], + 'checksums': ['28a0572bfc1c0678d9ce7da48cf521097ada230f96eb3d063fcbae1cfe6a351f'], + }), + ('Test::Without::Module', '0.20', { + 'source_tmpl': 'Test-Without-Module-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CO/CORION/'], + 'checksums': ['8e9aeb7c32a6c6d0b8a93114db2a8c072721273a9d9a2dd4f9ca86cfd28aa524'], + }), + ('DateTime', '1.58', { + 'source_tmpl': 'DateTime-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['00ee2a99d1cf1ae022eaf06b2cde600313d92a069e7ef9258a455a932a5fd90b'], + }), + ('File::Find::Rule::Perl', '1.16', { + 'source_tmpl': 'File-Find-Rule-Perl-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['ae1886050d9ca21223c073e2870abdc80dc30e3f55289a11c37da3820a8321ff'], + }), + ('Readonly', '2.05', { + 'source_tmpl': 'Readonly-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SA/SANKO'], + 'checksums': ['4b23542491af010d44a5c7c861244738acc74ababae6b8838d354dfb19462b5e'], + }), + ('Git', '0.42', { + 'source_tmpl': 'Git-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MS/MSOUTH'], + 'checksums': ['9469a9f398f3a2bf2b0500566ee41d3ff6fae460412a137185767a1cc4783a6d'], + }), + ('Tree::DAG_Node', '1.32', { + 'source_tmpl': 'Tree-DAG_Node-%(version)s.tgz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE'], + 'checksums': ['22d9de3d6e6f4afd89e6d825c664f9482878bd49e29cb81342a707af40542d3d'], + }), + ('Template', '3.100', { + 'source_tmpl': 'Template-Toolkit-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TO/TODDR'], + 'checksums': ['cec7c20af57ed4b0d8131599a41027f56e22b544c8083704afad6a13cd483ffc'], + }), + ('DBI', '1.643', { + 'source_tmpl': 'DBI-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TI/TIMB'], + 'checksums': ['8a2b993db560a2c373c174ee976a51027dd780ec766ae17620c20393d2e836fa'], + }), + ('DBD::SQLite', '1.70', { + 'source_tmpl': 'DBD-SQLite-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI'], + 'checksums': ['40fd8ddf539e0e773a7a4e6d376794c3301459f9ab0050978bdcf97113dafe3e'], + }), + ('Math::Bezier', '0.01', { + 'source_tmpl': 'Math-Bezier-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/A/AB/ABW'], + 'checksums': ['11a815fc45fdf0efabb1822ab77faad8b9eea162572c5f0940c8ed7d56e6b8b8'], + }), + ('Archive::Extract', '0.88', { + 'source_tmpl': 'Archive-Extract-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BINGOS'], + 'checksums': ['cffcf135cd0622287d3b02154f7d6716495449fcaed03966621948e25ea5f742'], + }), + ('DBIx::Simple', '1.37', { + 'source_tmpl': 'DBIx-Simple-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JU/JUERD'], + 'checksums': ['46d311aa2ce08907401c56119658426dbb044c5a40de73d9a7b79bf50390cae3'], + }), + ('Shell', '0.73', { + 'source_tmpl': 'Shell-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/F/FE/FERREIRA'], + 'checksums': ['f7dbebf65261ed0e5abd0f57052b64d665a1a830bab4c8bbc220f235bd39caf5'], + }), + ('File::Spec', '3.75', { + 'source_tmpl': 'PathTools-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX'], + 'patches': ['PathTools-3.75_fix-cwd_enoent-test.patch'], + 'checksums': [ + 'a558503aa6b1f8c727c0073339081a77888606aa701ada1ad62dd9d8c3f945a2', + {'PathTools-3.75_fix-cwd_enoent-test.patch': + '7a456a99d9b04a36359f3623f0deef8fe7f472c742f99cdcf0215c50afbbe7b1'}, + ], + }), + ('Test::Simple', '1.302190', { + 'source_tmpl': 'Test-Simple-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/EX/EXODIST'], + 'checksums': ['fbb15226f1c605c4466a8c6ba02030083d54333d34fa76c02549cae7014c3a0e'], + }), + ('Set::Scalar', '1.29', { + 'source_tmpl': 'Set-Scalar-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DA/DAVIDO'], + 'checksums': ['a3dc1526f3dde72d3c64ea00007b86ce608cdcd93567cf6e6e42dc10fdc4511d'], + }), + ('IO::Stringy', '2.113', { + 'source_tmpl': 'IO-Stringy-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB'], + 'checksums': ['51220fcaf9f66a639b69d251d7b0757bf4202f4f9debd45bdd341a6aca62fe4e'], + }), + ('Encode::Locale', '1.05', { + 'source_tmpl': 'Encode-Locale-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/G/GA/GAAS'], + 'checksums': ['176fa02771f542a4efb1dbc2a4c928e8f4391bf4078473bd6040d8f11adb0ec1'], + }), + ('XML::SAX::Base', '1.09', { + 'source_tmpl': 'XML-SAX-Base-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/G/GR/GRANTM'], + 'checksums': ['66cb355ba4ef47c10ca738bd35999723644386ac853abbeb5132841f5e8a2ad0'], + }), + ('XML::NamespaceSupport', '1.12', { + 'source_tmpl': 'XML-NamespaceSupport-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN'], + 'checksums': ['47e995859f8dd0413aa3f22d350c4a62da652e854267aa0586ae544ae2bae5ef'], + }), + ('XML::SAX', '1.02', { + 'source_tmpl': 'XML-SAX-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/G/GR/GRANTM'], + 'checksums': ['4506c387043aa6a77b455f00f57409f3720aa7e553495ab2535263b4ed1ea12a'], + }), + ('Test::LeakTrace', '0.17', { + 'source_tmpl': 'Test-LeakTrace-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LE/LEEJO'], + 'checksums': ['777d64d2938f5ea586300eef97ef03eacb43d4c1853c9c3b1091eb3311467970'], + }), + ('Test::Exception', '0.43', { + 'source_tmpl': 'Test-Exception-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/EX/EXODIST'], + 'checksums': ['156b13f07764f766d8b45a43728f2439af81a3512625438deab783b7883eb533'], + }), + ('Text::Aligner', '0.16', { + 'source_tmpl': 'Text-Aligner-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF'], + 'checksums': ['5c857dbce586f57fa3d7c4ebd320023ab3b2963b2049428ae01bd3bc4f215725'], + }), + ('Text::Table', '1.134', { + 'source_tmpl': 'Text-Table-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF'], + 'checksums': ['bacf429b18b7c0b22c088219055063e3902749531d488ebd7b17eab7757cd10b'], + }), + ('MIME::Types', '2.22', { + 'source_tmpl': 'MIME-Types-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MA/MARKOV'], + 'checksums': ['c2545eb30b094e942860ff8444f0f6cb54641caa8f7d386aaa2d925da4b02400'], + }), + ('File::Copy::Recursive', '0.45', { + 'source_tmpl': 'File-Copy-Recursive-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DM/DMUEY'], + 'checksums': ['d3971cf78a8345e38042b208bb7b39cb695080386af629f4a04ffd6549df1157'], + }), + ('Cwd::Guard', '0.05', { + 'source_tmpl': 'Cwd-Guard-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO'], + 'checksums': ['7afc7ca2b9502e440241938ad97a3e7ebd550180ebd6142e1db394186b268e77'], + }), + ('Capture::Tiny', '0.48', { + 'source_tmpl': 'Capture-Tiny-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN'], + 'checksums': ['6c23113e87bad393308c90a207013e505f659274736638d8c79bac9c67cc3e19'], + }), + ('File::Copy::Recursive::Reduced', '0.006', { + 'source_tmpl': 'File-Copy-Recursive-Reduced-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JK/JKEENAN'], + 'checksums': ['e618f993a69f4355205c58fffff6982609f28b47f646ec6e244e41b5c6707e2c'], + }), + ('Module::Build::XSUtil', '0.19', { + 'source_tmpl': 'Module-Build-XSUtil-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HI/HIDEAKIO'], + 'checksums': ['9063b3c346edeb422807ffe49ffb23038c4f900d4a77b845ce4b53d97bf29400'], + }), + ('Tie::Function', '0.02', { + 'source_tmpl': 'Tie-Function-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DA/DAVIDNICO/handy_tied_functions'], + 'checksums': ['0b1617af218dfab911ba0fbd72210529a246efe140332da77fe3e03d11000117'], + }), + ('Template::Plugin::Number::Format', '1.06', { + 'source_tmpl': 'Template-Plugin-Number-Format-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DA/DARREN'], + 'checksums': ['0865836a1bcbc34d4a0ee34b5ccc14d7b511f1fd300bf390f002dac349539843'], + }), + ('HTML::Parser', '3.78', { + 'source_tmpl': 'HTML-Parser-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'], + 'checksums': ['22564002f206af94c1dd8535f02b0d9735125d9ebe89dd0ff9cd6c000e29c29d'], + }), + ('Date::Handler', '1.2', { + 'source_tmpl': 'Date-Handler-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BB/BBEAUSEJ'], + 'checksums': ['c36fd2b68d48c2e17417bf2873c78820f3ae02460fdf5976b8eeab887d59e16c'], + }), + ('Params::Util', '1.102', { + 'source_tmpl': 'Params-Util-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RE/REHSACK'], + 'checksums': ['499bb1b482db24fda277a51525596ad092c2bd51dd508fa8fec2e9f849097402'], + }), + ('IO::HTML', '1.004', { + 'source_tmpl': 'IO-HTML-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CJ/CJM'], + 'checksums': ['c87b2df59463bbf2c39596773dfb5c03bde0f7e1051af339f963f58c1cbd8bf5'], + }), + ('Data::Grove', '0.08', { + 'source_tmpl': 'libxml-perl-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/K/KM/KMACLEOD'], + 'checksums': ['4571059b7b5d48b7ce52b01389e95d798bf5cf2020523c153ff27b498153c9cb'], + }), + ('Class::ISA', '0.36', { + 'source_tmpl': 'Class-ISA-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SM/SMUELLER'], + 'checksums': ['8816f34e9a38e849a10df756030dccf9fe061a196c11ac3faafd7113c929b964'], + }), + ('URI', '5.10', { + 'source_tmpl': 'URI-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'], + 'checksums': ['16325d5e308c7b7ab623d1bf944e1354c5f2245afcfadb8eed1e2cae9a0bd0b5'], + }), + ('Ima::DBI', '0.35', { + 'source_tmpl': 'Ima-DBI-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PE/PERRIN'], + 'checksums': ['8b481ceedbf0ae4a83effb80581550008bfdd3885ef01145e3733c7097c00a08'], + }), + ('Tie::IxHash', '1.23', { + 'source_tmpl': 'Tie-IxHash-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CH/CHORNY'], + 'checksums': ['fabb0b8c97e67c9b34b6cc18ed66f6c5e01c55b257dcf007555e0b027d4caf56'], + }), + ('GO', '0.04', { + 'source_tmpl': 'go-db-perl-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SJ/SJCARBON'], + 'checksums': ['8eb73d591ad767e7cf26def40cffd84833875f1ad51e456960b9ed73dc23641b'], + }), + ('Class::DBI::SQLite', '0.11', { + 'source_tmpl': 'Class-DBI-SQLite-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA'], + 'checksums': ['c4661b00afb7e53c97ac36e13f34dde43c1a93540a2f4ff97e6182b0c731e4e7'], + }), + ('Pod::POM', '2.01', { + 'source_tmpl': 'Pod-POM-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NE/NEILB'], + 'checksums': ['1b50fba9bbdde3ead192beeba0eaddd0c614e3afb1743fa6fff805f57c56f7f4'], + }), + ('Math::Round', '0.07', { + 'source_tmpl': 'Math-Round-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/G/GR/GROMMEL'], + 'checksums': ['73a7329a86e54a5c29a440382e5803095b58f33129e61a1df0093b4824de9327'], + }), + ('Text::Diff', '1.45', { + 'source_tmpl': 'Text-Diff-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NE/NEILB'], + 'checksums': ['e8baa07b1b3f53e00af3636898bbf73aec9a0ff38f94536ede1dbe96ef086f04'], + }), + ('Log::Message::Simple', '0.10', { + 'source_tmpl': 'Log-Message-Simple-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BINGOS'], + 'checksums': ['aa12d1a4c0ac260b94d448fa01feba242a8a85cb6cbfdc66432e3b5b468add96'], + }), + ('Net::SSLeay', '1.92', { + 'preconfigopts': "export OPENSSL_PREFIX=$EBROOTOPENSSL && ", + 'source_tmpl': 'Net-SSLeay-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CH/CHRISN'], + 'checksums': ['47c2f2b300f2e7162d71d699f633dd6a35b0625a00cbda8c50ac01144a9396a9'], + }), + ('IO::Socket::SSL', '2.074', { + 'source_tmpl': 'IO-Socket-SSL-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SU/SULLR'], + 'checksums': ['36486b6be49da4d029819cf7069a7b41ed48af0c87e23be0f8e6aba23d08a832'], + }), + ('Fennec::Lite', '0.004', { + 'source_tmpl': 'Fennec-Lite-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/EX/EXODIST'], + 'checksums': ['dce28e3932762c2ff92aa52d90405c06e898e81cb7b164ccae8966ae77f1dcab'], + }), + ('Meta::Builder', '0.004', { + 'source_tmpl': 'Meta-Builder-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/EX/EXODIST'], + 'checksums': ['acb499aa7206eb9db21eb85357a74521bfe3bdae4a6416d50a7c75b939cf56fe'], + }), + ('Exporter::Declare', '0.114', { + 'source_tmpl': 'Exporter-Declare-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/EX/EXODIST'], + 'checksums': ['4bd70d6ca76f6f6ba7e4c618d4ac93b8593a58f1233ccbe18b10f5f204f1d4e4'], + }), + ('Getopt::Long', '2.52', { + 'source_tmpl': 'Getopt-Long-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JV/JV'], + 'checksums': ['9dc7a7c373353d5c05efae548e7b123aa8a31d1f506eb8dbbec8f0dca77705fa'], + }), + ('Log::Message', '0.08', { + 'source_tmpl': 'Log-Message-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BINGOS'], + 'checksums': ['bd697dd62aaf26d118e9f0a0813429deb1c544e4501559879b61fcbdfe99fe46'], + }), + ('Mouse', 'v2.5.10', { + 'source_tmpl': 'Mouse-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SK/SKAJI'], + 'checksums': ['ce8dc23946153a467ff09765167ee2590f5c502120f48a2d9441733f39aa32ee'], + }), + ('Test::Version', '2.09', { + 'source_tmpl': 'Test-Version-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PL/PLICEASE'], + 'checksums': ['9ce1dd2897a5f30e1b7f8966ec66f57d8d8f280f605f28c7ca221fa79aca38e0'], + }), + ('DBIx::Admin::TableInfo', '3.04', { + 'source_tmpl': 'DBIx-Admin-TableInfo-%(version)s.tgz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE'], + 'checksums': ['b9625992683b97378bea0947773f50e3c9f81974048b84f4c3422cae7e6082f4'], + }), + ('Net::HTTP', '6.22', { + 'source_tmpl': 'Net-HTTP-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'], + 'checksums': ['62faf9a5b84235443fe18f780e69cecf057dea3de271d7d8a0ba72724458a1a2'], + }), + ('Test::Deep', '1.130', { + 'source_tmpl': 'Test-Deep-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['4064f494f5f62587d0ae501ca439105821ee5846c687dc6503233f55300a7c56'], + }), + ('Test::Warn', '0.36', { + 'source_tmpl': 'Test-Warn-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BIGJ'], + 'checksums': ['ecbca346d379cef8d3c0e4ac0c8eb3b2613d737ffaaeae52271c38d7bf3c6cda'], + }), + ('MRO::Compat', '0.15', { + 'source_tmpl': 'MRO-Compat-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HA/HAARG'], + 'checksums': ['0d4535f88e43babd84ab604866215fc4d04398bd4db7b21852d4a31b1c15ef61'], + }), + ('Moo', '2.005004', { + 'source_tmpl': 'Moo-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HA/HAARG'], + 'checksums': ['e3030b80bd554a66f6b3c27fd53b1b5909d12af05c4c11ece9a58f8d1e478928'], + }), + ('Clone::Choose', '0.010', { + 'source_tmpl': 'Clone-Choose-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HE/HERMES'], + 'checksums': ['5623481f58cee8edb96cd202aad0df5622d427e5f748b253851dfd62e5123632'], + }), + ('Hash::Merge', '0.302', { + 'source_tmpl': 'Hash-Merge-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HE/HERMES'], + 'checksums': ['ae0522f76539608b61dde14670e79677e0f391036832f70a21f31adde2538644'], + }), + ('SQL::Abstract', '2.000001', { + 'source_tmpl': 'SQL-Abstract-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MS/MSTROUT'], + 'checksums': ['35a642662c349420d44be6e0ef7d8765ea743eb12ad14399aa3a232bb94e6e9a'], + }), + ('HTML::Form', '6.07', { + 'source_tmpl': 'HTML-Form-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'], + 'checksums': ['7daa8c7eaff4005501c3431c8bf478d58bbee7b836f863581aa14afe1b4b6227'], + }), + ('Number::Compare', '0.03', { + 'source_tmpl': 'Number-Compare-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RC/RCLAMP'], + 'checksums': ['83293737e803b43112830443fb5208ec5208a2e6ea512ed54ef8e4dd2b880827'], + }), + ('IPC::Run', '20200505.0', { + 'source_tmpl': 'IPC-Run-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TO/TODDR'], + 'checksums': ['816ebf217fa0df99c583d73c0acc6ced78ac773787c664c75cbf140bb7e4c901'], + }), + ('HTML::Entities::Interpolate', '1.10', { + 'source_tmpl': 'HTML-Entities-Interpolate-%(version)s.tgz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE'], + 'checksums': ['f15a9df92c282419f7010964aca1ada844ddfae7afc735cd2ba1bb20883e955c'], + }), + ('File::Remove', '1.60', { + 'source_tmpl': 'File-Remove-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF'], + 'checksums': ['e86e2a40ffedc6d5697d071503fd6ba14a5f9b8220af3af022110d8e724f8ca6'], + }), + ('YAML::Tiny', '1.73', { + 'source_tmpl': 'YAML-Tiny-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['bc315fa12e8f1e3ee5e2f430d90b708a5dc7e47c867dba8dce3a6b8fbe257744'], + }), + ('Module::Install', '1.19', { + 'source_tmpl': 'Module-Install-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['1a53a78ddf3ab9e3c03fc5e354b436319a944cba4281baf0b904fa932a13011b'], + }), + ('Config::Tiny', '2.28', { + 'source_tmpl': 'Config-Tiny-%(version)s.tgz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE'], + 'checksums': ['12df843a0d29d48f61bcc14c4f18f0858fd27a8dd829a00319529d654fe01500'], + }), + ('Test::ClassAPI', '1.07', { + 'source_tmpl': 'Test-ClassAPI-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['30e9dbfc5e0cc2ee14eae8f3465a908a710daecbd0a3ebdb2888fc4504fa18aa'], + }), + ('Test::Most', '0.37', { + 'source_tmpl': 'Test-Most-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/O/OV/OVID'], + 'checksums': ['533370141eb9f18cf4ac380f6ded2ab57802a6e184008a80fd2304bfcc474fc7'], + }), + ('Class::Accessor', '0.51', { + 'source_tmpl': 'Class-Accessor-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/K/KA/KASEI'], + 'checksums': ['bf12a3e5de5a2c6e8a447b364f4f5a050bf74624c56e315022ae7992ff2f411c'], + }), + ('Test::Differences', '0.69', { + 'source_tmpl': 'Test-Differences-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL'], + 'checksums': ['18f644fdd4a1fef93ef3f7f67df8e95b593d811899f34bcbbaba4d717222f58f'], + }), + ('HTTP::Tiny', '0.080', { + 'source_tmpl': 'HTTP-Tiny-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN'], + 'checksums': ['243c6d566aa8f160fa1c6b0b92e5752356136b341ffffdd3ec07b23b745fde15'], + }), + ('Package::DeprecationManager', '0.17', { + 'source_tmpl': 'Package-DeprecationManager-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['1d743ada482b5c9871d894966e87d4c20edc96931bb949fb2638b000ddd6684b'], + }), + ('Digest::SHA1', '2.13', { + 'source_tmpl': 'Digest-SHA1-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/G/GA/GAAS'], + 'checksums': ['68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc'], + }), + ('Date::Language', '2.33', { + 'source_tmpl': 'TimeDate-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC'], + 'checksums': ['c0b69c4b039de6f501b0d9f13ec58c86b040c1f7e9b27ef249651c143d605eb2'], + }), + ('version', '0.9929', { + 'source_tmpl': 'version-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LE/LEONT'], + 'checksums': ['5056ed481ada4e0fa497096d4091b18658f214d862e1ed164edf10bc6b39c8b0'], + }), + ('Sub::Uplevel', '0.2800', { + 'source_tmpl': 'Sub-Uplevel-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN'], + 'checksums': ['b4f3f63b80f680a421332d8851ddbe5a8e72fcaa74d5d1d98f3c8cc4a3ece293'], + }), + ('XML::Bare', '0.53', { + 'source_tmpl': 'XML-Bare-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CO/CODECHILD'], + 'checksums': ['865e198e98d904be1683ef5a53a4948f02dabdacde59fc554a082ffbcc5baefd'], + }), + ('Dist::CheckConflicts', '0.11', { + 'source_tmpl': 'Dist-CheckConflicts-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DO/DOY'], + 'checksums': ['ea844b9686c94d666d9d444321d764490b2cde2f985c4165b4c2c77665caedc4'], + }), + ('Sub::Name', '0.26', { + 'source_tmpl': 'Sub-Name-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['2d2f2d697d516c89547e7c4307f1e79441641cae2c7395e7319b306d390df105'], + }), + ('Time::Piece', '1.3401', { + 'source_tmpl': 'Time-Piece-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ES/ESAYM'], + 'checksums': ['4b55b7bb0eab45cf239a54dfead277dfa06121a43e63b3fce0853aecfdb04c27'], + }), + ('Digest::HMAC', '1.04', { + 'source_tmpl': 'Digest-HMAC-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/A/AR/ARODLAND'], + 'checksums': ['d6bc8156aa275c44d794b7c18f44cdac4a58140245c959e6b19b2c3838b08ed4'], + }), + ('HTTP::Negotiate', '6.01', { + 'source_tmpl': 'HTTP-Negotiate-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/G/GA/GAAS'], + 'checksums': ['1c729c1ea63100e878405cda7d66f9adfd3ed4f1d6cacaca0ee9152df728e016'], + }), + ('MIME::Lite', '3.033', { + 'source_tmpl': 'MIME-Lite-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['78a279f1d2e242551c347ef97a13fc675766602cb84c2a80c569400f4f368bab'], + }), + ('Crypt::Rijndael', '1.16', { + 'source_tmpl': 'Crypt-Rijndael-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LE/LEONT'], + 'checksums': ['6540085e3804b82a6f0752c1122cf78cadd221990136dd6fd4c097d056c84d40'], + }), + ('B::Lint', '1.20', { + 'source_tmpl': 'B-Lint-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['dc49408964fd8b7963859c92e013f0b9f92f74be5a7c2a78e3996279827c10b3'], + }), + ('Canary::Stability', '2013', { + 'source_tmpl': 'Canary-Stability-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN'], + 'checksums': ['a5c91c62cf95fcb868f60eab5c832908f6905221013fea2bce3ff57046d7b6ea'], + }), + ('AnyEvent', '7.17', { + 'source_tmpl': 'AnyEvent-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN'], + 'checksums': ['50beea689c098fe4aaeb83806c40b9fe7f946d5769acf99f849f099091a4b985'], + }), + ('Object::Accessor', '0.48', { + 'source_tmpl': 'Object-Accessor-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BINGOS'], + 'checksums': ['76cb824a27b6b4e560409fcf6fd5b3bfbbd38b72f1f3d37ed0b54bd9c0baeade'], + }), + ('Data::UUID', '1.226', { + 'source_tmpl': 'Data-UUID-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['093d57ffa0d411a94bafafae495697db26f5c9d0277198fe3f7cf2be22996453'], + }), + ('Test::Pod', '1.52', { + 'source_tmpl': 'Test-Pod-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['60a8dbcc60168bf1daa5cc2350236df9343e9878f4ab9830970a5dde6fe8e5fc'], + }), + ('AppConfig', '1.71', { + 'source_tmpl': 'AppConfig-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NE/NEILB'], + 'checksums': ['1177027025ecb09ee64d9f9f255615c04db5e14f7536c344af632032eb887b0f'], + }), + ('Net::SMTP::SSL', '1.04', { + 'source_tmpl': 'Net-SMTP-SSL-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['7b29c45add19d3d5084b751f7ba89a8e40479a446ce21cfd9cc741e558332a00'], + }), + ('XML::Tiny', '2.07', { + 'source_tmpl': 'XML-Tiny-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL'], + 'checksums': ['ce39fcb53e0fe9f1cbcd86ddf152e1db48566266b70ec0769ef364eeabdd8941'], + }), + ('HTML::Tagset', '3.20', { + 'source_tmpl': 'HTML-Tagset-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PE/PETDANCE'], + 'checksums': ['adb17dac9e36cd011f5243881c9739417fd102fce760f8de4e9be4c7131108e2'], + }), + ('HTML::Tree', '5.07', { + 'source_tmpl': 'HTML-Tree-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/K/KE/KENTNL'], + 'checksums': ['f0374db84731c204b86c1d5b90975fef0d30a86bd9def919343e554e31a9dbbf'], + }), + ('Devel::GlobalDestruction', '0.14', { + 'source_tmpl': 'Devel-GlobalDestruction-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HA/HAARG'], + 'checksums': ['34b8a5f29991311468fe6913cadaba75fd5d2b0b3ee3bb41fe5b53efab9154ab'], + }), + ('WWW::RobotRules', '6.02', { + 'source_tmpl': 'WWW-RobotRules-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/G/GA/GAAS'], + 'checksums': ['46b502e7a288d559429891eeb5d979461dd3ecc6a5c491ead85d165b6e03a51e'], + }), + ('Expect', '1.35', { + 'source_tmpl': 'Expect-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JA/JACOBY'], + 'checksums': ['09d92761421decd495853103379165a99efbf452c720f30277602cf23679fd06'], + }), + ('Term::UI', '0.50', { + 'source_tmpl': 'Term-UI-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BINGOS'], + 'checksums': ['60bfdd6d4c158b88d370133fc65b20485a36a45b12d906000b81c78ca524163d'], + }), + ('Net::SNMP', 'v6.0.1', { + 'source_tmpl': 'Net-SNMP-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DT/DTOWN'], + 'checksums': ['14c37bc1cbb3f3cdc7d6c13e0f27a859f14cdcfd5ea54a0467a88bc259b0b741'], + }), + ('XML::Filter::BufferText', '1.01', { + 'source_tmpl': 'XML-Filter-BufferText-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RB/RBERJON'], + 'checksums': ['8fd2126d3beec554df852919f4739e689202cbba6a17506e9b66ea165841a75c'], + }), + ('XML::SAX::Writer', '0.57', { + 'source_tmpl': 'XML-SAX-Writer-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN'], + 'checksums': ['3d61d07ef43b0126f5b4de4f415a256fa859fa88dc4fdabaad70b7be7c682cf0'], + }), + ('Statistics::Descriptive', '3.0800', { + 'source_tmpl': 'Statistics-Descriptive-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF'], + 'checksums': ['b04edeea26bfed435aa6029956798c281f7f52d4545f3f45b2ad44954e96f939'], + }), + ('Class::Load', '0.25', { + 'source_tmpl': 'Class-Load-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['2a48fa779b5297e56156380e8b32637c6c58decb4f4a7f3c7350523e11275f8f'], + }), + ('LWP::Simple', '6.55', { + 'patches': ['libwww-perl-6.67_disable-no-leak-test.patch'], + 'source_tmpl': 'libwww-perl-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'], + 'checksums': [ + {'libwww-perl-6.55.tar.gz': 'c1d0d3a44a039b136ebac7336f576e3f5c232347e8221abd69ceb4108e85c920'}, + {'libwww-perl-6.67_disable-no-leak-test.patch': + '920af2283c799f32191dff50cce81c0f6f4b7dd91dd9e06b5fbc681c5795aeaf'}, + ], + }), + ('Time::Piece::MySQL', '0.06', { + 'source_tmpl': 'Time-Piece-MySQL-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/K/KA/KASEI'], + 'checksums': ['319601feec17fae344988a5ee91cfc6a0bcfe742af77dba254724c3268b2a60f'], + }), + ('Package::Stash::XS', '0.29', { + 'source_tmpl': 'Package-Stash-XS-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['d3676ba94641e03d6a30e951f09266c4c3ca3f5b58aa7b314a67f28e419878aa'], + }), + ('Set::Array', '0.30', { + 'source_tmpl': 'Set-Array-%(version)s.tgz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE'], + 'checksums': ['d9f024c8e3637feccdebcf6479b6754b6c92f1209f567feaf0c23818af31ee3c'], + }), + ('boolean', '0.46', { + 'source_tmpl': 'boolean-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/I/IN/INGY'], + 'checksums': ['95c088085c3e83bf680fe6ce16d8264ec26310490f7d1680e416ea7a118f156a'], + }), + ('Number::Format', '1.75', { + 'source_tmpl': 'Number-Format-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/W/WR/WRW'], + 'checksums': ['82d659cb16461764fd44d11a9ce9e6a4f5e8767dc1069eb03467c6e55de257f3'], + }), + ('Data::Stag', '0.14', { + 'source_tmpl': 'Data-Stag-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CM/CMUNGALL'], + 'checksums': ['4ab122508d2fb86d171a15f4006e5cf896d5facfa65219c0b243a89906258e59'], + }), + ('Test::NoWarnings', '1.06', { + 'source_tmpl': 'Test-NoWarnings-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HA/HAARG'], + 'checksums': ['c2dc51143b7eb63231210e27df20d2c8393772e0a333547ec8b7a205ed62f737'], + }), + ('Crypt::DES', '2.07', { + 'source_tmpl': 'Crypt-DES-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DP/DPARIS'], + 'checksums': ['2db1ebb5837b4cb20051c0ee5b733b4453e3137df0a92306034c867621edd7e7'], + }), + ('Exporter', '5.74', { + 'source_tmpl': 'Exporter-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TO/TODDR'], + 'checksums': ['eadb889ef673ad940da6aa4f6f7d75fc1e625ae786ae3533fd313eaf629945b8'], + }), + ('Class::Inspector', '1.36', { + 'source_tmpl': 'Class-Inspector-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PL/PLICEASE'], + 'checksums': ['cc295d23a472687c24489d58226ead23b9fdc2588e522f0b5f0747741700694e'], + }), + ('Parse::RecDescent', '1.967015', { + 'source_tmpl': 'Parse-RecDescent-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JT/JTBRAUN'], + 'checksums': ['1943336a4cb54f1788a733f0827c0c55db4310d5eae15e542639c9dd85656e37'], + }), + ('Carp', '1.50', { + 'source_tmpl': 'Carp-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX'], + 'checksums': ['f5273b4e1a6d51b22996c48cb3a3cbc72fd456c4038f5c20b127e2d4bcbcebd9'], + }), + ('XML::Parser', '2.46', { + 'source_tmpl': 'XML-Parser-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TO/TODDR'], + 'checksums': ['d331332491c51cccfb4cb94ffc44f9cd73378e618498d4a37df9e043661c515d'], + }), + ('XML::XPath', '1.44', { + 'source_tmpl': 'XML-XPath-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MA/MANWAR'], + 'checksums': ['1cc9110705165dc09dd09974dd7c0b6709c9351d6b6b1cef5a711055f891dd0f'], + }), + ('JSON', '4.05', { + 'source_tmpl': 'JSON-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI'], + 'checksums': ['53839373210bebea0b24fe459d0a8232446b62015c8dc42dc36051da67336bf0'], + }), + ('Sub::Exporter', '0.988', { + 'source_tmpl': 'Sub-Exporter-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['23324887d6c590f145702f077d8ca42f1b2f26a3b76f08d66c2c1e21e606040c'], + }), + ('Class::Load::XS', '0.10', { + 'source_tmpl': 'Class-Load-XS-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['5bc22cf536ebfd2564c5bdaf42f0d8a4cee3d1930fc8b44b7d4a42038622add1'], + }), + ('Set::IntSpan::Fast', '1.15', { + 'source_tmpl': 'Set-IntSpan-Fast-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/A/AN/ANDYA'], + 'checksums': ['cfb1768c24f55208e87405b17f537f0f303fa141891d0b22d509a941aa57e24e'], + }), + ('Sub::Exporter::Progressive', '0.001013', { + 'source_tmpl': 'Sub-Exporter-Progressive-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/F/FR/FREW'], + 'checksums': ['d535b7954d64da1ac1305b1fadf98202769e3599376854b2ced90c382beac056'], + }), + ('Data::Dumper::Concise', '2.023', { + 'source_tmpl': 'Data-Dumper-Concise-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['a6c22f113caf31137590def1b7028a7e718eface3228272d0672c25e035d5853'], + }), + ('File::Slurp::Tiny', '0.004', { + 'source_tmpl': 'File-Slurp-Tiny-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LE/LEONT'], + 'checksums': ['452995beeabf0e923e65fdc627a725dbb12c9e10c00d8018c16d10ba62757f1e'], + }), + ('Algorithm::Diff', '1.201', { + 'source_tmpl': 'Algorithm-Diff-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['0022da5982645d9ef0207f3eb9ef63e70e9713ed2340ed7b3850779b0d842a7d'], + }), + ('Text::Iconv', '1.7', { + 'source_tmpl': 'Text-Iconv-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MP/MPIOTR'], + 'checksums': ['5b80b7d5e709d34393bcba88971864a17b44a5bf0f9e4bcee383d029e7d2d5c3'], + }), + ('Class::Data::Inheritable', '0.09', { + 'source_tmpl': 'Class-Data-Inheritable-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RS/RSHERER'], + 'checksums': ['44088d6e90712e187b8a5b050ca5b1c70efe2baa32ae123e9bd8f59f29f06e4d'], + }), + ('Text::Balanced', '2.04', { + 'source_tmpl': 'Text-Balanced-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SH/SHAY'], + 'checksums': ['f49c408b85c80ba762785428a87599bed22dc0fd6bb765c9fa6ddfaa32e4e7e2'], + }), + ('strictures', '2.000006', { + 'source_tmpl': 'strictures-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HA/HAARG'], + 'checksums': ['09d57974a6d1b2380c802870fed471108f51170da81458e2751859f2714f8d57'], + }), + ('Switch', '2.17', { + 'source_tmpl': 'Switch-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CH/CHORNY'], + 'checksums': ['31354975140fe6235ac130a109496491ad33dd42f9c62189e23f49f75f936d75'], + }), + ('File::Which', '1.27', { + 'source_tmpl': 'File-Which-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PL/PLICEASE'], + 'checksums': ['3201f1a60e3f16484082e6045c896842261fc345de9fb2e620fd2a2c7af3a93a'], + }), + ('Email::Date::Format', '1.005', { + 'source_tmpl': 'Email-Date-Format-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['579c617e303b9d874411c7b61b46b59d36f815718625074ae6832e7bb9db5104'], + }), + ('Error', '0.17029', { + 'source_tmpl': 'Error-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF'], + 'checksums': ['1a23f7913032aed6d4b68321373a3899ca66590f4727391a091ec19c95bf7adc'], + }), + ('Mock::Quick', '1.111', { + 'source_tmpl': 'Mock-Quick-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/EX/EXODIST'], + 'checksums': ['ff786008bf8c022064ececd3b7ed89c76b35e8d1eac6cf472a9f51771c1c9f2c'], + }), + ('Text::CSV', '2.01', { + 'source_tmpl': 'Text-CSV-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI'], + 'checksums': ['2a90a5eea3f22c40b87932a929621680609ab5f6b874a77c4134c8a04eb8e74b'], + }), + ('Test::Output', '1.033', { + 'source_tmpl': 'Test-Output-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BD/BDFOY'], + 'checksums': ['f6a8482740b075fad22aaf4d987d38ef927c6d2b452d4ae0d0bd8f779830556e'], + }), + ('Class::DBI', 'v3.0.17', { + 'source_tmpl': 'Class-DBI-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TM/TMTM'], + 'checksums': ['541354fe361c56850cb11261f6ca089a14573fa764792447444ff736ae626206'], + }), + ('List::SomeUtils', '0.58', { + 'source_tmpl': 'List-SomeUtils-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['96eafb359339d22bf2a2de421298847a3c40f6a28b6d44005d0965da86a5469d'], + }), + ('List::UtilsBy', '0.11', { + 'source_tmpl': 'List-UtilsBy-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PE/PEVANS'], + 'checksums': ['faddf43b4bc21db8e4c0e89a26e5f23fe626cde3491ec651b6aa338627f5775a'], + }), + ('List::AllUtils', '0.19', { + 'source_tmpl': 'List-AllUtils-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['30a8146ab21a7787b8c56d5829cf9a7f2b15276d3b3fca07336ac38d3002ffbc'], + }), + ('UNIVERSAL::moniker', '0.08', { + 'source_tmpl': 'UNIVERSAL-moniker-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/K/KA/KASEI'], + 'checksums': ['94ce27a546cd57cb52e080a8f2533a7cc2350028388582485bd1039a37871f9c'], + }), + ('Exception::Class', '1.45', { + 'source_tmpl': 'Exception-Class-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['5482a77ef027ca1f9f39e1f48c558356e954936fc8fbbdee6c811c512701b249'], + }), + ('File::CheckTree', '4.42', { + 'source_tmpl': 'File-CheckTree-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['66fb417f8ff8a5e5b7ea25606156e70e204861c59fa8c3831925b4dd3f155f8a'], + }), + ('Math::VecStat', '0.08', { + 'source_tmpl': 'Math-VecStat-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/A/AS/ASPINELLI'], + 'checksums': ['409a8e0e4b1025c8e80f628f65a9778aa77ab285161406ca4a6c097b13656d0d'], + }), + ('Pod::Parser', '1.65', { + 'configopts': 'INSTALLDIRS=site', # Force it to correctly use site_perl + 'source_tmpl': 'Pod-Parser-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MA/MAREKR/'], + 'checksums': ['3ba7bdec659416a51fe2a7e59f0883e9c6a3b21bc9d001042c1d6a32d401b28a'], + }), + ('Pod::LaTeX', '0.61', { + 'source_tmpl': 'Pod-LaTeX-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TJ/TJENNESS'], + 'checksums': ['15a840ea1c8a76cd3c865fbbf2fec33b03615c0daa50f9c800c54e0cf0659d46'], + }), + ('Eval::Closure', '0.14', { + 'source_tmpl': 'Eval-Closure-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DO/DOY'], + 'checksums': ['ea0944f2f5ec98d895bef6d503e6e4a376fea6383a6bc64c7670d46ff2218cad'], + }), + ('HTTP::Request', '6.36', { + 'source_tmpl': 'HTTP-Message-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'], + 'checksums': ['576a53b486af87db56261a36099776370c06f0087d179fc8c7bb803b48cddd76'], + }), + ('XML::Twig', '3.52', { + 'source_tmpl': 'XML-Twig-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MI/MIROD'], + 'checksums': ['fef75826c24f2b877d0a0d2645212fc4fb9756ed4d2711614ac15c497e8680ad'], + }), + ('IO::String', '1.08', { + 'source_tmpl': 'IO-String-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/G/GA/GAAS'], + 'checksums': ['2a3f4ad8442d9070780e58ef43722d19d1ee21a803bf7c8206877a10482de5a0'], + }), + ('XML::Simple', '2.25', { + 'source_tmpl': 'XML-Simple-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/G/GR/GRANTM'], + 'checksums': ['531fddaebea2416743eb5c4fdfab028f502123d9a220405a4100e68fc480dbf8'], + }), + ('Sub::Install', '0.928', { + 'source_tmpl': 'Sub-Install-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['61e567a7679588887b7b86d427bc476ea6d77fffe7e0d17d640f89007d98ef0f'], + }), + ('HTTP::Cookies', '6.10', { + 'source_tmpl': 'HTTP-Cookies-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'], + 'checksums': ['e36f36633c5ce6b5e4b876ffcf74787cc5efe0736dd7f487bdd73c14f0bd7007'], + }), + ('Pod::Plainer', '1.04', { + 'source_tmpl': 'Pod-Plainer-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RM/RMBARKER'], + 'checksums': ['1bbfbf7d1d4871e5a83bab2137e22d089078206815190eb1d5c1260a3499456f'], + }), + ('LWP::MediaTypes', '6.04', { + 'source_tmpl': 'LWP-MediaTypes-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'], + 'checksums': ['8f1bca12dab16a1c2a7c03a49c5e58cce41a6fec9519f0aadfba8dad997919d9'], + }), + ('Data::Section::Simple', '0.07', { + 'source_tmpl': 'Data-Section-Simple-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA'], + 'checksums': ['0b3035ffdb909aa1f7ded6b608fa9d894421c82c097d51e7171170d67579a9cb'], + }), + ('Class::Trigger', '0.15', { + 'source_tmpl': 'Class-Trigger-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA'], + 'checksums': ['b7a878d44dea67d64df2ca18020d9d868a95596debd16f1a264874209332b07f'], + }), + ('Test::Needs', '0.002009', { + 'source_tmpl': 'Test-Needs-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HA/HAARG/'], + 'checksums': ['571c21193ad16195df58b06b268798796a391b398c443271721d2cc0fb7c4ac3'], + }), + ('HTTP::Daemon', '6.14', { + 'source_tmpl': 'HTTP-Daemon-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'], + 'checksums': ['f0767e7f3cbb80b21313c761f07ad8ed253bce9fa2d0ba806b3fb72d309b2e1d'], + }), + ('File::HomeDir', '1.006', { + 'source_tmpl': 'File-HomeDir-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RE/REHSACK'], + 'checksums': ['593737c62df0f6dab5d4122e0b4476417945bb6262c33eedc009665ef1548852'], + }), + ('HTTP::Date', '6.05', { + 'source_tmpl': 'HTTP-Date-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'], + 'checksums': ['365d6294dfbd37ebc51def8b65b81eb79b3934ecbc95a2ec2d4d827efe6a922b'], + }), + ('Authen::SASL', '2.16', { + 'source_tmpl': 'Authen-SASL-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/G/GB/GBARR'], + 'checksums': ['6614fa7518f094f853741b63c73f3627168c5d3aca89b1d02b1016dc32854e09'], + }), + ('Clone', '0.45', { + 'source_tmpl': 'Clone-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC'], + 'checksums': ['cbb6ee348afa95432e4878893b46752549e70dc68fe6d9e430d1d2e99079a9e6'], + }), + ('Data::Types', '0.17', { + 'source_tmpl': 'Data-Types-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MA/MANWAR'], + 'checksums': ['860751feb79b7dfc1af71c4b7fe920220ec6d31c4ab9402b8f178f7f4b8293c1'], + }), + ('Import::Into', '1.002005', { + 'source_tmpl': 'Import-Into-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HA/HAARG'], + 'checksums': ['bd9e77a3fb662b40b43b18d3280cd352edf9fad8d94283e518181cc1ce9f0567'], + }), + ('DateTime::Tiny', '1.07', { + 'source_tmpl': 'DateTime-Tiny-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN'], + 'checksums': ['83568a22838cb518fbeb9e060460ec7f59d5a0b0a1cc06562954c3674d7cf7e4'], + }), + ('Text::Format', '0.62', { + 'source_tmpl': 'Text-Format-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF'], + 'checksums': ['7d429057319e123c590ba0765334f0ade4a5eb9ea8db7c0ec4d3902de5f90404'], + }), + ('Devel::CheckCompiler', '0.07', { + 'source_tmpl': 'Devel-CheckCompiler-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SY/SYOHEX'], + 'checksums': ['768b7697b4b8d4d372c7507b65e9dd26aa4223f7100183bbb4d3af46d43869b5'], + }), + ('Log::Handler', '0.90', { + 'source_tmpl': 'Log-Handler-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BL/BLOONIX'], + 'checksums': ['3a5c80e7128454770f83acab8cbd3e70e5ec3d59a61dc32792a178f0b31bf74d'], + }), + ('DBIx::ContextualFetch', '1.03', { + 'source_tmpl': 'DBIx-ContextualFetch-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TM/TMTM'], + 'checksums': ['85e2f805bfc81cd738c294316b27a515397036f397a0ff1c6c8d754c38530306'], + }), + ('Devel::StackTrace', '2.04', { + 'source_tmpl': 'Devel-StackTrace-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['cd3c03ed547d3d42c61fa5814c98296139392e7971c092e09a431f2c9f5d6855'], + }), + ('Term::ReadKey', '2.38', { + 'source_tmpl': 'TermReadKey-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JS/JSTOWE'], + 'checksums': ['5a645878dc570ac33661581fbb090ff24ebce17d43ea53fd22e105a856a47290'], + }), + ('Set::IntSpan', '1.19', { + 'source_tmpl': 'Set-IntSpan-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SW/SWMCD'], + 'checksums': ['11b7549b13ec5d87cc695dd4c777cd02983dd5fe9866012877fb530f48b3dfd0'], + }), + ('Module::Runtime::Conflicts', '0.003', { + 'source_tmpl': 'Module-Runtime-Conflicts-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER/'], + 'checksums': ['707cdc75038c70fe91779b888ac050f128565d3967ba96680e1b1c7cc9733875'], + }), + ('Test::CleanNamespaces', '0.24', { + 'source_tmpl': 'Test-CleanNamespaces-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER/'], + 'checksums': ['338d5569e8e89a654935f843ec0bc84aaa486fe8dd1898fb9cab3eccecd5327a'], + }), + ('Moose', '2.2201', { + 'source_tmpl': 'Moose-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['cd5ff9b4751f73ecb6874ba9761343d35737d4ddf5ff6b19c00d01af5ffc3eb2'], + }), + ('Algorithm::Dependency', '1.112', { + 'source_tmpl': 'Algorithm-Dependency-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['7e0fb7c39f56a2dccf9d0295c82f3031ee116e807f6a12a438fa4dd41b0ec187'], + }), + ('Font::TTF', '1.06', { + 'source_tmpl': 'Font-TTF-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BH/BHALLISSY'], + 'checksums': ['4b697d444259759ea02d2c442c9bffe5ffe14c9214084a01f743693a944cc293'], + }), + ('IPC::Run3', '0.048', { + 'source_tmpl': 'IPC-Run3-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['3d81c3cc1b5cff69cca9361e2c6e38df0352251ae7b41e2ff3febc850e463565'], + }), + ('File::Find::Rule', '0.34', { + 'source_tmpl': 'File-Find-Rule-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RC/RCLAMP'], + 'checksums': ['7e6f16cc33eb1f29ff25bee51d513f4b8a84947bbfa18edb2d3cc40a2d64cafe'], + }), + ('SQL::Statement', '1.414', { + 'source_tmpl': 'SQL-Statement-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RE/REHSACK'], + 'checksums': ['dde8bdcfa6a136eedda06519ba0f3efaec085c39db0df9c472dc0ec6cd781a49'], + }), + ('File::Slurp', '9999.32', { + 'source_tmpl': 'File-Slurp-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB'], + 'checksums': ['4c3c21992a9d42be3a79dd74a3c83d27d38057269d65509a2f555ea0fb2bc5b0'], + }), + ('Package::Stash', '0.40', { + 'source_tmpl': 'Package-Stash-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['5a9722c6d9cb29ee133e5f7b08a5362762a0b5633ff5170642a5b0686e95e066'], + }), + ('Data::OptList', '0.112', { + 'source_tmpl': 'Data-OptList-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['62c60ccaae88d5339ae36bcc8940b03388cf84adbf27828b1f8b300307103bab'], + }), + ('Package::Constants', '0.06', { + 'source_tmpl': 'Package-Constants-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BINGOS'], + 'checksums': ['0b58be78706ccc4e4bd9bbad41767470427fd7b2cfad749489de101f85bc5df5'], + }), + ('CPANPLUS', '0.9914', { + 'source_tmpl': 'CPANPLUS-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BINGOS'], + 'checksums': ['76c3e5da623a4af60fe64adec448fb1f8e0cae9f6798a36b68865974044e9b67'], + }), + ('IO::Tty', '1.16', { + 'source_tmpl': 'IO-Tty-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TO/TODDR'], + 'checksums': ['8f1a09c070738adc695df903f2e7f74308dd8d991b914c0bc390a0e6021294dd'], + }), + ('Text::Soundex', '3.05', { + 'source_tmpl': 'Text-Soundex-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['f6dd55b4280b25dea978221839864382560074e1d6933395faee2510c2db60ed'], + }), + ('Lingua::EN::PluralToSingular', '0.21', { + 'source_tmpl': 'Lingua-EN-PluralToSingular-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BK/BKB'], + 'checksums': ['f8a8b7de28c25c96190d7f48c90b5ad9b9bf517f3835c77641f0e8fa546c0d1d'], + }), + ('Want', '0.29', { + 'source_tmpl': 'Want-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RO/ROBIN'], + 'checksums': ['b4e4740b8d4cb783591273c636bd68304892e28d89e88abf9273b1de17f552f7'], + }), + ('Mail::Util', '2.21', { + 'source_tmpl': 'MailTools-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MA/MARKOV'], + 'checksums': ['4ad9bd6826b6f03a2727332466b1b7d29890c8d99a32b4b3b0a8d926ee1a44cb'], + }), + ('Test::More::UTF8', '0.05', { + 'source_tmpl': 'Test-More-UTF8-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MO/MONS/'], + 'checksums': ['b9f1c4b36a97cdfefaa53ed1115dd38f4b483037775f6559ee1df14acfd1ce04'], + }), + ('Text::Template', '1.60', { + 'source_tmpl': 'Text-Template-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MS/MSCHOUT'], + 'checksums': ['d9d57fb3f432b4f100e6ceb06c8363bbaee0ad85d53d728f6ba15a330248501c'], + }), + ('PadWalker', '2.5', { + 'source_tmpl': 'PadWalker-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RO/ROBIN/'], + 'checksums': ['07b26abb841146af32072a8d68cb90176ffb176fd9268e6f2f7d106f817a0cd0'], + }), + ('Devel::Cycle', '1.12', { + 'source_tmpl': 'Devel-Cycle-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LD/LDS/'], + 'checksums': ['fd3365c4d898b2b2bddbb78a46d507a18cca8490a290199547dab7f1e7390bc2'], + }), + ('Test::Memory::Cycle', '1.06', { + 'source_tmpl': 'Test-Memory-Cycle-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/'], + 'checksums': ['9d53ddfdc964cd8454cb0da4c695b6a3ae47b45839291c34cb9d8d1cfaab3202'], + }), + ('PDF::API2', '2.043', { + 'source_tmpl': 'PDF-API2-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SS/SSIMMS'], + 'checksums': ['6312f605172973fa4d017639c217b61b1a8d6c533237ce58d5aacecfa273f0b2'], + }), + ('Devel::CheckLib', '1.14', { + 'source_tmpl': 'Devel-CheckLib-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MA/MATTN'], + 'checksums': ['f21c5e299ad3ce0fdc0cb0f41378dca85a70e8d6c9a7599f0e56a957200ec294'], + }), + ('SVG', '2.86', { + 'source_tmpl': 'SVG-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MA/MANWAR'], + 'checksums': ['72c6eb6f86bb2c330280f9f3d342bb2673ad5da22d1f44fba3e04cfb5d30a67b'], + }), + ('Statistics::Basic', '1.6611', { + 'source_tmpl': 'Statistics-Basic-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JE/JETTERO'], + 'checksums': ['6855ce5615fd3e1af4cfc451a9bf44ff29a3140b4e7130034f1f0af2511a94fb'], + }), + ('Log::Log4perl', '1.54', { + 'source_tmpl': 'Log-Log4perl-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETJ'], + 'checksums': ['bbabe42d3b4cdaa3a47666b957be81d55bbd1cbcffcdff2b119586d33602eabe'], + }), + ('Math::CDF', '0.1', { + 'source_tmpl': 'Math-CDF-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CA/CALLAHAN'], + 'checksums': ['7896bf250835ce47dcc813cb8cf9dc576c5455de42e822dcd7d8d3fef2125565'], + }), + ('Array::Utils', '0.5', { + 'source_tmpl': 'Array-Utils-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/Z/ZM/ZMIJ/Array'], + 'checksums': ['89dd1b7fcd9b4379492a3a77496e39fe6cd379b773fd03a6b160dd26ede63770'], + }), + ('File::Grep', '0.02', { + 'source_tmpl': 'File-Grep-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MN/MNEYLON'], + 'checksums': ['462e15274eb6278521407ea302d9eea7252cd44cab2382871f7de833d5f85632'], + }), + ('File::Path', '2.18', { + 'source_tmpl': 'File-Path-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JK/JKEENAN'], + 'checksums': ['980f0a17edb353df46e9cd7b357f9f5929cde0f80c45fd7a06cf7e0e8bd6addd'], + }), + ('File::Slurper', '0.013', { + 'source_tmpl': 'File-Slurper-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LE/LEONT'], + 'checksums': ['e2f6a4029a6a242d50054044f1fb86770b9b5cc4daeb1a967f91ffb42716a8c5'], + }), + ('File::Temp', '0.2311', { + 'source_tmpl': 'File-Temp-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['2290d61bf5c39882fc3311da9ce1c7f42dbdf825ae169e552c59fe4598b36f4a'], + }), + ('Set::Object', '1.42', { + 'source_tmpl': 'Set-Object-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RU/RURBAN/'], + 'checksums': ['d18c5a8a233eabbd0206cf3da5b00fcdd7b37febf12a93dcc3d1c026e6fdec45'], + }), + ('Heap', '0.80', { + 'source_tmpl': 'Heap-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JM/JMM/'], + 'checksums': ['ccda29f3c93176ad0fdfff4dd6f5e4ac90b370cba4b028386b7343bf64139bde'], + }), + ('Graph', '0.9725', { + 'source_tmpl': 'Graph-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETJ'], + 'checksums': ['e75b0ecc9a7f62fd70f896b173d11c3fc00cdffd35c3e99286689d3ca2debefe'], + }), + ('Graph::ReadWrite', '2.10', { + 'source_tmpl': 'Graph-ReadWrite-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NE/NEILB'], + 'checksums': ['516c1ea9facb995dbc38d1735d58974b2399862567e731b729c8d0bc2ee5a14b'], + }), + ('PerlIO::utf8_strict', '0.009', { + 'source_tmpl': 'PerlIO-utf8_strict-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LE/LEONT'], + 'checksums': ['ba82cf144820655d6d4836d12dde65f8895a3d905aeb4aa0b421249f43284c14'], + }), + ('Devel::OverloadInfo', '0.007', { + 'source_tmpl': 'Devel-OverloadInfo-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/I/IL/ILMARI'], + 'checksums': ['21a184163b90f91f06ffc7f5de0b968356546ae9b400a9d75c573c958c246222'], + }), + ('Sub::Identify', '0.14', { + 'source_tmpl': 'Sub-Identify-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RG/RGARCIA'], + 'checksums': ['068d272086514dd1e842b6a40b1bedbafee63900e5b08890ef6700039defad6f'], + }), + ('Digest::MD5::File', '0.08', { + 'source_tmpl': 'Digest-MD5-File-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DM/DMUEY'], + 'checksums': ['adb43a54e32627b4f7e57c9640e6eb06d0bb79d8ea54cd0bd79ed35688fb1218'], + }), + ('String::RewritePrefix', '0.008', { + 'source_tmpl': 'String-RewritePrefix-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['e45a31d6914e8f5fc722ef48d8819400dafc02105e0c61414aabbf01bce208eb'], + }), + ('Getopt::Long::Descriptive', '0.110', { + 'source_tmpl': 'Getopt-Long-Descriptive-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['025402c0494a5c878038f0666f41ca1230ed0d689467df9211382ff3a355be86'], + }), + ('App::Cmd', '0.334', { + 'source_tmpl': 'App-Cmd-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['22e31e0f8f7b8c4303ad62b0ab1f941fcf598ca6e3a146b7e482e5870d6d58d3'], + }), + ('Path::Tiny', '0.122', { + 'source_tmpl': 'Path-Tiny-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN'], + 'checksums': ['4bc6f76d0548ccd8b38cb66291a885bf0de453d0167562c7b82e8861afdcfb7c'], + }), + ('Carp::Clan', '6.08', { + 'source_tmpl': 'Carp-Clan-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['c75f92e34422cc5a65ab05d155842b701452434e9aefb649d6e2289c47ef6708'], + }), + ('Sub::Exporter::ForMethods', '0.100054', { + 'source_tmpl': 'Sub-Exporter-ForMethods-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['eef61c9421688bb3a7beaca71623df11c8a749307ae428abdabc556e2bfafc3e'], + }), + ('MooseX::Types', '0.50', { + 'source_tmpl': 'MooseX-Types-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['9cd87b3492cbf0be9d2df9317b2adf9fc30663770e69906654bea3f41b17cb08'], + }), + ('Variable::Magic', '0.62', { + 'source_tmpl': 'Variable-Magic-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/V/VP/VPIT/'], + 'checksums': ['3f9a18517e33f006a9c2fc4f43f01b54abfe6ff2eae7322424f31069296b615c'], + }), + ('B::Hooks::EndOfScope', '0.26', { + 'source_tmpl': 'B-Hooks-EndOfScope-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['39df2f8c007a754672075f95b90797baebe97ada6d944b197a6352709cb30671'], + }), + ('namespace::clean', '0.27', { + 'source_tmpl': 'namespace-clean-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI'], + 'checksums': ['8a10a83c3e183dc78f9e7b7aa4d09b47c11fb4e7d3a33b9a12912fd22e31af9d'], + }), + ('namespace::autoclean', '0.29', { + 'source_tmpl': 'namespace-autoclean-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['45ebd8e64a54a86f88d8e01ae55212967c8aa8fed57e814085def7608ac65804'], + }), + ('File::pushd', '1.016', { + 'source_tmpl': 'File-pushd-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN'], + 'checksums': ['d73a7f09442983b098260df3df7a832a5f660773a313ca273fa8b56665f97cdc'], + }), + ('MooseX::Types::Perl', '0.101343', { + 'source_tmpl': 'MooseX-Types-Perl-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['f084beaf3c33209c68d05d4dbc24c25d604a6458b9738d96dceb086c8ef1325a'], + }), + ('Role::Tiny', '2.002004', { + 'source_tmpl': 'Role-Tiny-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HA/HAARG'], + 'checksums': ['d7bdee9e138a4f83aa52d0a981625644bda87ff16642dfa845dcb44d9a242b45'], + }), + ('Specio', '0.47', { + 'source_tmpl': 'Specio-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['f41307f14444f8777e572f27eeb6a964084399e7e382c47c577827ad8a286a1c'], + }), + ('Params::ValidationCompiler', '0.30', { + 'source_tmpl': 'Params-ValidationCompiler-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['dc5bee23383be42765073db284bed9fbd819d4705ad649c20b644452090d16cb'], + }), + ('Log::Dispatch', '2.70', { + 'source_tmpl': 'Log-Dispatch-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['a3d91cc52467d3a3c6683103f3df4472d71e405a45f553289448713ac4293f21'], + }), + ('String::Flogger', '1.101245', { + 'source_tmpl': 'String-Flogger-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['aa03c08e01f802a358c175c6093c02adf9688659a087a8ddefdc3e9cef72640b'], + }), + ('Log::Dispatchouli', '2.023', { + 'source_tmpl': 'Log-Dispatchouli-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['c4ac41b9729b71439682b34dd2772b040b5adb9e1a611d30322c01f4608e0cf2'], + }), + ('Data::Section', '0.200007', { + 'source_tmpl': 'Data-Section-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['cd937e5b70e34aab885ff414e2a6d19e4783b7c28fc3cda5145b230514ebb4de'], + }), + ('Software::License', '0.104001', { + 'source_tmpl': 'Software-License-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['51386fdee57de4d38187ad3ffd7c5482431123bbf883f7abc28e0929fb46c387'], + }), + ('MooseX::SetOnce', '0.201', { + 'source_tmpl': 'MooseX-SetOnce-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['f55734d9823cab6c77cace28406e6deafa16071d2f574d5c394060def1c07c87'], + }), + ('Term::Encoding', '0.03', { + 'source_tmpl': 'Term-Encoding-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA'], + 'checksums': ['95ba9687d735d25a3cbe64508d7894f009c7fa2a1726c3e786e9e21da2251d0b'], + }), + ('Config::MVP', '2.200012', { + 'source_tmpl': 'Config-MVP-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['d8a6069be317a866d8041b1bb7cfafe34014f19743891f27a5e42a31b5c0ea75'], + }), + ('Throwable', '1.000', { + 'source_tmpl': 'Throwable-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['023aac67baad5b7bcdc08dc858ea5e6a8ddb0e291d15dd6d24818cdd702d318f'], + }), + ('Sub::Quote', '2.006006', { + 'source_tmpl': 'Sub-Quote-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HA/HAARG'], + 'checksums': ['6e4e2af42388fa6d2609e0e82417de7cc6be47223f576592c656c73c7524d89d'], + }), + ('Role::Identifiable::HasIdent', '0.007', { + 'source_tmpl': 'Role-Identifiable-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['561346d1a1a07a45bd851d859a825a7f67925a7a3ba5ba58e0cdad8bb99073ad'], + }), + ('Role::HasMessage', '0.006', { + 'source_tmpl': 'Role-HasMessage-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['f6a6dbe0476ff95ee1ffbef825eb18d9b02b0618deba4686e7c63b99d576d4d3'], + }), + ('MooseX::OneArgNew', '0.005', { + 'source_tmpl': 'MooseX-OneArgNew-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['7e4fcf474ea6c4244f0885f1066729cfdc472fbd7190dd41b4b55bcd67c3103f'], + }), + ('MooseX::Role::Parameterized', '1.11', { + 'source_tmpl': 'MooseX-Role-Parameterized-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['1cfe766c5d7f0ecab57f733dcca430a2a2acd6b995757141b940ade3692bec9e'], + }), + ('MooseX::LazyRequire', '0.11', { + 'source_tmpl': 'MooseX-LazyRequire-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['ef620c1e019daf9cf3f23a943d25a94c91e93ab312bcd63be2e9740ec0b94288'], + }), + ('Mixin::Linewise::Readers', '0.110', { + 'source_tmpl': 'Mixin-Linewise-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['a7f120b7aa82dfb1a5ad1aa11abd33232b26a2b09c654e649e97a3c2128b1d8b'], + }), + ('Config::INI', '0.027', { + 'source_tmpl': 'Config-INI-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['12eb8b7d43ab13db443b3c7110c8b70a264c19f78ff06ab8823e11f86a4f330e'], + }), + ('String::Truncate', '1.100602', { + 'source_tmpl': 'String-Truncate-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['aaa3d4eec01136921484139133eb75d5c571fe51b0ad329f089e6d469a235f6e'], + }), + ('Pod::Eventual', '0.094002', { + 'source_tmpl': 'Pod-Eventual-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['80194f3fe66dd8bd91282eb3610f5c7cac8dc5a0cd51a81c4d56a9ec18fea2bc'], + }), + ('Pod::Elemental', '0.103005', { + 'source_tmpl': 'Pod-Elemental-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['824336ec18326e3b970e7815922b3921b0a821d2ee0e50b0c5b2bc327f99615e'], + }), + ('Pod::Weaver', '4.018', { + 'source_tmpl': 'Pod-Weaver-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['8ca92ec948974023194197c058e33a98ad00a88561f5bf7fe672329227a910b7'], + }), + ('Dist::Zilla', '6.024', { + 'source_tmpl': 'Dist-Zilla-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['f063a6839c145a3aafcf0d8d9ec5519601d0c0f61d0174aed424297f65b928a8'], + }), + ('XML::RegExp', '0.04', { + 'source_tmpl': 'XML-RegExp-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TJ/TJMATHER'], + 'checksums': ['df1990096036085c8e2d45904fe180f82bfed40f1a7e05243f334ea10090fc54'], + }), + ('XML::DOM', '1.46', { + 'source_tmpl': 'XML-DOM-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TJ/TJMATHER'], + 'checksums': ['8ba24b0b459b01d6c5e5b0408829c7d5dfe47ff79b3548c813759048099b175e'], + }), + ('Data::Dump', '1.25', { + 'source_tmpl': 'Data-Dump-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/G/GA/GARU'], + 'checksums': ['a4aa6e0ddbf39d5ad49bddfe0f89d9da864e3bc00f627125d1bc580472f53fbd'], + }), + ('File::Next', '1.18', { + 'source_tmpl': 'File-Next-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PE/PETDANCE'], + 'checksums': ['f900cb39505eb6e168a9ca51a10b73f1bbde1914b923a09ecd72d9c02e6ec2ef'], + }), + ('App::cpanminus', '1.7046', { + 'source_tmpl': 'App-cpanminus-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA'], + 'checksums': ['3e8c9d9b44a7348f9acc917163dbfc15bd5ea72501492cea3a35b346440ff862'], + }), + ('Parallel::ForkManager', '2.02', { + 'source_tmpl': 'Parallel-ForkManager-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/Y/YA/YANICK'], + 'checksums': ['c1b2970a8bb666c3de7caac4a8f4dbcc043ab819bbc337692ec7bf27adae4404'], + }), + ('Logger::Simple', '2.0', { + 'source_tmpl': 'Logger-Simple-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TS/TSTANLEY'], + 'checksums': ['2e63fd3508775b5902132ba1bfb03b42bee468dfaf35dfe42e1909ff6d291b2d'], + }), + ('Scalar::Util::Numeric', '0.40', { + 'source_tmpl': 'Scalar-Util-Numeric-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE'], + 'checksums': ['d7501b6d410703db5b1c1942fbfc41af8964a35525d7f766058acf5ca2cc4440'], + }), + ('YAML', '1.30', { + 'source_tmpl': 'YAML-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TI/TINITA'], + 'checksums': ['5030a6d6cbffaf12583050bf552aa800d4646ca9678c187add649227f57479cd'], + }), + ('Object::InsideOut', '4.05', { + 'source_tmpl': 'Object-InsideOut-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JD/JDHEDDEN'], + 'checksums': ['9dfd6ca2822724347e0eb6759d00709425814703ad5c66bdb6214579868bcac4'], + }), + ('Thread::Queue', '3.13', { + 'source_tmpl': 'Thread-Queue-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JD/JDHEDDEN'], + 'checksums': ['6ba3dacddd2fbb66822b4aa1d11a0a5273cd04c825cb3ff31c20d7037cbfdce8'], + }), + ('Time::HiRes', '1.9764', { + 'source_tmpl': 'Time-HiRes-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC'], + 'checksums': ['9841be5587bfb7cd1f2fe267b5e5ac04ce25e79d5cc77e5ef9a9c5abd101d7b1'], + }), + ('Term::ReadLine::Gnu', '1.42', { + 'modulename': 'Term::ReadLine', + 'source_tmpl': 'Term-ReadLine-Gnu-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HA/HAYASHI'], + 'checksums': ['3c5f1281da2666777af0f34de0289564e6faa823aea54f3945c74c98e95a5e73'], + # make sure that library provided by ncurses dependency is used instead of libtermcap + 'preinstallopts': "sed -s 's/-ltermcap/-lncurses/g' Makefile.PL && ", + }), + ('ExtUtils::MakeMaker', '7.64', { + 'source_tmpl': 'ExtUtils-MakeMaker-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BINGOS'], + 'checksums': ['4a6ac575815c0413b1f58967043cc9f2e166446b73c687f9bc62b5eaed9464a0'], + }), + ('List::Util', '1.62', { + 'source_tmpl': 'Scalar-List-Utils-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PE/PEVANS'], + 'checksums': ['7279c4ec7df0cf2c0acb874abdfe86956f5028d2414974db56edfbed8a4d339f'], + }), + ('Module::CoreList', '5.20220420', { + 'source_tmpl': 'Module-CoreList-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BINGOS'], + 'checksums': ['2f587aa37e37381f2cd5de49507f87c461e212e34f81ce74c1880363365a0828'], + }), + ('Module::Metadata', '1.000037', { + 'source_tmpl': 'Module-Metadata-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETHER'], + 'checksums': ['8d5a74c1b07e145edda254602fedf19c0dd0c2d9688a370afdaff89c32cba629'], + }), + ('Params::Check', '0.38', { + 'source_tmpl': 'Params-Check-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BINGOS'], + 'checksums': ['f0c9d33876c36b1bca1475276d26d2efaf449b256d7cc8118fae012e89a26290'], + }), + ('Locale::Maketext::Simple', '0.21', { + 'source_tmpl': 'Locale-Maketext-Simple-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JE/JESSE'], + 'checksums': ['b009ff51f4fb108d19961a523e99b4373ccf958d37ca35bf1583215908dca9a9'], + }), + ('Perl::OSType', '1.010', { + 'source_tmpl': 'Perl-OSType-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN'], + 'checksums': ['e7ed4994b5d547cb23aadb84dc6044c5eb085d5a67a6c5624f42542edd3403b2'], + }), + ('IPC::Cmd', '1.04', { + 'source_tmpl': 'IPC-Cmd-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BINGOS'], + 'checksums': ['d110a0f60e35c65721454200f0d2f0f8965529a2add9649d1fa6f4f9eccb6430'], + }), + ('Pod::Escapes', '1.07', { + 'source_tmpl': 'Pod-Escapes-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NE/NEILB'], + 'checksums': ['dbf7c827984951fb248907f940fd8f19f2696bc5545c0a15287e0fbe56a52308'], + }), + ('if', '0.0608', { + 'modulename': False, + 'source_tmpl': 'if-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX'], + 'checksums': ['37206e10919c4d99273020008a3581bf0947d364e859b8966521c3145b4b3700'], + }), + ('Test', '1.26', { + 'source_tmpl': 'Test-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JE/JESSE'], + 'checksums': ['f7701bd28e05e7f82fe9a181bbab38f53fa6aeae48d2a810da74d1b981d4f392'], + }), + ('ExtUtils::Constant', '0.25', { + 'source_tmpl': 'ExtUtils-Constant-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NW/NWCLARK'], + 'checksums': ['6933d0e963b62281ef7561068e6aecac8c4ac2b476b2bba09ab0b90fbac9d757'], + }), + ('ExtUtils::CBuilder', '0.280236', { + 'source_tmpl': 'ExtUtils-CBuilder-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/A/AM/AMBS'], + 'checksums': ['abc21827eb8a513171bf7fdecefce9945132cb76db945036518291f607b1491f'], + }), + ('Carp::Heavy', '1.50', { + 'source_tmpl': 'Carp-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX'], + 'checksums': ['f5273b4e1a6d51b22996c48cb3a3cbc72fd456c4038f5c20b127e2d4bcbcebd9'], + }), + ('Pod::Simple', '3.43', { + 'source_tmpl': 'Pod-Simple-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/K/KH/KHW'], + 'checksums': ['65abe3f5363fa4cdc108f5ad9ce5ce91e7a39186a1b297bb7a06fa1b0f45d377'], + }), + ('Socket', '2.032', { + 'source_tmpl': 'Socket-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PE/PEVANS'], + 'checksums': ['20ecb6ad469f4a13c5c7a891abfa12a3cecfdeccc7140ad57b05be12815dd517'], + }), + ('Time::Local', '1.30', { + 'source_tmpl': 'Time-Local-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DR/DROLSKY'], + 'checksums': ['c7744f6b2986b946d3e2cf034df371bee16cdbafe53e945abb1a542c4f8920cb'], + }), + ('Storable', '3.25', { + 'source_tmpl': 'Storable-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NW/NWCLARK'], + 'checksums': ['e1e96b24a076792fde52154789fe4b76034b9ad39c8a1a819ead77d50d5f1817'], + }), + ('ExtUtils::ParseXS', '3.44', { + 'source_tmpl': 'ExtUtils-ParseXS-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX'], + 'checksums': ['77effdf31af36ef656f09aa7c15356d238dab6d1afaa7278ae15c1b6bcf86266'], + }), + ('Pod::Man', '4.14', { + 'source_tmpl': 'podlators-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RR/RRA'], + 'checksums': ['7af1c41de34b2e4dbff700a29d7387549c2b6cf16142214450c924707ddb0f82'], + }), + ('Mozilla::CA', '20261020', { + 'source_tmpl': 'Mozilla-CA-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/L/LW/LWP'], + 'checksums': ['1aeed97a463389e582e085e82de03ae0bffae74d46cf8ee4c511341e5508c21d'], + }), + ('Test::More', '1.302190', { + 'source_tmpl': 'Test-Simple-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/EX/EXODIST'], + 'checksums': ['fbb15226f1c605c4466a8c6ba02030083d54333d34fa76c02549cae7014c3a0e'], + }), + ('Test::RequiresInternet', '0.05', { + 'source_tmpl': 'Test-RequiresInternet-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MA/MALLEN'], + 'checksums': ['bba7b32a1cc0d58ce2ec20b200a7347c69631641e8cae8ff4567ad24ef1e833e'], + }), + ('LWP::Protocol::https', '6.10', { + 'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'], + 'sources': ['LWP-Protocol-https-%(version)s.tar.gz'], + 'checksums': ['cecfc31fe2d4fc854cac47fce13d3a502e8fdfe60c5bc1c09535743185f2a86c'], + }), + ('Module::Load', '0.36', { + 'source_tmpl': 'Module-Load-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BINGOS'], + 'checksums': ['d825020ac00b220e89f9524e24d838f9438b072fcae8c91938e4026677bef6e0'], + }), + ('Module::Load::Conditional', '0.74', { + 'source_tmpl': 'Module-Load-Conditional-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BI/BINGOS'], + 'checksums': ['54c354a9393820f1ebc2a095da084ea0392dcbccb0cb38a187a71831cc60a730'], + }), + ('parent', '0.238', { + 'source_tmpl': 'parent-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CO/CORION'], + 'checksums': ['38f58fdef3e28a194c9c8d0dc5d02672faf93c069f40c5bcb1fabeadbbc4d2d1'], + }), + ('Net::Domain', '3.13', { + 'source_tmpl': 'libnet-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SH/SHAY'], + 'checksums': ['5a35fb1f2d4aa291680eb1af38899fab453c22c28e71f7c7bd3747b5a3db348c'], + }), + ('Scalar::Util', '1.56', { + 'source_tmpl': 'Scalar-List-Utils-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/P/PE/PEVANS'], + 'checksums': ['15b8537d40fb3e6dae64b2e7e983c47a99b2c20816a180bb9c868b787a12ab5b'], + }), + ('Text::ParseWords', '3.31', { + 'source_tmpl': 'Text-ParseWords-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NE/NEILB'], + 'checksums': ['2ae555ba084d75b2b8feeeb8d1a00911276815ada86bccb1452236964d5a2fc7'], + }), + ('Encode', '3.17', { + 'source_tmpl': 'Encode-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI'], + 'checksums': ['b44cbf7dd60ec6128ec575dd348484975086522611bc7580cfd305a095faa6d2'], + }), + ('constant', '1.33', { + 'source_tmpl': 'constant-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['79965d4130eb576670e27ca0ae6899ef0060c76da48b02b97682166882f1b504'], + }), + ('Data::Dumper', '2.183', { + 'source_tmpl': 'Data-Dumper-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NW/NWCLARK'], + 'checksums': ['e42736890b7dae1b37818d9c5efa1f1fdc52dec04f446a33a4819bf1d4ab5ad3'], + }), + ('Cwd', '3.75', { + 'source_tmpl': 'PathTools-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX'], + 'patches': ['PathTools-3.75_fix-cwd_enoent-test.patch'], + 'checksums': [ + 'a558503aa6b1f8c727c0073339081a77888606aa701ada1ad62dd9d8c3f945a2', + {'PathTools-3.75_fix-cwd_enoent-test.patch': + '7a456a99d9b04a36359f3623f0deef8fe7f472c742f99cdcf0215c50afbbe7b1'}, + ], + }), + ('MIME::Base64', '3.16', { + 'source_tmpl': 'MIME-Base64-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB'], + 'checksums': ['77f73d6f7aeb8d33be08b0d8c2617f9b6c77fb7fc45422d507ca8bafe4246017'], + }), + ('ExtUtils::CppGuess', '0.26', { + 'source_tmpl': 'ExtUtils-CppGuess-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/E/ET/ETJ'], + 'checksums': ['c8b362b860172a4076acee00438f52b86464f2c500702cfcf7527811ff9a683e'], + }), + ('XSLoader', '0.24', { + 'source_tmpl': 'XSLoader-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SA/SAPER'], + 'checksums': ['e819a35a6b8e55cb61b290159861f0dc00fe9d8c4f54578eb24f612d45c8d85f'], + }), + ('AutoLoader', '5.74', { + 'source_tmpl': 'AutoLoader-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SM/SMUELLER'], + 'checksums': ['2fac75b05309f71a6871804cd25e1a3ba0a28f43f294fb54528077558da3aff4'], + }), + ('URI::Escape', '5.10', { + 'source_tmpl': 'URI-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/O/OA/OALDERS'], + 'checksums': ['16325d5e308c7b7ab623d1bf944e1354c5f2245afcfadb8eed1e2cae9a0bd0b5'], + }), + ('Set::IntervalTree', '0.12', { + 'source_tmpl': 'Set-IntervalTree-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SL/SLOYD'], + 'checksums': ['6fd4000e4022968e2ce5b83c07b189219ef1925ecb72977b52a6f7d76adbc349'], + }), + ('MCE::Mutex', '1.878', { + 'source_tmpl': 'MCE-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MA/MARIOROY'], + 'checksums': ['bb5713197cc5ab91302aec746b5cc7204bf84556c30d6af67ce34a6fd38444ad'], + }), + ('Text::CSV_XS', '1.47', { + 'source_tmpl': 'Text-CSV_XS-%(version)s.tgz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HM/HMBRAND'], + 'checksums': ['4bbaffbdfb68505ef3326dc748e63ebe0db31157b78ca8dfcb8c3cd1d1313262'], + }), + ('DBD::CSV', '0.59', { + 'source_tmpl': 'DBD-CSV-%(version)s.tgz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HM/HMBRAND'], + 'checksums': ['2a5fadd1d50c18ea023560d39c2cc660ae2a65fa99d9b8244edca7d2dcce9dc0'], + }), + ('Array::Transpose', '0.06', { + 'source_tmpl': 'Array-Transpose-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MR/MRDVT'], + 'checksums': ['d58667f64381a105f375226f592d0af71068e640a5a9f4d5ecf27c90feb32676'], + }), + ('Config::Simple', '4.58', { + 'source_tmpl': 'Config-Simple-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SH/SHERZODR'], + 'checksums': ['dd9995706f0f9384a15ccffe116c3b6e22f42ba2e58d8f24ed03c4a0e386edb4'], + }), + ('Business::ISBN', '3.007', { + 'source_tmpl': 'Business-ISBN-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BD/BDFOY'], + 'checksums': ['50cc4686dd21c9537b49a231d71711e814ebd2f19aa4ca331baf92ff2de5ce19'], + }), + ('Business::ISBN::Data', '20210112.006', { + 'source_tmpl': 'Business-ISBN-Data-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BD/BDFOY'], + 'checksums': ['98c2cfb266b5fdd016989abaa471d9dd4c1d593c508a6f01f66d184d5fee8bae'], + }), + ('common::sense', '3.75', { + 'source_tmpl': 'common-sense-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN'], + 'checksums': ['a86a1c4ca4f3006d7479064425a09fa5b6689e57261fcb994fe67d061cba0e7e'], + }), + ('JSON::XS', '4.03', { + 'source_tmpl': 'JSON-XS-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN'], + 'checksums': ['515536f45f2fa1a7e88c8824533758d0121d267ab9cb453a1b5887c8a56b9068'], + }), + ('List::MoreUtils::XS', '0.430', { + 'source_tmpl': 'List-MoreUtils-XS-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RE/REHSACK'], + 'checksums': ['e8ce46d57c179eecd8758293e9400ff300aaf20fefe0a9d15b9fe2302b9cb242'], + }), + ('Authen::NTLM', '1.09', { + 'source_tmpl': 'NTLM-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NB/NBEBOUT'], + 'checksums': ['c823e30cda76bc15636e584302c960e2b5eeef9517c2448f7454498893151f85'], + }), + ('Types::Serialiser', '1.01', { + 'source_tmpl': 'Types-Serialiser-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN'], + 'checksums': ['f8c7173b0914d0e3d957282077b366f0c8c70256715eaef3298ff32b92388a80'], + }), + ('XML::SAX::Expat', '0.51', { + 'source_tmpl': 'XML-SAX-Expat-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BJ/BJOERN'], + 'checksums': ['4c016213d0ce7db2c494e30086b59917b302db8c292dcd21f39deebd9780c83f'], + }), + ('Inline', '0.86', { + 'source_tmpl': 'Inline-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/I/IN/INGY'], + 'checksums': ['510a7de2d011b0db80b0874e8c0f7390010991000ae135cff7474df1e6d51e3a'], + }), + ('Sys::Info::Base', '0.7807', { + 'source_tmpl': 'Sys-Info-Base-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK/'], + 'checksums': ['132362b0046e8dc4f12e1560903623a88a8871d09bf1c29d93d48d3f4a582acb'], + }), + ('Sys::Info', '0.7811', { + 'source_tmpl': 'Sys-Info-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK/'], + 'checksums': ['566482bff3427c198d7955468ed945a8e736c4a2925151fdef96801ef8a401e1'], + }), + ('HTML::Template', '2.97', { + 'source_tmpl': 'HTML-Template-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/S/SA/SAMTREGAR/'], + 'checksums': ['6547af61f3aa85793f8616190938d677d7995fb3b720c16258040bc935e2129f'], + }), + ('MIME::Charset', '1.012.2', { + 'source_tmpl': 'MIME-Charset-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/'], + 'checksums': ['878c779c0256c591666bd06c0cde4c0d7820eeeb98fd1183082aee9a1e7b1d13'], + }), + ('Unicode::LineBreak', '2019.001', { + 'source_tmpl': 'Unicode-LineBreak-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/'], + 'checksums': ['486762e4cacddcc77b13989f979a029f84630b8175e7fef17989e157d4b6318a'], + }), + ('String::Print', '0.94', { + 'source_tmpl': 'String-Print-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MA/MARKOV/'], + 'checksums': ['9b3cd677adb7a40cb183bd6c60db80d96adcabd5aae27e324e3ee37e3275229b'], + }), + ('Log::Report', '1.33', { + 'source_tmpl': 'Log-Report-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MA/MARKOV/'], + 'checksums': ['49624da338fd7d57288fa22a47241476fb5ce2f6008181f786c7830fe5af01ff'], + }), + ('Log::Report::Optional', '1.07', { + 'source_tmpl': 'Log-Report-Optional-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/M/MA/MARKOV/'], + 'checksums': ['b2658b53176df5afa5d02789368715c86b98c8d04ecd930252bcd7f832cc6224'], + }), + ('Sys::Info::Driver::Unknown', '0.79', { + 'source_tmpl': 'Sys-Info-Driver-Unknown-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK/'], + 'checksums': ['02408843c8e36ea3d507e9f33fee48d6908543829ebe320f13d1bfe76af31e09'], + }), + ('Sys::Info::Driver::Linux', '0.7905', { + 'source_tmpl': 'Sys-Info-Driver-Linux-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/B/BU/BURAK/'], + 'checksums': ['899c329bd3508ec5849ad0e5dadfa7c3679bbacaea9dda12404a7893032e8b7b'], + }), + ('Unix::Processors', '2.046', { + 'source_tmpl': 'Unix-Processors-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/W/WS/WSNYDER/'], + 'checksums': ['3973ebdc44682c9c15c776f66e8be242cb4ff1dd52caf43ff446b74d4dccca06'], + }), + ('local::lib', '2.000029', { + 'source_tmpl': 'local-lib-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/H/HA/HAARG/'], + 'checksums': ['8df87a10c14c8e909c5b47c5701e4b8187d519e5251e87c80709b02bb33efdd7'], + }), + ('Module::Path', '0.19', { + 'source_tmpl': 'Module-Path-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NE/NEILB/'], + 'checksums': ['b33179ce4dd73dfcde7d46808804b9ffbb11db0245fe455a7d001747562feaca'], + }), + ('Devel::Size', '0.83', { + 'source_tmpl': 'Devel-Size-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NW/NWCLARK'], + 'checksums': ['757a67e0aa59ae103ea5ca092cbecc025644ebdc326731688ffab6f8823ef4b3'], + }), + ('Math::Utils', '1.14', { + 'source_tmpl': 'Math-Utils-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JG/JGAMBLE/'], + 'checksums': ['88a20ae0736a622671b92bb2a350969af424d7610284530b277c8020235f2695'], + }), +] + +moduleclass = 'lang' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/p/Python/Python-3.10.4-GCCcore-11.3.0-bare.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/p/Python/Python-3.10.4-GCCcore-11.3.0-bare.eb new file mode 100644 index 00000000..08b0a548 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/p/Python/Python-3.10.4-GCCcore-11.3.0-bare.eb @@ -0,0 +1,44 @@ +name = 'Python' +version = '3.10.4' +versionsuffix = '-bare' + +homepage = 'https://python.org/' +description = """Python is a programming language that lets you work more quickly and integrate your systems + more effectively.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://www.python.org/ftp/%(namelower)s/%(version)s/'] +sources = [SOURCE_TGZ] +patches = ['Python-3.10.4_ssl-distrust-compromised-eMudhra-intermediate-CA-keys-CVE-2026-115557.patch'] + +# Like patches, but these will only be applied if EasyBuild is configured to filter $LD_LIBRARY_PATH +# In that scenario, ctypes needs to be patched since it heavily relies on $LD_LIBRARY_PATH to find libraries +patch_ctypes_ld_library_path = 'Python-3.11.5-custom-ctypes.patch' + +checksums = [ + {'Python-3.10.4.tgz': 'f3bcc65b1d5f1dc78675c746c98fcee823c038168fc629c5935b044d0911ad28'}, + {'Python-3.10.4_ssl-distrust-compromised-eMudhra-intermediate-CA-keys-CVE-2026-115557.patch': + '4ae40f0c1f0a1774e8ec8d667256a24928fc5114aa85b566b47ad31170b8c431'}, + {'Python-3.11.5-custom-ctypes.patch': 'b29c22f47587460149e05296ff09b29bf790a83e2b3b13fb2f42f5f236ad8ea7'} +] + +builddependencies = [ + ('UnZip', '6.0'), + ('pkgconf', '1.8.0'), +] + +dependencies = [ + ('binutils', '2.38'), + ('bzip2', '1.0.8'), # required for bz2 package in Python stdlib + ('zlib', '1.2.12'), + ('libreadline', '8.1.2'), + ('ncurses', '6.3'), + ('SQLite', '3.38.3'), + ('XZ', '5.2.5'), + ('libffi', '3.4.2'), + ('OpenSSL', '1.1', '', SYSTEM), +] + +moduleclass = 'lang' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/p/pkgconf/pkgconf-1.8.0-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/p/pkgconf/pkgconf-1.8.0-GCCcore-11.3.0.eb new file mode 100644 index 00000000..3e82ba18 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/p/pkgconf/pkgconf-1.8.0-GCCcore-11.3.0.eb @@ -0,0 +1,33 @@ +easyblock = 'ConfigureMake' + +name = 'pkgconf' +version = '1.8.0' + +homepage = 'https://github.com/pkgconf/pkgconf' + +description = """pkgconf is a program which helps to configure compiler and linker flags for development libraries. + It is similar to pkg-config from freedesktop.org.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} + +source_urls = ['https://distfiles.ariadne.space/pkgconf/'] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['d7b6fdb522d81c11f5a0e0a0629a9f5480809ec90e595058674c1517822dfb8c'] + +builddependencies = [('binutils', '2.38')] + +postinstallcmds = ["cd %(installdir)s/bin && ln -s pkgconf pkg-config"] + +sanity_check_paths = { + 'files': ['bin/pkg-config', 'bin/pkgconf'], + 'dirs': [], +} + +sanity_check_commands = [ + "pkg-config --help", + "pkgconf --help", +] + +modextravars = {'PKG_CONFIG': '%(installdir)s/bin/pkgconf'} + +moduleclass = 'devel' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.2.0-gompi-2022a-fb.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.2.0-gompi-2022a-fb.eb new file mode 100644 index 00000000..9c9cce7d --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/s/ScaLAPACK/ScaLAPACK-2.2.0-gompi-2022a-fb.eb @@ -0,0 +1,40 @@ +name = 'ScaLAPACK' +version = '2.2.0' +versionsuffix = '-fb' + +homepage = 'https://www.netlib.org/scalapack/' +description = """The ScaLAPACK (or Scalable LAPACK) library includes a subset of LAPACK routines + redesigned for distributed memory MIMD parallel computers.""" + +toolchain = {'name': 'gompi', 'version': '2022a'} +toolchainopts = {'extra_fflags': '-lpthread', 'openmp': True, 'pic': True, 'usempi': True} + +source_urls = [homepage] +sources = [SOURCELOWER_TGZ] +patches = ['ScaLAPACK-%(version)s_fix-GCC-10.patch'] +checksums = [ + '40b9406c20735a9a3009d863318cb8d3e496fb073d201c5463df810e01ab2a57', # scalapack-2.2.0.tgz + 'f6bc3c6dee012ba4a696548a2e12b6aae932ce4fd5a142153b338839f52b5906', # ScaLAPACK-2.2.0_fix-GCC-10.patch +] + +builddependencies = [ + ('CMake', '3.23.1'), +] + +dependencies = [ + ('FlexiBLAS', '3.2.0'), +] + +# Config Opts based on AOCL User Guide: +# https://developer.amd.com/wp-content/resources/AOCL_User%20Guide_2.2.pdf + +configopts = '-DBUILD_SHARED_LIBS=ON ' +configopts += '-DBLAS_LIBRARIES="$EBROOTFLEXIBLAS/lib/libflexiblas.%s" ' % SHLIB_EXT +configopts += '-DLAPACK_LIBRARIES="$EBROOTFLEXIBLAS/lib/libflexiblas.%s" ' % SHLIB_EXT + +sanity_check_paths = { + 'files': ['lib/libscalapack.%s' % SHLIB_EXT, 'lib64/libscalapack.%s' % SHLIB_EXT], + 'dirs': ["lib", "lib64"], +} + +moduleclass = 'numlib' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/u/UCC/UCC-1.0.0-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/u/UCC/UCC-1.0.0-GCCcore-11.3.0.eb new file mode 100644 index 00000000..5ef693f7 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/u/UCC/UCC-1.0.0-GCCcore-11.3.0.eb @@ -0,0 +1,39 @@ +easyblock = 'ConfigureMake' + +name = 'UCC' +version = '1.0.0' + +homepage = 'https://www.openucx.org/' +description = """UCC (Unified Collective Communication) is a collective +communication operations API and library that is flexible, complete, and +feature-rich for current and emerging programming models and runtimes. +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/openucx/ucc/archive/refs/tags'] +sources = ['v%(version)s.tar.gz'] +checksums = [ + 'd3b4aa7004bf339d35952a1699a6e408064ba578bdc93861f5f07527ad0a5e8c', # v1.0.0.tar.gz +] + +builddependencies = [ + ('binutils', '2.38'), + ('Autotools', '20220317'), +] + +dependencies = [ + ('UCX', '1.12.1'), +] + +preconfigopts = "./autogen.sh && " + +sanity_check_paths = { + 'files': ['bin/ucc_info'], + 'dirs': ['include', 'lib'] +} + +sanity_check_commands = ["ucc_info -c"] + +moduleclass = 'lib' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/u/UCX/UCX-1.12.1-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/u/UCX/UCX-1.12.1-GCCcore-11.3.0.eb new file mode 100644 index 00000000..99ff6a78 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/u/UCX/UCX-1.12.1-GCCcore-11.3.0.eb @@ -0,0 +1,56 @@ +easyblock = 'ConfigureMake' + +name = 'UCX' +version = '1.12.1' + +homepage = 'https://www.openucx.org/' +description = """Unified Communication X +An open-source production grade communication framework for data centric +and high-performance applications +""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/openucx/ucx/releases/download/v%(version)s'] +sources = ['%(namelower)s-%(version)s.tar.gz'] +patches = [ + 'UCX-1.10.0-dynamic_modules.patch', + 'UCX-1.11.0_fix-implicit-odp-release.patch', + 'UCX-1.11.2-missing_header.patch', +] +checksums = [ + '40b447c8e7da94a253f2828001b2d76021eb4ad39647107d433d62d61e18ae8e', # ucx-1.12.1.tar.gz + '3098c91f2aadc5f148466a2e8756769ad5e99f9515d8cfb6ad8a5712e7433408', # UCX-1.10.0-dynamic_modules.patch + {'UCX-1.11.0_fix-implicit-odp-release.patch': 'e21d66b75f3727a98dbd1737b419a6f77c0c5a8ac660a21affcbf10bb3b941ed'}, + 'fa9052a33da5c8e94bc7df0e5fe6ce3baf613310842ae1ab9ed4ef2d49666c01', # UCX-1.11.2-missing_header.patch +] + +builddependencies = [ + ('binutils', '2.38'), + ('Autotools', '20220317'), + ('pkgconf', '1.8.0'), +] + +osdependencies = [OS_PKG_IBVERBS_DEV] + +dependencies = [ + ('zlib', '1.2.12'), + ('numactl', '2.0.14'), +] + +configure_cmd = "contrib/configure-release" + +configopts = '--enable-optimizations --enable-cma --enable-mt --with-verbs ' +configopts += '--without-java --without-go --disable-doxygen-doc ' + +buildopts = 'V=1' + +sanity_check_paths = { + 'files': ['bin/ucx_info', 'bin/ucx_perftest', 'bin/ucx_read_profile'], + 'dirs': ['include', 'lib', 'share'] +} + +sanity_check_commands = ["ucx_info -d"] + +moduleclass = 'lib' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/z/zlib/zlib-1.2.12-GCCcore-11.3.0.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/z/zlib/zlib-1.2.12-GCCcore-11.3.0.eb new file mode 100644 index 00000000..0c3148f7 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/z/zlib/zlib-1.2.12-GCCcore-11.3.0.eb @@ -0,0 +1,30 @@ +easyblock = 'ConfigureMake' + +name = 'zlib' +version = '1.2.12' + +homepage = 'https://www.zlib.net/' +description = """zlib is designed to be a free, general-purpose, legally unencumbered -- that is, + not covered by any patents -- lossless data-compression library for use on virtually any + computer hardware and operating system.""" + +toolchain = {'name': 'GCCcore', 'version': '11.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://zlib.net/fossils'] +sources = [SOURCELOWER_TAR_GZ] +patches = ['zlib-%(version)s_fix-CC-logic-in-configure.patch'] +checksums = [ + '91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9', # zlib-1.2.12.tar.gz + 'f35eb05334a4f8d7b40b6c5610a6369f654863b5fa1a19c2507888f918025238', # zlib-1.2.12_fix-CC-logic-in-configure.patch +] + +# use same binutils version that was used when building GCC toolchain +builddependencies = [('binutils', '2.38', '', SYSTEM)] + +sanity_check_paths = { + 'files': ['include/zconf.h', 'include/zlib.h', 'lib/libz.a', 'lib/libz.%s' % SHLIB_EXT], + 'dirs': [], +} + +moduleclass = 'lib' diff --git a/fixtures/parity_foss_subtoolchain/easyconfigs/z/zlib/zlib-1.2.12.eb b/fixtures/parity_foss_subtoolchain/easyconfigs/z/zlib/zlib-1.2.12.eb new file mode 100644 index 00000000..c41620aa --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/easyconfigs/z/zlib/zlib-1.2.12.eb @@ -0,0 +1,35 @@ +easyblock = 'ConfigureMake' + +name = 'zlib' +version = '1.2.12' + +homepage = 'https://www.zlib.net/' + +description = """ + zlib is designed to be a free, general-purpose, legally unencumbered -- that + is, not covered by any patents -- lossless data-compression library for use + on virtually any computer hardware and operating system. +""" + +toolchain = SYSTEM + +source_urls = ['https://zlib.net/fossils/'] +sources = [SOURCELOWER_TAR_GZ] +patches = ['zlib-%(version)s_fix-CC-logic-in-configure.patch'] +checksums = [ + '91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9', # zlib-1.2.12.tar.gz + 'f35eb05334a4f8d7b40b6c5610a6369f654863b5fa1a19c2507888f918025238', # zlib-1.2.12_fix-CC-logic-in-configure.patch +] + +# need to take care of $CFLAGS ourselves with SYSTEM toolchain +# we need to add -fPIC, but should also include -O* option to avoid +# compiling with -O0 (default for GCC) +buildopts = 'CFLAGS="-O2 -fPIC"' + +sanity_check_paths = { + 'files': ['include/zconf.h', 'include/zlib.h', 'lib/libz.a', + 'lib/libz.%s' % SHLIB_EXT], + 'dirs': [], +} + +moduleclass = 'lib' diff --git a/fixtures/parity_foss_subtoolchain/framework/easybuild/toolchains/foss.py b/fixtures/parity_foss_subtoolchain/framework/easybuild/toolchains/foss.py new file mode 100644 index 00000000..3903abe3 --- /dev/null +++ b/fixtures/parity_foss_subtoolchain/framework/easybuild/toolchains/foss.py @@ -0,0 +1,95 @@ +## +# Copyright 2013-2026 Ghent University +# +# This file is part of EasyBuild, +# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en), +# with support of Ghent University (http://ugent.be/hpc), +# the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be), +# Flemish Research Foundation (FWO) (http://www.fwo.be/en) +# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en). +# +# https://github.com/easybuilders/easybuild +# +# EasyBuild is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation v2. +# +# EasyBuild is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with EasyBuild. If not, see . +## +""" +EasyBuild support for foss compiler toolchain (includes GCC, OpenMPI, OpenBLAS, LAPACK, ScaLAPACK and FFTW). + +Authors: + +* Kenneth Hoste (Ghent University) +""" +from easybuild.toolchains.gompi import Gompi +from easybuild.toolchains.gfbf import Gfbf +from easybuild.toolchains.golf import Golf +from easybuild.toolchains.fft.fftw import Fftw +from easybuild.toolchains.linalg.flexiblas import FlexiBLAS +from easybuild.toolchains.linalg.openblas import OpenBLAS +from easybuild.toolchains.linalg.scalapack import ScaLAPACK +from easybuild.tools import LooseVersion + + +class Foss(Gompi, OpenBLAS, FlexiBLAS, ScaLAPACK, Fftw): + """Compiler toolchain with GCC, OpenMPI, OpenBLAS, ScaLAPACK and FFTW.""" + NAME = 'foss' + SUBTOOLCHAIN = [Gompi.NAME, Golf.NAME, Gfbf.NAME] + + def __init__(self, *args, **kwargs): + """Toolchain constructor.""" + super().__init__(*args, **kwargs) + + # need to transform a version like '2018b' with something that is safe to compare with '2019' + # comparing subversions that include letters causes TypeErrors in Python 3 + # 'a' is assumed to be equivalent with '.01' (January), and 'b' with '.07' (June) (good enough for this purpose) + version = self.version.replace('a', '.01').replace('b', '.07') + + self.looseversion = LooseVersion(version) + + constants = ('BLAS_MODULE_NAME', 'BLAS_LIB', 'BLAS_LIB_MT', 'BLAS_FAMILY', + 'LAPACK_MODULE_NAME', 'LAPACK_IS_BLAS', 'LAPACK_FAMILY') + + if self.looseversion > LooseVersion('2021.0'): + for constant in constants: + setattr(self, constant, getattr(FlexiBLAS, constant)) + else: + for constant in constants: + setattr(self, constant, getattr(OpenBLAS, constant)) + + def banned_linked_shared_libs(self): + """ + List of shared libraries (names, file names, paths) which are + not allowed to be linked in any installed binary/library. + """ + res = [] + res.extend(Gompi.banned_linked_shared_libs(self)) + + if self.looseversion >= LooseVersion('2021.0'): + res.extend(FlexiBLAS.banned_linked_shared_libs(self)) + else: + res.extend(OpenBLAS.banned_linked_shared_libs(self)) + + res.extend(ScaLAPACK.banned_linked_shared_libs(self)) + res.extend(Fftw.banned_linked_shared_libs(self)) + + return res + + def is_deprecated(self): + """Return whether or not this toolchain is deprecated.""" + + # foss toolchains older than foss/2019a are deprecated since EasyBuild v4.5.0; + if self.looseversion < LooseVersion('2019'): + deprecated = True + else: + deprecated = False + + return deprecated diff --git a/fixtures/parity_pennylane_cond/LICENSE b/fixtures/parity_pennylane_cond/LICENSE new file mode 100644 index 00000000..d159169d --- /dev/null +++ b/fixtures/parity_pennylane_cond/LICENSE @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/fixtures/parity_pennylane_cond/README.md b/fixtures/parity_pennylane_cond/README.md new file mode 100644 index 00000000..e5f2a9ae --- /dev/null +++ b/fixtures/parity_pennylane_cond/README.md @@ -0,0 +1,17 @@ +# Recorded PennyLane conditional += slice + +These files are verbatim copies from `easybuild-easyconfigs` at commit +`b210e3fdfe940821d74bbbb0d4e0469f16649963`. + +`LICENSE` is the upstream GPL-2.0 licence file from that checkout, sha256 +`8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643`. + +# Upstream Provenance + +Copied verbatim from `easybuild-easyconfigs` at commit `b210e3fdfe940821d74bbbb0d4e0469f16649963`: + +- `easyconfigs/p/PennyLane/PennyLane-0.37.0-foss-2023a-CUDA-12.1.1.eb` <- `easybuild/easyconfigs/p/PennyLane/PennyLane-0.37.0-foss-2023a-CUDA-12.1.1.eb` +- `easyconfigs/c/cuQuantum/cuQuantum-24.08.0.5-CUDA-12.1.1.eb` <- `easybuild/easyconfigs/c/cuQuantum/cuQuantum-24.08.0.5-CUDA-12.1.1.eb` +- `easyconfigs/c/CUDA/CUDA-12.1.1.eb` <- `easybuild/easyconfigs/c/CUDA/CUDA-12.1.1.eb` + +Framework reference: `easybuild-framework` commit `8907031c218b8a331de7c9d411555ead05df0411` (`EasyConfig` + `EasyBuildMNS`). diff --git a/fixtures/parity_pennylane_cond/easyconfigs/c/CUDA/CUDA-12.1.1.eb b/fixtures/parity_pennylane_cond/easyconfigs/c/CUDA/CUDA-12.1.1.eb new file mode 100644 index 00000000..ea9cf216 --- /dev/null +++ b/fixtures/parity_pennylane_cond/easyconfigs/c/CUDA/CUDA-12.1.1.eb @@ -0,0 +1,24 @@ +name = 'CUDA' +version = '12.1.1' +local_nv_version = '530.30.02' + +homepage = 'https://developer.nvidia.com/cuda-toolkit' +description = """CUDA (formerly Compute Unified Device Architecture) is a parallel + computing platform and programming model created by NVIDIA and implemented by the + graphics processing units (GPUs) that they produce. CUDA gives developers access + to the virtual instruction set and memory of the parallel computational elements in CUDA GPUs.""" + +toolchain = SYSTEM + +source_urls = ['https://developer.download.nvidia.com/compute/cuda/%(version)s/local_installers/'] +sources = ['cuda_%%(version)s_%s_linux%%(cudaarch)s.run' % local_nv_version] +checksums = [{ + 'cuda_%%(version)s_%s_linux.run' % local_nv_version: + 'd74022d41d80105319dfa21beea39b77a5b9919539c0487a05caaf2446d6a70e', + 'cuda_%%(version)s_%s_linux_ppc64le.run' % local_nv_version: + 'c5950381f2c01fd52692372fc8e51d599e940ada2af2c82c3cc854ecff933eae', + 'cuda_%%(version)s_%s_linux_sbsa.run' % local_nv_version: + '45ea4cd860f0a26d3db8ce032530f2ee0b55abdd587545213d395a73623b4278' +}] + +moduleclass = 'system' diff --git a/fixtures/parity_pennylane_cond/easyconfigs/c/cuQuantum/cuQuantum-24.08.0.5-CUDA-12.1.1.eb b/fixtures/parity_pennylane_cond/easyconfigs/c/cuQuantum/cuQuantum-24.08.0.5-CUDA-12.1.1.eb new file mode 100644 index 00000000..f2437f12 --- /dev/null +++ b/fixtures/parity_pennylane_cond/easyconfigs/c/cuQuantum/cuQuantum-24.08.0.5-CUDA-12.1.1.eb @@ -0,0 +1,27 @@ +easyblock = 'Tarball' + +name = 'cuQuantum' +local_shortver = '24.08.0' +version = local_shortver + '.5' +versionsuffix = '-CUDA-%(cudaver)s' + +homepage = 'https://developer.nvidia.com/cuquantum-sdk' +description = """NVIDIA cuQuantum is an SDK of libraries and tools for quantum computing workflows.""" + +toolchain = SYSTEM + +source_urls = ['https://developer.download.nvidia.com/compute/cuquantum/redist/cuquantum/linux-x86_64/'] +sources = ['cuquantum-linux-x86_64-%(version)s_cuda%(cudamajver)s-archive.tar.xz'] +checksums = ['485968734706eeffcd3adc3b2d2086e59be7ff3ddd907e96f1eb97335beb344a'] + +local_cudamajver = '12' +dependencies = [('CUDA', local_cudamajver + '.1.1')] + +sanity_check_paths = { + 'files': ['include/custatevec.h', 'include/cutensornet/types.h', + 'lib/libcutensornet.%s' % SHLIB_EXT, + 'lib/libcutensornet_static.a'], + 'dirs': ['distributed_interfaces'], +} + +moduleclass = 'lib' diff --git a/fixtures/parity_pennylane_cond/easyconfigs/p/PennyLane/PennyLane-0.37.0-foss-2023a-CUDA-12.1.1.eb b/fixtures/parity_pennylane_cond/easyconfigs/p/PennyLane/PennyLane-0.37.0-foss-2023a-CUDA-12.1.1.eb new file mode 100644 index 00000000..d85321d3 --- /dev/null +++ b/fixtures/parity_pennylane_cond/easyconfigs/p/PennyLane/PennyLane-0.37.0-foss-2023a-CUDA-12.1.1.eb @@ -0,0 +1,65 @@ +easyblock = 'PythonBundle' + +name = 'PennyLane' +version = '0.37.0' +versionsuffix = '-CUDA-%(cudaver)s' + +homepage = "https://pennylane.ai/" +description = """PennyLane is a cross-platform Python library for +quantum computing, quantum machine learning, and quantum +chemistry. Train a quantum computer the same way as a neural network.""" + +toolchain = {'name': 'foss', 'version': '2023a'} + +local_pennylane_test_backends = [ + # tests to enable when testing pennylane + ('jax', '0.4.25', versionsuffix), + ('PyTorch', '2.1.2', versionsuffix), + ('TensorFlow', '2.15.1', versionsuffix), +] + +local_pennylane_lightning_extras = ['qubit', 'gpu', 'kokkos'] + +dependencies = [ + ('Python', '3.11.3'), + ('SciPy-bundle', '2023.07'), + ('networkx', '3.1'), + ('rustworkx', '0.15.1'), + ('CUDA', '12.1.1', '', SYSTEM), +] + +if 'gpu' in local_pennylane_lightning_extras: + dependencies += [ + ('cuQuantum', '24.08.0.5', versionsuffix, SYSTEM) + ] + +builddependencies = [ + ('CMake', '3.26.3'), + ('Ninja', '1.11.1'), + ('pybind11', '2.11.1'), +] + local_pennylane_test_backends + +exts_list = [ + ('autograd', '1.6.2', { + 'checksums': ['8731e08a0c4e389d8695a40072ada4512641c113b6cace8f4cfbe8eb7e9aedeb'], + }), + ('autoray', '0.6.12', { + 'checksums': ['721328aa06fc3577155d988052614a7b4bd6e4d01b340695344031ee4abd2a1e'], + }), + ('cachetools', '5.2.1', { + 'checksums': ['5991bc0e08a1319bb618d3195ca5b6bc76646a49c21d55962977197b301cc1fe'], + }), + ('pennylane', version, { + 'source_urls': ['https://github.com/PennyLaneAI/pennylane/archive/refs/tags'], + 'sources': [{'filename': '%(name)s-v%(version)s.tar.gz', 'download_filename': 'v%(version)s.tar.gz'}], + 'checksums': ['3e5eaab9da28ac43099e5850fde0c5763bc4e37271804463fc35dab8b08e2f15'], + }), + ('pennylane_lightning', version, { + 'source_urls': ['https://github.com/PennyLaneAI/pennylane-lightning/archive/refs/tags'], + 'sources': [{'filename': '%(name)s-v%(version)s.tar.gz', 'download_filename': 'v%(version)s.tar.gz'}], + 'checksums': ['3f70e3e3b7e4d0f6a679919c0c83e451e129666b021bb529dd02eb915d0666a0'], + 'use_pip_extras': 'qubit,gpu,kokkos', + }), +] + +moduleclass = 'ai' diff --git a/fixtures/parity_sentieon_system_dep/LICENSE b/fixtures/parity_sentieon_system_dep/LICENSE new file mode 100644 index 00000000..d159169d --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/LICENSE @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/fixtures/parity_sentieon_system_dep/README.md b/fixtures/parity_sentieon_system_dep/README.md new file mode 100644 index 00000000..6c031ef4 --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/README.md @@ -0,0 +1,14 @@ +# Recorded sentieon-genomics SYSTEM suffixed version_req slice + +These files are verbatim copies from `easybuild-easyconfigs` at commit +`b210e3fdfe940821d74bbbb0d4e0469f16649963`. + +`LICENSE` is the upstream GPL-2.0 licence file from that checkout, sha256 +`8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643`. + +## Upstream Provenance + +- `easyconfigs/s/sentieon-genomics/sentieon-genomics-202503.02.eb` <- `easybuild/easyconfigs/s/sentieon-genomics/sentieon-genomics-202503.02.eb` +- `easyconfigs/j/jemalloc/jemalloc-5.3.0-GCCcore-13.3.0.eb` <- `easybuild/easyconfigs/j/jemalloc/jemalloc-5.3.0-GCCcore-13.3.0.eb` +- `easyconfigs/g/GCCcore/GCCcore-13.3.0.eb` <- `easybuild/easyconfigs/g/GCCcore/GCCcore-13.3.0.eb` +- Complete 19-file robot closure for `sentieon-genomics-202503.02.eb` (`Autotools`, `Autoconf`, `Automake`, `Bison`, `binutils`, `flex`, `help2man`, `libtool`, `M4`, `Perl`, `zlib`) <- `easybuild/easyconfigs/` diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/a/Autoconf/Autoconf-2.72-GCCcore-13.3.0.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/a/Autoconf/Autoconf-2.72-GCCcore-13.3.0.eb new file mode 100644 index 00000000..0db4d794 --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/a/Autoconf/Autoconf-2.72-GCCcore-13.3.0.eb @@ -0,0 +1,52 @@ +easyblock = 'ConfigureMake' + +name = 'Autoconf' +version = '2.72' + +homepage = 'https://www.gnu.org/software/autoconf/' + +description = """ + Autoconf is an extensible package of M4 macros that produce shell scripts + to automatically configure software source code packages. These scripts can + adapt the packages to many kinds of UNIX-like systems without manual user + intervention. Autoconf creates a configuration script for a package from a + template file that lists the operating system features that the package can + use, in the form of M4 macro calls. +""" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +patches = ['Autoconf-2.71-Port-better-to-NVHPC.patch'] +checksums = [ + 'afb181a76e1ee72832f6581c0eddf8df032b83e2e0239ef79ebedc4467d92d6e', # autoconf-2.72.tar.gz + '157453a2f74821b06d3f7cd1ba8d2622f12d9e6d172a01e3ff8e8d32b3d7bfeb', # Autoconf-2.71-Port-better-to-NVHPC.patch +] + +builddependencies = [ + ('binutils', '2.42'), +] + +dependencies = [ + ('M4', '1.4.19'), + # non-standard Perl modules are required, + # see https://github.com/easybuilders/easybuild-easyconfigs/issues/1822 + ('Perl', '5.38.2'), +] + +preconfigopts = "export PERL='/usr/bin/env perl' && " + +sanity_check_paths = { + 'files': ["bin/%s" % x + for x in ["autoconf", "autoheader", "autom4te", "autoreconf", + "autoscan", "autoupdate", "ifnames"]], + 'dirs': [], +} + +sanity_check_commands = [ + "autoconf --help", + "autom4te --help", +] + +moduleclass = 'devel' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/a/Automake/Automake-1.16.5-GCCcore-13.3.0.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/a/Automake/Automake-1.16.5-GCCcore-13.3.0.eb new file mode 100644 index 00000000..f22a104b --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/a/Automake/Automake-1.16.5-GCCcore-13.3.0.eb @@ -0,0 +1,39 @@ +easyblock = 'ConfigureMake' + +name = 'Automake' +version = '1.16.5' + +homepage = 'https://www.gnu.org/software/automake/automake.html' + +description = "Automake: GNU Standards-compliant Makefile generator" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['07bd24ad08a64bc17250ce09ec56e921d6343903943e99ccf63bbf0705e34605'] + +builddependencies = [ + ('binutils', '2.42'), +] + +dependencies = [ + ('Autoconf', '2.72'), + # non-standard Perl modules are required, + # see https://github.com/easybuilders/easybuild-easyconfigs/issues/1822 + ('Perl', '5.38.2'), +] + +preconfigopts = "export PERL='/usr/bin/env perl' && " + +sanity_check_paths = { + 'files': ['bin/aclocal', 'bin/automake'], + 'dirs': [] +} + +sanity_check_commands = [ + "aclocal --help", + "automake --help", +] + +moduleclass = 'devel' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/a/Autotools/Autotools-20231222-GCCcore-13.3.0.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/a/Autotools/Autotools-20231222-GCCcore-13.3.0.eb new file mode 100644 index 00000000..4c0c23dd --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/a/Autotools/Autotools-20231222-GCCcore-13.3.0.eb @@ -0,0 +1,24 @@ +easyblock = 'Bundle' + +name = 'Autotools' +version = '20231222' # date of the most recent change + +homepage = 'https://autotools.io' + +description = """ + This bundle collect the standard GNU build tools: Autoconf, Automake + and libtool +""" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} + +dependencies = [ + ('Autoconf', '2.72'), # 20231222 + ('Automake', '1.16.5'), # 20211003 + ('libtool', '2.4.7'), # 20220317 +] + +# Pure bundle -- no need to specify 'binutils' used when building GCCcore +# toolchain as build dependency + +moduleclass = 'devel' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/b/Bison/Bison-3.8.2-GCCcore-13.3.0.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/b/Bison/Bison-3.8.2-GCCcore-13.3.0.eb new file mode 100644 index 00000000..168af693 --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/b/Bison/Bison-3.8.2-GCCcore-13.3.0.eb @@ -0,0 +1,28 @@ +easyblock = 'ConfigureMake' + +name = 'Bison' +version = '3.8.2' + +homepage = 'https://www.gnu.org/software/bison' +description = """Bison is a general-purpose parser generator that converts an annotated context-free grammar + into a deterministic LR or generalized LR (GLR) parser employing LALR(1) parser tables.""" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['06c9e13bdf7eb24d4ceb6b59205a4f67c2c7e7213119644430fe82fbd14a0abb'] + +builddependencies = [ + ('M4', '1.4.19'), + # use same binutils version that was used when building GCCcore toolchain + ('binutils', '2.42', '', SYSTEM), +] + + +sanity_check_paths = { + 'files': ['bin/%s' % x for x in ['bison', 'yacc']] + [('lib/liby.a', 'lib64/liby.a')], + 'dirs': [], +} + +moduleclass = 'lang' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/b/Bison/Bison-3.8.2.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/b/Bison/Bison-3.8.2.eb new file mode 100644 index 00000000..22f92734 --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/b/Bison/Bison-3.8.2.eb @@ -0,0 +1,29 @@ +easyblock = 'ConfigureMake' + +name = 'Bison' +version = '3.8.2' + +homepage = 'https://www.gnu.org/software/bison' + +description = """ + Bison is a general-purpose parser generator that converts an annotated + context-free grammar into a deterministic LR or generalized LR (GLR) parser + employing LALR(1) parser tables. +""" + +toolchain = SYSTEM + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['06c9e13bdf7eb24d4ceb6b59205a4f67c2c7e7213119644430fe82fbd14a0abb'] + +builddependencies = [ + ('M4', '1.4.19'), +] + +sanity_check_paths = { + 'files': ['bin/%s' % x for x in ['bison', 'yacc']] + [('lib/liby.a', 'lib64/liby.a')], + 'dirs': [], +} + +moduleclass = 'lang' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/b/binutils/binutils-2.42-GCCcore-13.3.0.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/b/binutils/binutils-2.42-GCCcore-13.3.0.eb new file mode 100644 index 00000000..7a10c5ed --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/b/binutils/binutils-2.42-GCCcore-13.3.0.eb @@ -0,0 +1,31 @@ +name = 'binutils' +version = '2.42' + +homepage = 'https://directory.fsf.org/project/binutils/' +description = "binutils: GNU binary utilities" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} + +source_urls = [GNU_SOURCE] +sources = [SOURCE_TAR_GZ] +checksums = ['5d2a6c1d49686a557869caae08b6c2e83699775efd27505e01b2f4db1a024ffc'] + +builddependencies = [ + ('flex', '2.6.4'), + ('Bison', '3.8.2'), + # use same binutils version that was used when building GCC toolchain, to 'bootstrap' this binutils + ('binutils', version, '', SYSTEM) +] + +dependencies = [ + # zlib is a runtime dep to avoid that it gets embedded in libbfd.so, + # see https://github.com/easybuilders/easybuild-easyblocks/issues/1350 + ('zlib', '1.3.1'), +] + +# avoid build failure when makeinfo command is not available +# see https://sourceware.org/bugzilla/show_bug.cgi?id=15345 +buildopts = 'MAKEINFO=true' +installopts = buildopts + +moduleclass = 'tools' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/b/binutils/binutils-2.42.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/b/binutils/binutils-2.42.eb new file mode 100644 index 00000000..93223d73 --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/b/binutils/binutils-2.42.eb @@ -0,0 +1,26 @@ +name = 'binutils' +version = '2.42' + +homepage = 'https://directory.fsf.org/project/binutils/' + +description = "binutils: GNU binary utilities" + +toolchain = SYSTEM + +source_urls = [GNU_SOURCE] +sources = [SOURCE_TAR_GZ] +checksums = ['5d2a6c1d49686a557869caae08b6c2e83699775efd27505e01b2f4db1a024ffc'] + +builddependencies = [ + ('flex', '2.6.4'), + ('Bison', '3.8.2'), + # zlib required, but being linked in statically, so not a runtime dep + ('zlib', '1.3.1'), +] + +# avoid build failure when makeinfo command is not available +# see https://sourceware.org/bugzilla/show_bug.cgi?id=15345 +buildopts = 'MAKEINFO=true' +installopts = buildopts + +moduleclass = 'tools' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/f/flex/flex-2.6.4-GCCcore-13.3.0.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/f/flex/flex-2.6.4-GCCcore-13.3.0.eb new file mode 100644 index 00000000..dda9307e --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/f/flex/flex-2.6.4-GCCcore-13.3.0.eb @@ -0,0 +1,34 @@ +name = 'flex' +version = '2.6.4' + +homepage = 'https://github.com/westes/flex' + +description = """ + Flex (Fast Lexical Analyzer) is a tool for generating scanners. A scanner, + sometimes called a tokenizer, is a program which recognizes lexical patterns + in text. +""" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/westes/flex/releases/download/v%(version)s/'] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995'] + +builddependencies = [ + ('Bison', '3.8.2'), + ('help2man', '1.49.3'), + # use same binutils version that was used when building GCC toolchain + ('binutils', '2.42', '', SYSTEM), +] + +dependencies = [ + ('M4', '1.4.19'), +] + +# glibc 2.26 requires _GNU_SOURCE defined to expose reallocarray in the correct +# header, see https://github.com/westes/flex/issues/241 +preconfigopts = 'export CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" && ' + +moduleclass = 'lang' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/f/flex/flex-2.6.4.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/f/flex/flex-2.6.4.eb new file mode 100644 index 00000000..3ef5b3f2 --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/f/flex/flex-2.6.4.eb @@ -0,0 +1,32 @@ +name = 'flex' +version = '2.6.4' + +homepage = 'http://flex.sourceforge.net/' + +description = """ + Flex (Fast Lexical Analyzer) is a tool for generating scanners. A scanner, + sometimes called a tokenizer, is a program which recognizes lexical patterns + in text. +""" + +toolchain = SYSTEM + +source_urls = ['https://github.com/westes/flex/releases/download/v%(version)s/'] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995'] + +# Do not add help2man, it depends on Perl and we do not want Perl at SYSTEM level. +# This results in not building man pages for the flex at SYSTEM level. +builddependencies = [ + ('Bison', '3.8.2'), +] + +dependencies = [ + ('M4', '1.4.19'), +] + +# glibc 2.26 requires _GNU_SOURCE defined to expose reallocarray in the correct +# header, see https://github.com/westes/flex/issues/241 +preconfigopts = 'export CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" && ' + +moduleclass = 'lang' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/g/GCCcore/GCCcore-13.3.0.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/g/GCCcore/GCCcore-13.3.0.eb new file mode 100644 index 00000000..77acc578 --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/g/GCCcore/GCCcore-13.3.0.eb @@ -0,0 +1,65 @@ +easyblock = 'EB_GCC' + +name = 'GCCcore' +version = '13.3.0' + +homepage = 'https://gcc.gnu.org/' +description = """The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada, + as well as libraries for these languages (libstdc++, libgcj,...).""" + +toolchain = SYSTEM + +source_urls = [ + 'https://ftpmirror.gnu.org/gnu/gcc/gcc-%(version)s', # GCC auto-resolving HTTP mirror + 'https://sourceware.org/pub/gcc/releases/gcc-%(version)s', # fallback URL for GCC + 'https://ftpmirror.gnu.org/gnu/gmp', # idem for GMP + 'https://ftpmirror.gnu.org/gnu/mpfr', # idem for MPFR + 'https://ftpmirror.gnu.org/gnu/mpc', # idem for MPC + 'ftp://gcc.gnu.org/pub/gcc/infrastructure/', # GCC dependencies + 'https://gcc.gnu.org/pub/gcc/infrastructure/', # HTTPS mirror for GCC dependencies + 'https://libisl.sourceforge.io/', # fallback URL for isl + 'https://sourceware.org/pub/newlib/', # for newlib + 'https://github.com/MentorEmbedded/nvptx-tools/archive', # for nvptx-tools +] +sources = [ + 'gcc-%(version)s.tar.gz', + 'gmp-6.3.0.tar.bz2', + 'mpfr-4.2.1.tar.bz2', + 'mpc-1.3.1.tar.gz', + 'isl-0.26.tar.bz2', + 'newlib-4.4.0.20231231.tar.gz', + {'download_filename': '9962793.tar.gz', 'filename': 'nvptx-tools-20240419.tar.gz'}, +] +patches = [ + 'GCCcore-6.2.0-fix-find-isl.patch', + 'GCCcore-9.3.0_gmp-c99.patch', + 'GCCcore-12.x_riscv_multiarch_support.patch', +] +checksums = [ + {'gcc-13.3.0.tar.gz': '3a2b10cab86e32358fdac871546d57e2700e9bdb5875ef33fff5b601265b9e32'}, + {'gmp-6.3.0.tar.bz2': 'ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb'}, + {'mpfr-4.2.1.tar.bz2': 'b9df93635b20e4089c29623b19420c4ac848a1b29df1cfd59f26cab0d2666aa0'}, + {'mpc-1.3.1.tar.gz': 'ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8'}, + {'isl-0.26.tar.bz2': '5eac8664e9d67be6bd0bee5085d6840b8baf738c06814df47eaf4166d9776436'}, + {'newlib-4.4.0.20231231.tar.gz': '0c166a39e1bf0951dfafcd68949fe0e4b6d3658081d6282f39aeefc6310f2f13'}, + {'nvptx-tools-20240419.tar.gz': 'a4f65efe0ba960d75a18741faf2b93dbf51c2492a53b734d590ce5da4bd3f237'}, + {'GCCcore-6.2.0-fix-find-isl.patch': '5ad909606d17d851c6ad629b4fddb6c1621844218b8d139fed18c502a7696c68'}, + {'GCCcore-9.3.0_gmp-c99.patch': '0e135e1cc7cec701beea9d7d17a61bab34cfd496b4b555930016b98db99f922e'}, + {'GCCcore-12.x_riscv_multiarch_support.patch': '92fc2b17b6943611a657904500fbf3db8160eddbcea320828d4a50a885e2778f'}, +] + +builddependencies = [ + ('M4', '1.4.19'), + ('binutils', '2.42'), +] + +languages = ['c', 'c++', 'fortran'] + +withisl = True +withnvptx = True + +# Perl is only required when building with NVPTX support +if withnvptx: + osdependencies = ['perl'] + +moduleclass = 'compiler' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/h/help2man/help2man-1.49.3-GCCcore-13.3.0.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/h/help2man/help2man-1.49.3-GCCcore-13.3.0.eb new file mode 100644 index 00000000..631d7bec --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/h/help2man/help2man-1.49.3-GCCcore-13.3.0.eb @@ -0,0 +1,25 @@ +easyblock = 'ConfigureMake' + +name = 'help2man' +version = '1.49.3' + +homepage = 'https://www.gnu.org/software/help2man/' +description = """help2man produces simple manual pages from the '--help' and '--version' output of other commands.""" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} + +source_urls = [GNU_SOURCE] +sources = [SOURCE_TAR_XZ] +checksums = ['4d7e4fdef2eca6afe07a2682151cea78781e0a4e8f9622142d9f70c083a2fd4f'] + +builddependencies = [ + # use same binutils version that was used when building GCC toolchain + ('binutils', '2.42', '', SYSTEM), +] + +sanity_check_paths = { + 'files': ['bin/help2man'], + 'dirs': [], +} + +moduleclass = 'tools' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/j/jemalloc/jemalloc-5.3.0-GCCcore-13.3.0.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/j/jemalloc/jemalloc-5.3.0-GCCcore-13.3.0.eb new file mode 100644 index 00000000..e5cf29ff --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/j/jemalloc/jemalloc-5.3.0-GCCcore-13.3.0.eb @@ -0,0 +1,38 @@ +easyblock = 'ConfigureMake' + +name = 'jemalloc' +version = '5.3.0' + +homepage = 'https://jemalloc.net' +description = """jemalloc is a general purpose malloc(3) implementation that emphasizes fragmentation avoidance and + scalable concurrency support.""" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} + +source_urls = ['https://github.com/jemalloc/jemalloc/archive'] +sources = ['%(version)s.tar.gz'] +checksums = ['ef6f74fd45e95ee4ef7f9e19ebe5b075ca6b7fbe0140612b2a161abafb7ee179'] + +builddependencies = [ + ('Autotools', '20231222'), + ('binutils', '2.42'), +] + +preconfigopts = "./autogen.sh && " +configopts = "--with-version=%(version)s-0-g0000 " # build with version info +# From version 5.2.1 (or maybe earlier) it does no longer build, +# nor try to install, documentation if xsltproc is missing. +# However, xsltproc may still be available in the system, so explicitly disable it +configopts += "--disable-doc " + +sanity_check_paths = { + 'files': ['bin/jeprof', 'lib/libjemalloc.a', 'lib/libjemalloc_pic.a', f'lib/libjemalloc.{SHLIB_EXT}', + 'include/jemalloc/jemalloc.h'], + 'dirs': [], +} + +# jemalloc can be used via $LD_PRELOAD, but we don't enable this by +# default, you need to opt-in to it +# modextrapaths = {'LD_PRELOAD': ['lib/libjemalloc.%s' % SHLIB_EXT]} + +moduleclass = 'lib' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/l/libtool/libtool-2.4.7-GCCcore-13.3.0.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/l/libtool/libtool-2.4.7-GCCcore-13.3.0.eb new file mode 100644 index 00000000..ae8cf1bd --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/l/libtool/libtool-2.4.7-GCCcore-13.3.0.eb @@ -0,0 +1,32 @@ +easyblock = 'ConfigureMake' + +name = 'libtool' +version = '2.4.7' + +homepage = 'https://www.gnu.org/software/libtool' + +description = """ + GNU libtool is a generic library support script. Libtool hides the complexity + of using shared libraries behind a consistent, portable interface. +""" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['04e96c2404ea70c590c546eba4202a4e12722c640016c12b9b2f1ce3d481e9a8'] + +builddependencies = [ + ('binutils', '2.42'), +] + +dependencies = [ + ('M4', '1.4.19'), +] + +sanity_check_paths = { + 'files': ['bin/libtool', 'bin/libtoolize', 'lib/libltdl.%s' % SHLIB_EXT], + 'dirs': ['include/libltdl', 'share/libtool/loaders', 'share/man/man1'], +} + +moduleclass = 'lib' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/m/M4/M4-1.4.19-GCCcore-13.3.0.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/m/M4/M4-1.4.19-GCCcore-13.3.0.eb new file mode 100644 index 00000000..7ea1e75f --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/m/M4/M4-1.4.19-GCCcore-13.3.0.eb @@ -0,0 +1,29 @@ +easyblock = 'ConfigureMake' + +name = 'M4' +version = '1.4.19' + +homepage = 'https://www.gnu.org/software/m4/m4.html' +description = """GNU M4 is an implementation of the traditional Unix macro processor. It is mostly SVR4 compatible + although it has some extensions (for example, handling more than 9 positional parameters to macros). + GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc.""" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70'] + +# use same binutils version that was used when building GCC toolchain +builddependencies = [('binutils', '2.42', '', SYSTEM)] + +# '-fgnu89-inline' is required to avoid linking errors with older glibc's, +# see https://github.com/easybuilders/easybuild-easyconfigs/issues/529 +configopts = "--enable-c++ CPPFLAGS=-fgnu89-inline" + +sanity_check_paths = { + 'files': ['bin/m4'], + 'dirs': [], +} + +moduleclass = 'devel' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/m/M4/M4-1.4.19.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/m/M4/M4-1.4.19.eb new file mode 100644 index 00000000..5beadaab --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/m/M4/M4-1.4.19.eb @@ -0,0 +1,40 @@ +easyblock = 'ConfigureMake' + +name = 'M4' +version = '1.4.19' + +homepage = 'https://www.gnu.org/software/m4/m4.html' + +description = """ + GNU M4 is an implementation of the traditional Unix macro processor. It is + mostly SVR4 compatible although it has some extensions (for example, handling + more than 9 positional parameters to macros). GNU M4 also has built-in + functions for including files, running shell commands, doing arithmetic, etc. +""" + +toolchain = SYSTEM + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +patches = ["M4-1.4.19_fix-asm-usage-when-c-std-is-set.patch"] + +checksums = [ + # m4-1.4.19.tar.gz + '3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70', + # M4-1.4.19_fix-asm-usage-when-c-std-is-set.patch + '95d769a72e55737f76b049f75c67198ba0ce1260850e8100254af1dcc52a542f', +] + +# '-fgnu89-inline' is required to avoid linking errors with older glibc's, +# see https://github.com/easybuilders/easybuild-easyconfigs/issues/529 +configopts = "--enable-c++ CPPFLAGS=-fgnu89-inline " +# GCC 15 will default to C23 as its C standard. This causes M4 builds to fail. +# Set the C standard to C99 to avoid this issue. C89 fails the build as well. +configopts += "CFLAGS=-std=c99 " + +sanity_check_paths = { + 'files': ['bin/m4'], + 'dirs': [], +} + +moduleclass = 'devel' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/p/Perl/Perl-5.38.2-GCCcore-13.3.0.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/p/Perl/Perl-5.38.2-GCCcore-13.3.0.eb new file mode 100644 index 00000000..f704ad30 --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/p/Perl/Perl-5.38.2-GCCcore-13.3.0.eb @@ -0,0 +1,86 @@ +name = 'Perl' +version = '5.38.2' + +homepage = 'https://www.perl.org/' +description = """Larry Wall's Practical Extraction and Report Language + +Includes a small selection of extra CPAN packages for core functionality. +""" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://www.cpan.org/src/%(version_major)s.0'] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['a0a31534451eb7b83c7d6594a497543a54d488bc90ca00f5e34762577f40655e'] + +builddependencies = [ + ('binutils', '2.42'), +] + +dependencies = [ + ('zlib', '1.3.1'), +] + +# !! order of extensions is important !! +# extensions updated on 2023-09-03 +# includes all dependencies for Autotools +exts_list = [ + ('threads', '2.21', { + 'source_tmpl': 'threads-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JD/JDHEDDEN'], + 'checksums': ['28394c98a2bcae6f20ffb8a3d965a1c194b764c650169e2050ee38dbaa10f110'], + }), + ('constant', '1.33', { + 'source_tmpl': 'constant-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'], + 'checksums': ['79965d4130eb576670e27ca0ae6899ef0060c76da48b02b97682166882f1b504'], + }), + ('Getopt::Long', '2.57', { + 'source_tmpl': 'Getopt-Long-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JV/JV'], + 'checksums': ['d3791e6bf167708364ea5ad3be578dc9173a0076167160a4341c05a1e979795e'], + }), + ('File::Path', '2.18', { + 'source_tmpl': 'File-Path-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/'], + 'checksums': ['980f0a17edb353df46e9cd7b357f9f5929cde0f80c45fd7a06cf7e0e8bd6addd'], + }), + ('File::Spec', '3.75', { + 'source_tmpl': 'PathTools-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX'], + 'checksums': ['a558503aa6b1f8c727c0073339081a77888606aa701ada1ad62dd9d8c3f945a2'], + }), + ('IO::File', '1.55', { + 'source_tmpl': 'IO-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TO/TODDR/'], + 'checksums': ['0443afebb9a48f29611e9b17a017f430b51167a498fa4646c07f8dce03b6b95f'], + }), + ('Thread::Queue', '3.13', { + 'source_tmpl': 'Thread-Queue-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JD/JDHEDDEN'], + 'checksums': ['6ba3dacddd2fbb66822b4aa1d11a0a5273cd04c825cb3ff31c20d7037cbfdce8'], + }), + ('Carp', '1.50', { + 'source_tmpl': 'Carp-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX'], + 'checksums': ['f5273b4e1a6d51b22996c48cb3a3cbc72fd456c4038f5c20b127e2d4bcbcebd9'], + }), + ('Exporter', '5.78', { + 'source_tmpl': 'Exporter-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/T/TO/TODDR'], + 'checksums': ['bd17e99219aa2fb6a8acb3d11deffcb588708c70fc29f346e20ea7f71d3a48f0'], + }), + ('Text::ParseWords', '3.31', { + 'source_tmpl': 'Text-ParseWords-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NE/NEILB/'], + 'checksums': ['2ae555ba084d75b2b8feeeb8d1a00911276815ada86bccb1452236964d5a2fc7'], + }), + ('Data::Dumper', '2.183', { + 'source_tmpl': 'Data-Dumper-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/'], + 'checksums': ['e42736890b7dae1b37818d9c5efa1f1fdc52dec04f446a33a4819bf1d4ab5ad3'], + }), +] + +moduleclass = 'lang' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/s/sentieon-genomics/sentieon-genomics-202503.02.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/s/sentieon-genomics/sentieon-genomics-202503.02.eb new file mode 100644 index 00000000..e367c498 --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/s/sentieon-genomics/sentieon-genomics-202503.02.eb @@ -0,0 +1,59 @@ +easyblock = 'Tarball' + +name = 'sentieon-genomics' +version = '202503.02' + +homepage = 'https://www.sentieon.com/' +description = """Sentieon Genomics is a proprietary toolkit for fast and accurate +processing of next-generation sequencing data, including variant calling +and related analysis workflows. Use of this software requires a valid +Sentieon license.""" + +toolchain = SYSTEM + +download_instructions = """ +Download manually from the Sentieon customer portal (login required), +then place the tarball in: + + easybuild/sources/s/sentieon-genomics/ + +Expected filename: + sentieon-genomics-%(version)s.tar.gz +""" + +dependencies = [ + ('jemalloc', '5.3.0-GCCcore-13.3.0'), +] + +sources = [f'{name}-{version}.tar.gz'] +checksums = ['b3d619b6b9305178ace70f7c46df786db4e697d31699df9e13db575caec2e470'] + +sanity_check_paths = { + 'files': [ + 'bin/sentieon', + 'lib/libbz2.so.1', + 'lib/libhdf5.so.6', + 'lib/liblapack.so.3', + 'lib/libz.so.1', + ], + 'dirs': [], +} + +modextravars = { + 'SENTIEON_HOME': '%(installdir)s', +} + +modluafooter = """ +-- jemalloc preload +local jem = os.getenv("EBROOTJEMALLOC") +if jem ~= nil then + prepend_path("LD_PRELOAD", pathJoin(jem, "lib", "libjemalloc.so")) +end +""" + +modloadmsg = ( + "Sentieon requires a license. Set SENTIEON_LICENSE (or use your license-server setup) " + "before running." +) + +moduleclass = 'bio' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/z/zlib/zlib-1.3.1-GCCcore-13.3.0.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/z/zlib/zlib-1.3.1-GCCcore-13.3.0.eb new file mode 100644 index 00000000..3f9304a0 --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/z/zlib/zlib-1.3.1-GCCcore-13.3.0.eb @@ -0,0 +1,26 @@ +easyblock = 'ConfigureMake' + +name = 'zlib' +version = '1.3.1' + +homepage = 'https://www.zlib.net/' +description = """zlib is designed to be a free, general-purpose, legally unencumbered -- that is, + not covered by any patents -- lossless data-compression library for use on virtually any + computer hardware and operating system.""" + +toolchain = {'name': 'GCCcore', 'version': '13.3.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://zlib.net/fossils'] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23'] + +# use same binutils version that was used when building GCC toolchain +builddependencies = [('binutils', '2.42', '', SYSTEM)] + +sanity_check_paths = { + 'files': ['include/zconf.h', 'include/zlib.h', 'lib/libz.a', 'lib/libz.%s' % SHLIB_EXT], + 'dirs': [], +} + +moduleclass = 'lib' diff --git a/fixtures/parity_sentieon_system_dep/easyconfigs/z/zlib/zlib-1.3.1.eb b/fixtures/parity_sentieon_system_dep/easyconfigs/z/zlib/zlib-1.3.1.eb new file mode 100644 index 00000000..1a9e2e26 --- /dev/null +++ b/fixtures/parity_sentieon_system_dep/easyconfigs/z/zlib/zlib-1.3.1.eb @@ -0,0 +1,31 @@ +easyblock = 'ConfigureMake' + +name = 'zlib' +version = '1.3.1' + +homepage = 'https://www.zlib.net/' + +description = """ + zlib is designed to be a free, general-purpose, legally unencumbered -- that + is, not covered by any patents -- lossless data-compression library for use + on virtually any computer hardware and operating system. +""" + +toolchain = SYSTEM + +source_urls = ['https://zlib.net/fossils/'] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23'] + +# need to take care of $CFLAGS ourselves with SYSTEM toolchain +# we need to add -fPIC, but should also include -O* option to avoid +# compiling with -O0 (default for GCC) +buildopts = 'CFLAGS="-O2 -fPIC"' + +sanity_check_paths = { + 'files': ['include/zconf.h', 'include/zlib.h', 'lib/libz.a', + 'lib/libz.%s' % SHLIB_EXT], + 'dirs': [], +} + +moduleclass = 'lib' diff --git a/fixtures/parity_sparse_compiler_hierarchy/LICENSE b/fixtures/parity_sparse_compiler_hierarchy/LICENSE new file mode 100644 index 00000000..d159169d --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/LICENSE @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/fixtures/parity_sparse_compiler_hierarchy/README.md b/fixtures/parity_sparse_compiler_hierarchy/README.md new file mode 100644 index 00000000..7333ab56 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/README.md @@ -0,0 +1,14 @@ +# Parity fixture: sparse-tree compiler & suffixed subtoolchain hierarchies + +Verbatim GPL-2.0-only excerpts vendored from EasyBuild upstream for toolchain +hierarchy parity tests (`tests/toolchain_hierarchy_parity.rs`). Excluded from +the published `eb_stack` crate via `Cargo.toml` `exclude = ["fixtures/parity_*/"]`. + +- Upstream `easybuild-easyconfigs` commit `b210e3fdfe940821d74bbbb0d4e0469f16649963`: + minimal `iimkl-2025b` (no recipe uses `intel-compilers` as its `toolchain`) + and `rompi-2025a` (`rocm-compilers-19.0.0-ROCm-6.4.1` split version/versionsuffix) + `get_toolchain_hierarchy` easyconfig closure (27 files) +- Upstream `easybuild-framework` commit `8907031c218b8a331de7c9d411555ead05df0411`: + `easybuild/toolchains/iimkl.py`, `easybuild/toolchains/compiler/intel_compilers.py`, + `easybuild/toolchains/rompi.py`, `easybuild/toolchains/compiler/rocm_compilers.py` +- `LICENSE`: verbatim upstream GNU General Public License v2.0 (`sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643`) diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/a/Autotools/Autotools-20240712-GCCcore-14.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/a/Autotools/Autotools-20240712-GCCcore-14.2.0.eb new file mode 100644 index 00000000..cd7cab79 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/a/Autotools/Autotools-20240712-GCCcore-14.2.0.eb @@ -0,0 +1,24 @@ +easyblock = 'Bundle' + +name = 'Autotools' +version = '20240712' # date of the most recent change + +homepage = 'https://autotools.io' + +description = """ + This bundle collect the standard GNU build tools: Autoconf, Automake + and libtool +""" + +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} + +dependencies = [ + ('Autoconf', '2.72'), # 20240712 + ('Automake', '1.17'), # 20211003 + ('libtool', '2.5.4'), # 20220317 +] + +# Pure bundle -- no need to specify 'binutils' used when building GCCcore +# toolchain as build dependency + +moduleclass = 'devel' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/b/binutils/binutils-2.42-GCCcore-14.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/b/binutils/binutils-2.42-GCCcore-14.2.0.eb new file mode 100644 index 00000000..94b762d7 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/b/binutils/binutils-2.42-GCCcore-14.2.0.eb @@ -0,0 +1,31 @@ +name = 'binutils' +version = '2.42' + +homepage = 'https://directory.fsf.org/project/binutils/' +description = "binutils: GNU binary utilities" + +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} + +source_urls = [GNU_SOURCE] +sources = [SOURCE_TAR_GZ] +checksums = ['5d2a6c1d49686a557869caae08b6c2e83699775efd27505e01b2f4db1a024ffc'] + +builddependencies = [ + ('flex', '2.6.4'), + ('Bison', '3.8.2'), + # use same binutils version that was used when building GCC toolchain, to 'bootstrap' this binutils + ('binutils', version, '', SYSTEM) +] + +dependencies = [ + # zlib is a runtime dep to avoid that it gets embedded in libbfd.so, + # see https://github.com/easybuilders/easybuild-easyblocks/issues/1350 + ('zlib', '1.3.1'), +] + +# avoid build failure when makeinfo command is not available +# see https://sourceware.org/bugzilla/show_bug.cgi?id=15345 +buildopts = 'MAKEINFO=true' +installopts = buildopts + +moduleclass = 'tools' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/b/binutils/binutils-2.42.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/b/binutils/binutils-2.42.eb new file mode 100644 index 00000000..93223d73 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/b/binutils/binutils-2.42.eb @@ -0,0 +1,26 @@ +name = 'binutils' +version = '2.42' + +homepage = 'https://directory.fsf.org/project/binutils/' + +description = "binutils: GNU binary utilities" + +toolchain = SYSTEM + +source_urls = [GNU_SOURCE] +sources = [SOURCE_TAR_GZ] +checksums = ['5d2a6c1d49686a557869caae08b6c2e83699775efd27505e01b2f4db1a024ffc'] + +builddependencies = [ + ('flex', '2.6.4'), + ('Bison', '3.8.2'), + # zlib required, but being linked in statically, so not a runtime dep + ('zlib', '1.3.1'), +] + +# avoid build failure when makeinfo command is not available +# see https://sourceware.org/bugzilla/show_bug.cgi?id=15345 +buildopts = 'MAKEINFO=true' +installopts = buildopts + +moduleclass = 'tools' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/b/binutils/binutils-2.44-GCCcore-14.3.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/b/binutils/binutils-2.44-GCCcore-14.3.0.eb new file mode 100644 index 00000000..318a5f66 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/b/binutils/binutils-2.44-GCCcore-14.3.0.eb @@ -0,0 +1,31 @@ +name = 'binutils' +version = '2.44' + +homepage = 'https://directory.fsf.org/project/binutils/' +description = "binutils: GNU binary utilities" + +toolchain = {'name': 'GCCcore', 'version': '14.3.0'} + +source_urls = [GNU_SOURCE] +sources = [SOURCE_TAR_GZ] +checksums = ['0cdd76777a0dfd3dd3a63f215f030208ddb91c2361d2bcc02acec0f1c16b6a2e'] + +builddependencies = [ + ('flex', '2.6.4'), + ('Bison', '3.8.2'), + # use same binutils version that was used when building GCC toolchain, to 'bootstrap' this binutils + ('binutils', version, '', SYSTEM) +] + +dependencies = [ + # zlib is a runtime dep to avoid that it gets embedded in libbfd.so, + # see https://github.com/easybuilders/easybuild-easyblocks/issues/1350 + ('zlib', '1.3.1'), +] + +# avoid build failure when makeinfo command is not available +# see https://sourceware.org/bugzilla/show_bug.cgi?id=15345 +buildopts = 'MAKEINFO=true' +installopts = buildopts + +moduleclass = 'tools' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/b/binutils/binutils-2.44.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/b/binutils/binutils-2.44.eb new file mode 100644 index 00000000..3cc362f2 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/b/binutils/binutils-2.44.eb @@ -0,0 +1,26 @@ +name = 'binutils' +version = '2.44' + +homepage = 'https://directory.fsf.org/project/binutils/' + +description = "binutils: GNU binary utilities" + +toolchain = SYSTEM + +source_urls = [GNU_SOURCE] +sources = [SOURCE_TAR_GZ] +checksums = ['0cdd76777a0dfd3dd3a63f215f030208ddb91c2361d2bcc02acec0f1c16b6a2e'] + +builddependencies = [ + ('flex', '2.6.4'), + ('Bison', '3.8.2'), + # zlib required, but being linked in statically, so not a runtime dep + ('zlib', '1.3.1'), +] + +# avoid build failure when makeinfo command is not available +# see https://sourceware.org/bugzilla/show_bug.cgi?id=15345 +buildopts = 'MAKEINFO=true' +installopts = buildopts + +moduleclass = 'tools' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/g/GCCcore/GCCcore-14.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/g/GCCcore/GCCcore-14.2.0.eb new file mode 100644 index 00000000..23f8cd41 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/g/GCCcore/GCCcore-14.2.0.eb @@ -0,0 +1,76 @@ +easyblock = 'EB_GCC' + +name = 'GCCcore' +version = '14.2.0' + +homepage = 'https://gcc.gnu.org/' +description = """The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada, + as well as libraries for these languages (libstdc++, libgcj,...).""" + +toolchain = SYSTEM + +source_urls = [ + 'https://ftpmirror.gnu.org/gnu/gcc/gcc-%(version)s', # GCC auto-resolving HTTP mirror + 'https://sourceware.org/pub/gcc/releases/gcc-%(version)s', # fallback URL for GCC + 'https://ftpmirror.gnu.org/gnu/gmp', # idem for GMP + 'https://ftpmirror.gnu.org/gnu/mpfr', # idem for MPFR + 'https://ftpmirror.gnu.org/gnu/mpc', # idem for MPC + 'ftp://gcc.gnu.org/pub/gcc/infrastructure/', # GCC dependencies + 'https://gcc.gnu.org/pub/gcc/infrastructure/', # HTTPS mirror for GCC dependencies + 'https://libisl.sourceforge.io/', # fallback URL for isl + 'https://sourceware.org/pub/newlib/', # for newlib + 'https://github.com/MentorEmbedded/nvptx-tools/archive', # for nvptx-tools +] +sources = [ + 'gcc-%(version)s.tar.gz', + 'gmp-6.3.0.tar.bz2', + 'mpfr-4.2.1.tar.bz2', + 'mpc-1.3.1.tar.gz', + 'isl-0.26.tar.bz2', + 'newlib-4.4.0.20231231.tar.gz', + {'download_filename': '3136cf9.tar.gz', 'filename': 'nvptx-tools-20240801.tar.gz'}, +] +patches = [ + 'GCCcore-6.2.0-fix-find-isl.patch', + 'GCCcore-9.3.0_gmp-c99.patch', + 'GCCcore-15.2.0_glibc-cd748a6.patch', + 'GCCcore-15.2.0_fix-C++26.patch', + 'GCCcore-14.x.0_move-sstream-memory-include.patch', + 'GCCcore-14.x.0_fix-libsanitizer-kernel-headers.patch', + 'GCCcore-14.x.0_fix-libsanitizer-glibc-2.42.patch', +] +checksums = [ + {'gcc-14.2.0.tar.gz': '7d376d445f93126dc545e2c0086d0f647c3094aae081cdb78f42ce2bc25e7293'}, + {'gmp-6.3.0.tar.bz2': 'ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb'}, + {'mpfr-4.2.1.tar.bz2': 'b9df93635b20e4089c29623b19420c4ac848a1b29df1cfd59f26cab0d2666aa0'}, + {'mpc-1.3.1.tar.gz': 'ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8'}, + {'isl-0.26.tar.bz2': '5eac8664e9d67be6bd0bee5085d6840b8baf738c06814df47eaf4166d9776436'}, + {'newlib-4.4.0.20231231.tar.gz': '0c166a39e1bf0951dfafcd68949fe0e4b6d3658081d6282f39aeefc6310f2f13'}, + {'nvptx-tools-20240801.tar.gz': 'a1106bf11b66d12e67194d8aa37196bb96996b614f44b3d3bc1b5854eefec03c'}, + {'GCCcore-6.2.0-fix-find-isl.patch': '5ad909606d17d851c6ad629b4fddb6c1621844218b8d139fed18c502a7696c68'}, + {'GCCcore-9.3.0_gmp-c99.patch': '0e135e1cc7cec701beea9d7d17a61bab34cfd496b4b555930016b98db99f922e'}, + {'GCCcore-15.2.0_glibc-cd748a6.patch': '267ff4ab1ae3a90d8f2cefe10fe11fbf055d99973afdeef3a56d78380f4ae770'}, + {'GCCcore-15.2.0_fix-C++26.patch': '19312814544c5cf5fc60142d41df47a8ba417559f83365eac67c566ea45a222c'}, + {'GCCcore-14.x.0_move-sstream-memory-include.patch': + '0ebcce50962830a02c26c06af2fea71193c4a39dbb0ea8936d9db4a89e37e19c'}, + {'GCCcore-14.x.0_fix-libsanitizer-kernel-headers.patch': + '11d8bb320758508c64f8ca44420b1c60f83e4a9b647d37a5da3b87d5c9eddb0c'}, + {'GCCcore-14.x.0_fix-libsanitizer-glibc-2.42.patch': + '433d5093e353d35c379bda5fc7bd13521c39ee0ee0914764017241737308a80b'}, +] + +builddependencies = [ + ('M4', '1.4.19'), + ('binutils', '2.42'), +] + +languages = ['c', 'c++', 'fortran'] + +withisl = True +withnvptx = True + +# Perl is only required when building with NVPTX support +if withnvptx: + osdependencies = ['perl'] + +moduleclass = 'compiler' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/g/GCCcore/GCCcore-14.3.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/g/GCCcore/GCCcore-14.3.0.eb new file mode 100644 index 00000000..e34838e7 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/g/GCCcore/GCCcore-14.3.0.eb @@ -0,0 +1,79 @@ +easyblock = 'EB_GCC' + +name = 'GCCcore' +version = '14.3.0' + +homepage = 'https://gcc.gnu.org/' +description = """The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada, + as well as libraries for these languages (libstdc++, libgcj,...).""" + +toolchain = SYSTEM + +source_urls = [ + 'https://ftpmirror.gnu.org/gnu/gcc/gcc-%(version)s', # GCC auto-resolving HTTP mirror + 'https://sourceware.org/pub/gcc/releases/gcc-%(version)s', # fallback URL for GCC + 'https://ftpmirror.gnu.org/gnu/gmp', # idem for GMP + 'https://ftpmirror.gnu.org/gnu/mpfr', # idem for MPFR + 'https://ftpmirror.gnu.org/gnu/mpc', # idem for MPC + 'ftp://gcc.gnu.org/pub/gcc/infrastructure/', # GCC dependencies + 'https://gcc.gnu.org/pub/gcc/infrastructure/', # HTTPS mirror for GCC dependencies + 'https://libisl.sourceforge.io/', # fallback URL for isl + 'https://sourceware.org/pub/newlib/', # for newlib + 'https://github.com/MentorEmbedded/nvptx-tools/archive', # for nvptx-tools +] +sources = [ + 'gcc-%(version)s.tar.gz', + 'gmp-6.3.0.tar.bz2', + 'mpfr-4.2.2.tar.bz2', + 'mpc-1.3.1.tar.gz', + 'isl-0.27.tar.bz2', + 'newlib-4.5.0.20241231.tar.gz', + {'download_filename': 'a0c1fff.tar.gz', 'filename': 'nvptx-tools-20250523.tar.gz'}, +] +patches = [ + 'GCCcore-6.2.0-fix-find-isl.patch', + 'GCCcore-9.3.0_gmp-c99.patch', + 'GCCcore-15.2.0_glibc-cd748a6.patch', + 'GCCcore-15.2.0_fix-C++26.patch', + 'GCCcore-14.x.0_move-sstream-memory-include.patch', + 'GCCcore-14.x.0_fix-libsanitizer-kernel-headers.patch', + 'GCCcore-14.x.0_fix-libsanitizer-glibc-2.42.patch', + 'GCCcore-14.3.0_fix-invalid-AVX512-vmovsh.patch', +] +checksums = [ + {'gcc-14.3.0.tar.gz': 'ace8b8b0dbfe6abfc22f821cb093e195aa5498b7ccf7cd23e4424b9f14afed22'}, + {'gmp-6.3.0.tar.bz2': 'ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb'}, + {'mpfr-4.2.2.tar.bz2': '9ad62c7dc910303cd384ff8f1f4767a655124980bb6d8650fe62c815a231bb7b'}, + {'mpc-1.3.1.tar.gz': 'ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8'}, + {'isl-0.27.tar.bz2': '626335529331f7c89fec493de929e2e92fb3d8cc860fc7af554e0518ee0029ee'}, + {'newlib-4.5.0.20241231.tar.gz': '33f12605e0054965996c25c1382b3e463b0af91799001f5bb8c0630f2ec8c852'}, + {'nvptx-tools-20250523.tar.gz': '155aa3f972af6e6ad38096a902ad89f54892d21d43a3c8d4eefe0936e37f57b7'}, + {'GCCcore-6.2.0-fix-find-isl.patch': '5ad909606d17d851c6ad629b4fddb6c1621844218b8d139fed18c502a7696c68'}, + {'GCCcore-9.3.0_gmp-c99.patch': '0e135e1cc7cec701beea9d7d17a61bab34cfd496b4b555930016b98db99f922e'}, + {'GCCcore-15.2.0_glibc-cd748a6.patch': '267ff4ab1ae3a90d8f2cefe10fe11fbf055d99973afdeef3a56d78380f4ae770'}, + {'GCCcore-15.2.0_fix-C++26.patch': '19312814544c5cf5fc60142d41df47a8ba417559f83365eac67c566ea45a222c'}, + {'GCCcore-14.x.0_move-sstream-memory-include.patch': + '0ebcce50962830a02c26c06af2fea71193c4a39dbb0ea8936d9db4a89e37e19c'}, + {'GCCcore-14.x.0_fix-libsanitizer-kernel-headers.patch': + '11d8bb320758508c64f8ca44420b1c60f83e4a9b647d37a5da3b87d5c9eddb0c'}, + {'GCCcore-14.x.0_fix-libsanitizer-glibc-2.42.patch': + '433d5093e353d35c379bda5fc7bd13521c39ee0ee0914764017241737308a80b'}, + {'GCCcore-14.3.0_fix-invalid-AVX512-vmovsh.patch': + '9a2764c113be4317e337612e9355fcb01d5614ca1131f0173d2dd693fef56ee8'}, +] + +builddependencies = [ + ('M4', '1.4.20'), + ('binutils', '2.44'), +] + +languages = ['c', 'c++', 'fortran'] + +withisl = True +withnvptx = True + +# Perl is only required when building with NVPTX support +if withnvptx: + osdependencies = ['perl'] + +moduleclass = 'compiler' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/h/HIP/HIP-6.4.1-rocm-compilers-19.0.0-ROCm-6.4.1.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/h/HIP/HIP-6.4.1-rocm-compilers-19.0.0-ROCm-6.4.1.eb new file mode 100644 index 00000000..87af97e7 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/h/HIP/HIP-6.4.1-rocm-compilers-19.0.0-ROCm-6.4.1.eb @@ -0,0 +1,119 @@ +# Author: Jan André Reuter + +easyblock = 'Bundle' + +name = 'HIP' +_rocm_version = '6.4.1' +version = _rocm_version + +homepage = 'https://github.com/ROCm/HIP' +description = """HIP is a C++ Runtime API and Kernel Language that allows +developers to create portable applications for AMD and NVIDIA GPUs from single +source code.""" +docurls = ['https://rocmdocs.amd.com/projects/HIP/'] + +toolchain = {'name': 'rocm-compilers', 'version': '19.0.0-ROCm-6.4.1'} + +builddependencies = [ + ('CMake', '3.31.3'), + ('CppHeaderParser', '2.7.4'), +] + +dependencies = [ + ('libglvnd', '1.7.0'), + ('rocm-cmake', '0.14.0'), + ('numactl', '2.0.19'), + ('Perl', '5.40.0'), + ('rocminfo', '1.0.0'), + ('rocprofiler-register', '0.4.0', f'-ROCm-{_rocm_version}'), +] + +default_easyblock = 'CMakeMake' + +default_component_specs = { + 'source_urls': ['https://github.com/ROCm/%(name)s/archive/'], + 'sources': [{ + 'download_filename': '%(version)s.tar.gz', + 'filename': '%(name)s-%(version)s.tar.gz', + }], + 'srcdir': '%(name)s-%(version)s', +} + +components = [ + ('HIPCC', '%s' % _rocm_version, { + 'sources': [ + { + 'source_urls': ['https://github.com/ROCm/llvm-project/archive/'], + 'download_filename': 'rocm-%(version)s.tar.gz', + 'filename': 'llvm-project-rocm-%(version)s.tar.gz' + }, + ], + 'patches': [('HIP-6.3.3_correct_paths_clang_and_rocm_agent_enum.patch', + 'llvm-project-rocm-%s' % _rocm_version)], + 'checksums': [ + '460ad28677092b9eb86ffdc49bcb4d01035e32b4f05161d85f90c9fa80239f50', # llvm-project-rocm-6.4.1.tar.gz + # HIP-6.3.3_correct_paths_clang_and_rocm_agent_enum.patch + 'c8ea395730df8e3b13b937b707c930bf1b5e43b55a667a41b6d141f7faf3f325', + + ], + 'srcdir': 'llvm-project-rocm-%s/amd/hipcc' % _rocm_version, + }), + ('HIP', '%s' % _rocm_version, { + 'sources': [ + { + 'source_urls': ['https://github.com/ROCm/clr/archive/'], + 'download_filename': 'rocm-%(version)s.tar.gz', + 'filename': 'clr-%(version)s.tar.gz', + }, + { + 'source_urls': ['https://github.com/ROCm/HIP/archive/'], + 'download_filename': 'rocm-%(version)s.tar.gz', + 'filename': 'HIP-%(version)s.tar.gz', + }, + ], + 'checksums': [ + '18ee75a04f6fc55e72f8b3fcad1e0d58eceb2ce0e0696ca76d9b3dfaf4bfd7ff', # clr-rocm-6.4.1.tar.gz + 'f26f098b08504636c6f4e1da45b162f1df2ce6608eba85606fa7932d8fea960f', # HIP-rocm-6.4.1.tar.gz + ], + 'srcdir': 'clr-rocm-%s' % _rocm_version, + 'configopts': '-DHIP_COMMON_DIR=%(builddir)s/hip-rocm-%(version)s/ -DHIP_PLATFORM=amd ' + + '-DHIPCC_BIN_DIR=%(installdir)s/bin -DCLR_BUILD_HIP=ON -DCLR_BUILD_OCL=OFF' + }), +] + +sanity_check_paths = { + 'files': ['bin/%s' % x for x in ['hipcc', 'hipcc.pl', 'hipconfig', 'hipconfig.pl']] + + ['bin/%s' % x for x in ['roc-obj', 'roc-obj-extract', 'roc-obj-ls']] + + ['include/hip/hip_common.h', 'include/hip/hip_runtime.h', 'lib/libamdhip64.%s' % SHLIB_EXT], + 'dirs': [], +} +sanity_check_commands = [ + 'hipcc --help', + 'hipconfig --full' +] + +modextravars = { + 'HIP_COMPILER': 'amdclang', + 'HIP_INCLUDE_PATH': '%(installdir)s/include', + 'HIP_LIB_PATH': '%(installdir)s/lib', + 'HIP_PATH': '%(installdir)s', + 'HIP_RUNTIME': 'rocclr', + 'HIPCC_PATH': '%(installdir)s', + 'ROCM_PATH': '%(installdir)s', +} + +modluafooter = """ +setenv("DEVICE_LIB_PATH", os.getenv("EBROOTROCMMINLLVM") .. "/amdgcn/bitcode") +setenv("HIP_CLANG_INCLUDE_PATH", os.getenv("EBROOTROCMMINLLVM") .. "/include") +setenv("HIP_CLANG_PATH", os.getenv("EBROOTROCMMINLLVM") .. "/bin") +setenv("HSA_PATH", os.getenv("EBROOTROCMMINLLVM")) +""" + +modtclfooter = """ +setenv DEVICE_LIB_PATH $::env(EBROOTROCMMINLLVM)/amdgcn/bitcode +setenv HIP_CLANG_INCLUDE_PATH $::env(EBROOTROCMMINLLVM)/include +setenv HIP_CLANG_PATH $::env(EBROOTROCMMINLLVM)/bin +setenv HSA_PATH $::env(EBROOTROCMMINLLVM) +""" + +moduleclass = 'tools' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/h/hwloc/hwloc-2.11.2-GCCcore-14.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/h/hwloc/hwloc-2.11.2-GCCcore-14.2.0.eb new file mode 100644 index 00000000..66d8f938 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/h/hwloc/hwloc-2.11.2-GCCcore-14.2.0.eb @@ -0,0 +1,64 @@ +easyblock = 'ConfigureMake' + +name = 'hwloc' +version = '2.11.2' + +homepage = 'https://www.open-mpi.org/projects/hwloc/' + +description = """ + The Portable Hardware Locality (hwloc) software package provides a portable + abstraction (across OS, versions, architectures, ...) of the hierarchical + topology of modern architectures, including NUMA memory nodes, sockets, shared + caches, cores and simultaneous multithreading. It also gathers various system + attributes such as cache and memory information as well as the locality of I/O + devices such as network interfaces, InfiniBand HCAs or GPUs. It primarily + aims at helping applications with gathering information about modern computing + hardware so as to exploit it accordingly and efficiently. +""" + +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} + +source_urls = ['https://www.open-mpi.org/software/hwloc/v%(version_major_minor)s/downloads/'] +sources = [SOURCE_TAR_GZ] +patches = [ + 'hwloc-2.12.1_cpukinds-disable-pre-zen5.patch', + 'hwloc-2.11.2_cpukinds-toggle-acpi-cppc-use.patch', +] +checksums = [ + {'hwloc-2.11.2.tar.gz': '866ac8ef07b350a6a2ba0c6826c37d78e8994dcbcd443bdd2b436350de19d540'}, + {'hwloc-2.12.1_cpukinds-disable-pre-zen5.patch': + 'b8ad7d5d85f4c98819e108acff44877d97d9f0cef6aaa0cf0ec64bb56a7adfe8'}, + {'hwloc-2.11.2_cpukinds-toggle-acpi-cppc-use.patch': + 'f2cabd33d455056fcbba37d064904aad915c3c2b86f94972a2c347553d8e114a'}, +] + +builddependencies = [ + ('binutils', '2.42'), + ('pkgconf', '2.3.0'), +] + +dependencies = [ + ('numactl', '2.0.19'), + ('libxml2', '2.13.4'), + ('libpciaccess', '0.18.1'), +] + +configopts = ' '.join([ + '--enable-plugins', + '--disable-cairo', + '--disable-opencl', + '--disable-cuda', + '--disable-nvml', + '--disable-rsmi', + '--disable-levelzero', + '--disable-gl', + '--disable-libudev', +]) + +sanity_check_paths = { + 'files': ['bin/lstopo', 'include/hwloc/linux.h', f'lib/libhwloc.{SHLIB_EXT}'], + 'dirs': ['share/man/man3'], +} +sanity_check_commands = ['lstopo'] + +moduleclass = 'system' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/i/iimkl/iimkl-2025b.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/i/iimkl/iimkl-2025b.eb new file mode 100644 index 00000000..88e3b9d7 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/i/iimkl/iimkl-2025b.eb @@ -0,0 +1,18 @@ +# This is an easyconfig file for EasyBuild, see http://easybuilders.github.io/easybuild +easyblock = 'Toolchain' + +name = 'iimkl' +version = '2025b' + +homepage = 'https://software.intel.com/en-us/intel-cluster-toolkit-compiler/' +description = """Intel C/C++ and Fortran compilers, alongside Intel Math Kernel Library (MKL).""" + +toolchain = SYSTEM + +local_comp_ver = '2025.2.0' +dependencies = [ + ('intel-compilers', local_comp_ver), + ('imkl', '2025.2.0', '', SYSTEM), +] + +moduleclass = 'toolchain' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/i/imkl/imkl-2025.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/i/imkl/imkl-2025.2.0.eb new file mode 100644 index 00000000..8fecb525 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/i/imkl/imkl-2025.2.0.eb @@ -0,0 +1,18 @@ +name = 'imkl' +version = '2025.2.0' + +homepage = 'https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl.html' +description = "Intel oneAPI Math Kernel Library" + +toolchain = SYSTEM + +# see https://software.intel.com/content/www/us/en/develop/articles/oneapi-standalone-components.html +source_urls = ['https://registrationcenter-download.intel.com/akdlm/IRC_NAS/47c7d946-fca1-441a-b0df-b094e3f045ea/'] +sources = ['intel-onemkl-%(version)s.629_offline.sh'] +checksums = ['7bfdde1379a9cd3c2784af4352931a0527a5c483c9da71e851a3f06e055af7c7'] + +interfaces = False + +installopts = "--download-cache=%(builddir)s/cache --download-dir=%(builddir)s/download --log-dir=%(builddir)s/log" + +moduleclass = 'numlib' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/i/intel-compilers/intel-compilers-2025.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/i/intel-compilers/intel-compilers-2025.2.0.eb new file mode 100644 index 00000000..0467188c --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/i/intel-compilers/intel-compilers-2025.2.0.eb @@ -0,0 +1,37 @@ +name = 'intel-compilers' +version = '2025.2.0' + +homepage = 'https://software.intel.com/content/www/us/en/develop/tools/oneapi/hpc-toolkit.html' +description = "Intel C, C++ & Fortran compilers" + +toolchain = SYSTEM + +# see https://software.intel.com/content/www/us/en/develop/articles/oneapi-standalone-components.html +sources = [ + { + 'source_urls': [ + 'https://registrationcenter-download.intel.com/akdlm/IRC_NAS/39c79383-66bf-4f44-a6dd-14366e34e255/' + ], + 'filename': 'intel-dpcpp-cpp-compiler-%(version)s.527_offline.sh', + }, + { + 'source_urls': [ + 'https://registrationcenter-download.intel.com/akdlm/IRC_NAS/2c69ab6a-dfff-4d8f-ae1c-8368c79a1709/' + ], + 'filename': 'intel-fortran-compiler-%(version)s.534_offline.sh', + }, +] +checksums = [ + {'intel-dpcpp-cpp-compiler-2025.2.0.527_offline.sh': + 'aea3c1ccb97728db138b4f11f771411264292ba7bbec313782229510c9b831bc'}, + {'intel-fortran-compiler-2025.2.0.534_offline.sh': + '3808000bbcef15f17b608156b956e0114393a1b64ee6d9fb29be06450fa40083'}, +] + +local_gccver = '14.3.0' +dependencies = [ + ('GCCcore', local_gccver), + ('binutils', '2.44', '', ('GCCcore', local_gccver)), +] + +moduleclass = 'compiler' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/l/libevent/libevent-2.1.12-GCCcore-14.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/l/libevent/libevent-2.1.12-GCCcore-14.2.0.eb new file mode 100644 index 00000000..624f42a2 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/l/libevent/libevent-2.1.12-GCCcore-14.2.0.eb @@ -0,0 +1,38 @@ +easyblock = 'ConfigureMake' + +name = 'libevent' +version = '2.1.12' + +homepage = 'https://libevent.org/' + +description = """ + The libevent API provides a mechanism to execute a callback function when + a specific event occurs on a file descriptor or after a timeout has been + reached. Furthermore, libevent also support callbacks due to signals or + regular timeouts. +""" + +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/%(name)s/%(name)s/releases/download/release-%(version)s-stable/'] +sources = ['%(name)s-%(version)s-stable.tar.gz'] +checksums = ['92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb'] + +builddependencies = [ + ('binutils', '2.42'), + ('pkgconf', '2.3.0'), +] + +dependencies = [ + ('zlib', '1.3.1'), + ('OpenSSL', '3', '', SYSTEM), +] + +sanity_check_paths = { + 'files': ['bin/event_rpcgen.py', 'include/event.h', 'include/event2/event.h', + 'lib/libevent_core.%s' % SHLIB_EXT, 'lib/pkgconfig/libevent.pc'], + 'dirs': [], +} + +moduleclass = 'lib' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/l/libfabric/libfabric-2.0.0-GCCcore-14.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/l/libfabric/libfabric-2.0.0-GCCcore-14.2.0.eb new file mode 100644 index 00000000..065ddc5b --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/l/libfabric/libfabric-2.0.0-GCCcore-14.2.0.eb @@ -0,0 +1,69 @@ +easyblock = 'ConfigureMake' + +name = 'libfabric' +version = '2.0.0' + +homepage = 'https://ofiwg.github.io/libfabric/' +description = """ +Libfabric is a core component of OFI. It is the library that defines and exports +the user-space API of OFI, and is typically the only software that applications +deal with directly. It works in conjunction with provider libraries, which are +often integrated directly into libfabric. +""" + +# The psm3 provider (enabled by default) requires an AVX capable system to run +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/ofiwg/libfabric/releases/download/v%(version)s'] +sources = [SOURCE_TAR_BZ2] +patches = ['%(name)s-%(version)s_opx_hfi1_pre_cn5000.patch'] +checksums = [ + {'libfabric-2.0.0.tar.bz2': '1a8e40f1f331d6ee2e9ace518c0088a78c8a838968f8601c2b77fd012a7bf0f5'}, + {'%(name)s-%(version)s_opx_hfi1_pre_cn5000.patch': + '9b97d7f84512ad7fe3bfc878f5fed80fcfa45ec904e9295246ebda99d85c3113'}, +] + +builddependencies = [ + ('binutils', '2.42'), + ('pkgconf', '2.3.0'), + ('Autotools', '20240712'), +] + +dependencies = [ + ('numactl', '2.0.19'), + # PSM2 dependency for libfabric should be used on Omnipath systems, + # but that PSM2 has CUDA as dependency so it's commented out by default; + # PSM2 only compiles on x86_64 + # ('PSM2', {'arch=x86_64': '12.0.1', 'arch=*': False}), +] + +osdependencies = [OS_PKG_IBVERBS_DEV] + +# Regenerate build files to pick up psm3-axv-config patch +preconfigopts = "./autogen.sh &&" + +# Disable deprecated "sockets" provider +configopts = "--disable-sockets " + +# Disable usNIC provider by default as this requires specific osdependencies +# If you want to enable this provider you need to uncomment the following line: +# osdependencies.append(('libnl3-devel', 'libnl3-dev')) +configopts += "--disable-usnic " + +# Disable XPMEM to avoid a system library being picked up +# This leads to rpaths to e.g. /lib64 being added binaries linked against libfabric +# potentially picking up system libraries instead of EasyBuild provided ones at runtime +configopts += "--disable-xpmem " + +buildopts = "V=1" + +sanity_check_paths = { + 'files': ['bin/fi_info', 'bin/fi_pingpong', 'bin/fi_strerror'] + + ['lib/libfabric.%s' % x for x in ['a', SHLIB_EXT]], + 'dirs': ['include/rdma', 'lib/pkgconfig', 'share'] +} + +sanity_check_commands = ['fi_info'] + +moduleclass = 'lib' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/m/M4/M4-1.4.19.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/m/M4/M4-1.4.19.eb new file mode 100644 index 00000000..5beadaab --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/m/M4/M4-1.4.19.eb @@ -0,0 +1,40 @@ +easyblock = 'ConfigureMake' + +name = 'M4' +version = '1.4.19' + +homepage = 'https://www.gnu.org/software/m4/m4.html' + +description = """ + GNU M4 is an implementation of the traditional Unix macro processor. It is + mostly SVR4 compatible although it has some extensions (for example, handling + more than 9 positional parameters to macros). GNU M4 also has built-in + functions for including files, running shell commands, doing arithmetic, etc. +""" + +toolchain = SYSTEM + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +patches = ["M4-1.4.19_fix-asm-usage-when-c-std-is-set.patch"] + +checksums = [ + # m4-1.4.19.tar.gz + '3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70', + # M4-1.4.19_fix-asm-usage-when-c-std-is-set.patch + '95d769a72e55737f76b049f75c67198ba0ce1260850e8100254af1dcc52a542f', +] + +# '-fgnu89-inline' is required to avoid linking errors with older glibc's, +# see https://github.com/easybuilders/easybuild-easyconfigs/issues/529 +configopts = "--enable-c++ CPPFLAGS=-fgnu89-inline " +# GCC 15 will default to C23 as its C standard. This causes M4 builds to fail. +# Set the C standard to C99 to avoid this issue. C89 fails the build as well. +configopts += "CFLAGS=-std=c99 " + +sanity_check_paths = { + 'files': ['bin/m4'], + 'dirs': [], +} + +moduleclass = 'devel' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/m/M4/M4-1.4.20.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/m/M4/M4-1.4.20.eb new file mode 100644 index 00000000..79879214 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/m/M4/M4-1.4.20.eb @@ -0,0 +1,34 @@ +easyblock = 'ConfigureMake' + +name = 'M4' +version = '1.4.20' + +homepage = 'https://www.gnu.org/software/m4/m4.html' + +description = """ + GNU M4 is an implementation of the traditional Unix macro processor. It is + mostly SVR4 compatible although it has some extensions (for example, handling + more than 9 positional parameters to macros). GNU M4 also has built-in + functions for including files, running shell commands, doing arithmetic, etc. +""" + +toolchain = SYSTEM + +source_urls = [GNU_SOURCE] +sources = [SOURCELOWER_TAR_GZ] +patches = ['M4-1.4.20_glibc-2.43.patch'] +checksums = [ + {'m4-1.4.20.tar.gz': '6ac4fc31ce440debe63987c2ebbf9d7b6634e67a7c3279257dc7361de8bdb3ef'}, + {'M4-1.4.20_glibc-2.43.patch': 'c6ced5bc6ac2ef4836f12f65b107b891802e9a7368b4f1340709e98bae46ac58'}, +] + +# '-fgnu89-inline' is required to avoid linking errors with older glibc's, +# see https://github.com/easybuilders/easybuild-easyconfigs/issues/529 +configopts = "--enable-c++ CPPFLAGS=-fgnu89-inline " + +sanity_check_paths = { + 'files': ['bin/m4'], + 'dirs': [], +} + +moduleclass = 'devel' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/o/OpenMPI/OpenMPI-5.0.7-rocm-compilers-19.0.0-ROCm-6.4.1.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/o/OpenMPI/OpenMPI-5.0.7-rocm-compilers-19.0.0-ROCm-6.4.1.eb new file mode 100644 index 00000000..9df1ee3c --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/o/OpenMPI/OpenMPI-5.0.7-rocm-compilers-19.0.0-ROCm-6.4.1.eb @@ -0,0 +1,59 @@ +# Author: Aayush Joglekar + +name = 'OpenMPI' +version = '5.0.7' + +homepage = 'https://www.open-mpi.org/' +description = """The Open MPI Project is an open source MPI-3 implementation.""" + +toolchain = {'name': 'rocm-compilers', 'version': '19.0.0-ROCm-6.4.1'} + +source_urls = ['https://www.open-mpi.org/software/ompi/v%(version_major_minor)s/downloads'] +sources = [SOURCELOWER_TAR_BZ2] +patches = [ + ('OpenMPI-5.0.7_fix-sshmem-build-failure.patch'), + 'OpenMPI-5.0.7_fix_gpfs_compatibility.patch', + 'OpenMPI-5.0.3_disable_opal_path_nfs_test.patch', +] +checksums = [ + {'openmpi-5.0.7.tar.bz2': '119f2009936a403334d0df3c0d74d5595a32d99497f9b1d41e90019fee2fc2dd'}, + {'OpenMPI-5.0.7_fix-sshmem-build-failure.patch': + '7382a5bbe44c6eff9ab05c8f315a8911d529749655126d4375e44e809bfedec7'}, + {'OpenMPI-5.0.7_fix_gpfs_compatibility.patch': '9739134ce273a691c9deac6e410510653a88c1542b60dbf8789e4a423447d4f6'}, + {'OpenMPI-5.0.3_disable_opal_path_nfs_test.patch': + '75d4417e35252ea3a19b2792f1b06e9aeb408c253aa4921d77226d57b71dee45'}, +] + +builddependencies = [ + ('pkgconf', '2.3.0'), + ('Perl', '5.40.0'), + ('Autotools', '20240712'), +] + +dependencies = [ + ('zlib', '1.3.1'), + ('hwloc', '2.11.2'), + ('libevent', '2.1.12'), + ('UCX', '1.18.0'), + ('libfabric', '2.0.0'), + ('PMIx', '5.0.6'), + ('PRRTE', '3.0.8'), + ('UCC', '1.3.0'), + ('HIP', '6.4.1'), +] + +# Disable building Level Zero components of romio if system dependencies are picked up. Sources are not based on +# recent Level Zero interface anyway, so there's a high chance that builds fail. +# See https://github.com/open-mpi/ompi/issues/10235 +preconfigopts = 'sed -i "s/have_ze=yes/have_ze=no/" %(start_dir)s/3rd-party/romio341/mpl/configure && ' + +# Regenerate the Autotools build files because of our patches +preconfigopts += './autogen.pl --force && ' + +# Base config options +configopts = '--without-xpmem --with-show-load-errors=no ' + +# Point the ROCm flag to the HIP installation +configopts += '--with-rocm=$EBROOTHIP ' + +moduleclass = 'mpi' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/p/PMIx/PMIx-5.0.6-GCCcore-14.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/p/PMIx/PMIx-5.0.6-GCCcore-14.2.0.eb new file mode 100644 index 00000000..dea502d7 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/p/PMIx/PMIx-5.0.6-GCCcore-14.2.0.eb @@ -0,0 +1,49 @@ +easyblock = 'ConfigureMake' + +name = 'PMIx' +version = '5.0.6' + +homepage = 'https://pmix.org/' +description = """Process Management for Exascale Environments +PMI Exascale (PMIx) represents an attempt to +provide an extended version of the PMI standard specifically designed +to support clusters up to and including exascale sizes. The overall +objective of the project is not to branch the existing pseudo-standard +definitions - in fact, PMIx fully supports both of the existing PMI-1 +and PMI-2 APIs - but rather to (a) augment and extend those APIs to +eliminate some current restrictions that impact scalability, and (b) +provide a reference implementation of the PMI-server that demonstrates +the desired level of scalability. +""" + +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/openpmix/openpmix/releases/download/v%(version)s'] +sources = ['%(namelower)s-%(version)s.tar.bz2'] +checksums = ['ea51baa0fdee688d54bc9f2c11937671381f00de966233eec6fd88807fb46f83'] + +builddependencies = [ + ('binutils', '2.42'), + ('Perl', '5.40.0'), + ('pkgconf', '2.3.0'), +] + +dependencies = [ + ('libevent', '2.1.12'), + ('zlib', '1.3.1'), + ('hwloc', '2.11.2'), +] + +configopts = ' --with-libevent=$EBROOTLIBEVENT --with-zlib=$EBROOTZLIB' +configopts += ' --with-hwloc=$EBROOTHWLOC' +configopts += ' --enable-pmix-binaries' + +buildopts = 'V=1' + +sanity_check_paths = { + 'files': ['bin/pevent', 'bin/plookup', 'bin/pmix_info', 'bin/pps'], + 'dirs': ['etc', 'include', 'lib', 'share'] +} + +moduleclass = 'lib' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/p/PRRTE/PRRTE-3.0.8-GCCcore-14.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/p/PRRTE/PRRTE-3.0.8-GCCcore-14.2.0.eb new file mode 100644 index 00000000..83cad5fa --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/p/PRRTE/PRRTE-3.0.8-GCCcore-14.2.0.eb @@ -0,0 +1,38 @@ +easyblock = 'ConfigureMake' + +name = 'PRRTE' +version = '3.0.8' + +homepage = 'https://docs.prrte.org/' +description = """PRRTE is the PMIx Reference RunTime Environment""" + +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/openpmix/prrte/releases/download/v%(version)s'] +sources = ['%(namelower)s-%(version)s.tar.bz2'] +checksums = ['e798192fa0ab38172818a109a6c89bcc37e4b1123ca150d8c115dee5231750de'] + +builddependencies = [('binutils', '2.42')] + +dependencies = [ + ('libevent', '2.1.12'), + ('hwloc', '2.11.2'), + ('PMIx', '5.0.6'), +] + +configopts = ' --with-libevent=$EBROOTLIBEVENT' +configopts += ' --with-hwloc=$EBROOTHWLOC --with-pmix=$EBROOTPMIX' + +buildopts = 'V=1' + +local_binaries = ['prte', 'prte_info', 'prterun', 'prun', 'pterm'] + +sanity_check_paths = { + 'files': ['bin/%s' % x for x in local_binaries] + ['lib/libprrte.%s' % SHLIB_EXT], + 'dirs': ['etc', 'include', 'share'] +} + +sanity_check_commands = ['%s --version' % x for x in local_binaries] + +moduleclass = 'lib' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/p/Perl/Perl-5.40.0-GCCcore-14.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/p/Perl/Perl-5.40.0-GCCcore-14.2.0.eb new file mode 100644 index 00000000..505064f3 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/p/Perl/Perl-5.40.0-GCCcore-14.2.0.eb @@ -0,0 +1,51 @@ +name = 'Perl' +version = '5.40.0' + +homepage = 'https://www.perl.org/' +description = """Larry Wall's Practical Extraction and Report Language + +Includes a small selection of extra CPAN packages for core functionality. +""" + +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://www.cpan.org/src/%(version_major)s.0'] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['c740348f357396327a9795d3e8323bafd0fe8a5c7835fc1cbaba0cc8dfe7161f'] + +builddependencies = [ + ('binutils', '2.42'), +] + +dependencies = [ + ('zlib', '1.3.1'), +] + +# !! order of extensions is important !! +# extensions updated on 2024-12-08 +# includes all dependencies for Autotools +exts_list = [ + ('Getopt::Long', '2.58', { + 'source_tmpl': 'Getopt-Long-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JV/JV'], + 'checksums': ['1305ed46ea21f794304e97aa3dcd3a38519059785e9db7415daf2c218506c569'], + }), + ('File::Path', '2.18', { + 'source_tmpl': 'File-Path-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/'], + 'checksums': ['980f0a17edb353df46e9cd7b357f9f5929cde0f80c45fd7a06cf7e0e8bd6addd'], + }), + ('File::Spec', '3.75', { + 'source_tmpl': 'PathTools-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX'], + 'checksums': ['a558503aa6b1f8c727c0073339081a77888606aa701ada1ad62dd9d8c3f945a2'], + }), + ('Text::ParseWords', '3.31', { + 'source_tmpl': 'Text-ParseWords-%(version)s.tar.gz', + 'source_urls': ['https://cpan.metacpan.org/authors/id/N/NE/NEILB/'], + 'checksums': ['2ae555ba084d75b2b8feeeb8d1a00911276815ada86bccb1452236964d5a2fc7'], + }), +] + +moduleclass = 'lang' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/p/pkgconf/pkgconf-2.3.0-GCCcore-14.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/p/pkgconf/pkgconf-2.3.0-GCCcore-14.2.0.eb new file mode 100644 index 00000000..3b48b31a --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/p/pkgconf/pkgconf-2.3.0-GCCcore-14.2.0.eb @@ -0,0 +1,36 @@ +easyblock = 'ConfigureMake' + +name = 'pkgconf' +version = '2.3.0' + +homepage = 'https://github.com/pkgconf/pkgconf' + +description = """pkgconf is a program which helps to configure compiler and linker flags for development libraries. + It is similar to pkg-config from freedesktop.org.""" + +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} + +source_urls = [ + 'https://distfiles.ariadne.space/pkgconf/', + 'https://distfiles.dereferenced.org/pkgconf/' +] +sources = [SOURCELOWER_TAR_GZ] +checksums = ['a2df680578e85f609f2fa67bd3d0fc0dc71b4bf084fc49119de84cd6ed28e723'] + +builddependencies = [('binutils', '2.42')] + +postinstallcmds = ["cd %(installdir)s/bin && ln -s pkgconf pkg-config"] + +sanity_check_paths = { + 'files': ['bin/pkg-config', 'bin/pkgconf'], + 'dirs': [], +} + +sanity_check_commands = [ + "pkg-config --help", + "pkgconf --help", +] + +modextravars = {'PKG_CONFIG': '%(installdir)s/bin/pkgconf'} + +moduleclass = 'devel' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/r/ROCm-LLVM/ROCm-LLVM-19.0.0-GCCcore-14.2.0-ROCm-6.4.1.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/r/ROCm-LLVM/ROCm-LLVM-19.0.0-GCCcore-14.2.0-ROCm-6.4.1.eb new file mode 100644 index 00000000..8aa60fc7 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/r/ROCm-LLVM/ROCm-LLVM-19.0.0-GCCcore-14.2.0-ROCm-6.4.1.eb @@ -0,0 +1,160 @@ +easyblock = 'Bundle' + +name = 'ROCm-LLVM' +_llvm_version = '19.0.0' +version = _llvm_version +_rocm_version = '6.4.1' +versionsuffix = f'-ROCm-{_rocm_version}' + +homepage = 'https://github.com/ROCm/llvm-project' +description = """ROCm-LLVM is an open source Clang/LLVM based compiler. +It is an AMD Fork of The LLVM Compiler Infrastructure, and aims to contain all of upstream LLVM. +It also includes several AMD-specific additions in the llvm-project/amd directory.""" +docurls = ['https://rocmdocs.amd.com'] + +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} + +builddependencies = [ + ('CMake', '3.31.3'), + ('Perl', '5.40.0'), + ('Python', '3.13.1'), + ('pkgconf', '2.3.0'), + ('xxd', '9.1.1457'), # required for ROCr-Runtime +] + +dependencies = [ + ('binutils', '2.42'), + ('elfutils', '0.193'), + ('zlib', '1.3.1'), + ('hwloc', '2.11.2'), + ('GMP', '6.3.0'), + ('libxml2', '2.13.4'), + ('ncurses', '6.5'), + ('libffi', '3.4.5'), + ('libdrm', '2.4.125'), + ('numactl', '2.0.19'), + ('Z3', '4.13.4'), +] + +local_rocm_llvm_source = 'llvm-project-rocm-%s.tar.gz' % _rocm_version +local_common_cmake_configopts = ' '.join([ + '-DCMAKE_C_COMPILER=%(installdir)s/bin/clang', + '-DCMAKE_CXX_COMPILER=%(installdir)s/bin/clang++', + '-DLLVM_INSTALL_PREFIX=%(installdir)s', + '-DLLVM_DIR=%(installdir)s/lib/cmake/llvm', +]) + +default_easyblock = 'CMakeMake' + +default_component_specs = { + 'source_urls': ['https://github.com/ROCm/%(name)s/archive/'], + 'sources': [{ + 'download_filename': '%(version)s.tar.gz', + 'filename': '%(name)s-%(version)s.tar.gz', + }], + 'srcdir': '%(name)s-%(version)s', +} + +components = [ + ('llvm-project', '%s-rocm-%s' % (_llvm_version, _rocm_version), { + 'easyblock': 'EB_ROCm_minus_LLVM', + 'sources': [{ + 'download_filename': 'rocm-%s.tar.gz' % _rocm_version, + 'filename': local_rocm_llvm_source, + # rename the extracted directory to the one that the LLVM easyblock expects + 'extract_cmd': 'tar xfz %%s && mv %%(name)s-rocm-%s %%(name)s-%%(version)s.src' % _rocm_version, + }], + 'patches': [ + 'ROCm-LLVM-19.0.0_fix-offload-build.patch', + 'ROCm-LLVM-19.0.0_fix-ConstantFoldFP128-conversion-issue.patch' + ], + 'checksums': [ + {local_rocm_llvm_source: + '460ad28677092b9eb86ffdc49bcb4d01035e32b4f05161d85f90c9fa80239f50'}, + {'ROCm-LLVM-19.0.0_fix-offload-build.patch': + '2ce1454aa3d2f50795bbc331c239f44be07f8ec836978cad130406af4340e30d'}, + {'ROCm-LLVM-19.0.0_fix-ConstantFoldFP128-conversion-issue.patch': + '76fc2b0209c9e6a2d13f138b40acdab41313e979104bb66e4b1ac1aa7b4b5d03'}, + ], + 'start_dir': f'llvm-project-{_llvm_version}-rocm-{_rocm_version}.src', + 'bootstrap': True, + 'build_lld': True, + 'build_clang_extras': True, + 'build_openmp_offload': False, + 'build_openmp_tools': True, + 'build_runtimes': True, + 'full_llvm': False, + 'skip_all_tests': True, + }), + ('ROCm-comgr', 'rocm-%s' % _rocm_version, { + # sources are located in amd/comgr subdir of llvm-project component + 'sources': [{'filename': local_rocm_llvm_source, 'extract_cmd': 'echo %s'}], + 'checksums': [ + {local_rocm_llvm_source: + '460ad28677092b9eb86ffdc49bcb4d01035e32b4f05161d85f90c9fa80239f50'}, + ], + 'srcdir': 'llvm-project-%s-%%(version)s.src/amd/comgr' % _llvm_version, + 'prebuildopts': 'export ROCM_PATH=%(installdir)s && ', + 'configopts': local_common_cmake_configopts + ' -DROCM_DIR=%(installdir)s/share/rocm/cmake' + }), + ('ROCR-Runtime', 'rocm-%s' % _rocm_version, { + 'srcdir': '%(name)s-%(version)s', + 'checksums': [ + {'ROCR-Runtime-rocm-6.4.1.tar.gz': + 'f72d100a46a2dd9f4c870cef156604777f1bdb1841df039d14bf37b19814b9da'}, + ], + 'configopts': local_common_cmake_configopts + ' -DBUILD_SHARED_LIBS=ON', + }), + ('llvm-project-openmp', '%s-rocm-%s' % (_llvm_version, _rocm_version), { + 'easyblock': 'EB_ROCm_minus_LLVM', + 'sources': [{ + 'download_filename': 'rocm-%s.tar.gz' % _rocm_version, + 'filename': local_rocm_llvm_source, + # rename the extracted directory to the one that the LLVM easyblock expects + # we need to extract the sources again so that potential source changes done by easyblocks + # do not cause unintended behaviour in the second build + 'extract_cmd': 'tar xfz %%s && mv llvm-project-rocm-%s %%(name)s-%%(version)s.src' % _rocm_version, + }], + 'patches': [ + 'ROCm-LLVM-19.0.0_fix-offload-build.patch', + 'ROCm-LLVM-19.0.0_fix-ConstantFoldFP128-conversion-issue.patch', + ], + 'checksums': [ + {local_rocm_llvm_source: + '460ad28677092b9eb86ffdc49bcb4d01035e32b4f05161d85f90c9fa80239f50'}, + {'ROCm-LLVM-19.0.0_fix-offload-build.patch': + '2ce1454aa3d2f50795bbc331c239f44be07f8ec836978cad130406af4340e30d'}, + {'ROCm-LLVM-19.0.0_fix-ConstantFoldFP128-conversion-issue.patch': + '76fc2b0209c9e6a2d13f138b40acdab41313e979104bb66e4b1ac1aa7b4b5d03'}, + ], + 'start_dir': f'llvm-project-openmp-{_llvm_version}-rocm-{_rocm_version}.src', + 'bootstrap': True, + 'build_lld': True, + 'build_clang_extras': True, + 'build_openmp_offload': True, + 'build_openmp_tools': True, + 'build_runtimes': True, + 'full_llvm': False, + 'skip_all_tests': True, + 'configopts': '-DLLVM_BUILD_LLVM_DYLIB=ON ', + }), + ('aomp-extras', 'rocm-%s' % _rocm_version, { + 'configopts': + local_common_cmake_configopts + + ' -DAOMP_STANDALONE_BUILD=0 ' + '-DAOMP_VERSION_STRING=%s ' % _rocm_version, + 'checksums': [ + {'aomp-extras-rocm-6.4.1.tar.gz': + 'cf20b02b1f99f506c198866ef03f2265dc355627760f82cda3878d5bc6486afc'}, + ], + }), + +] + +sanity_check_components = ['llvm-project'] + +modextravars = { + 'HIP_DEVICE_LIB_PATH': '%(installdir)s/amdgcn/bitcode', +} + +moduleclass = 'tools' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/r/rocm-compilers/rocm-compilers-19.0.0-ROCm-6.4.1.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/r/rocm-compilers/rocm-compilers-19.0.0-ROCm-6.4.1.eb new file mode 100644 index 00000000..8df57c75 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/r/rocm-compilers/rocm-compilers-19.0.0-ROCm-6.4.1.eb @@ -0,0 +1,27 @@ +# Author: Jan André Reuter + +easyblock = 'Bundle' + +name = 'rocm-compilers' +version = '19.0.0' +_rocm_version = '6.4.1' +versionsuffix = f'-ROCm-{_rocm_version}' + +homepage = 'https://llvm.org/' +description = """The LLVM Project is a collection of modular and reusable compiler +and toolchain technologies.""" + +toolchain = SYSTEM + +local_gcc_version = '14.2.0' +dependencies = [ + ('GCCcore', local_gcc_version), + ('binutils', '2.42', '', ('GCCcore', local_gcc_version)), + ('ROCm-LLVM', version, versionsuffix, ('GCCcore', local_gcc_version)), +] + +altroot = 'ROCm-LLVM' +altversion = 'ROCm-LLVM' + +# this bundle serves as a compiler-only toolchain, so it should be marked as compiler (important for HMNS) +moduleclass = 'compiler' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/r/rompi/rompi-2025a.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/r/rompi/rompi-2025a.eb new file mode 100644 index 00000000..2bb35d60 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/r/rompi/rompi-2025a.eb @@ -0,0 +1,21 @@ +# Author: Aayush Joglekar + +easyblock = 'Toolchain' + +name = 'rompi' +version = '2025a' + +homepage = '(none)' +description = """ROCm-LLVM based compiler toolchain, including OpenMPI for MPI support.""" + +toolchain = SYSTEM + +local_rocmver = '19.0.0-ROCm-6.4.1' + +# compiler toolchain dependencies +dependencies = [ + ('rocm-compilers', local_rocmver), # includes both ROCm-LLVM and binutils + ('OpenMPI', '5.0.7', '', ('rocm-compilers', local_rocmver)), +] + +moduleclass = 'toolchain' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/u/UCC/UCC-1.3.0-GCCcore-14.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/u/UCC/UCC-1.3.0-GCCcore-14.2.0.eb new file mode 100644 index 00000000..5c106f90 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/u/UCC/UCC-1.3.0-GCCcore-14.2.0.eb @@ -0,0 +1,41 @@ +easyblock = 'ConfigureMake' + +name = 'UCC' +version = '1.3.0' + +homepage = 'https://www.openucx.org/' +description = """UCC (Unified Collective Communication) is a collective +communication operations API and library that is flexible, complete, and +feature-rich for current and emerging programming models and runtimes. +""" + +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/openucx/ucc/archive/refs/tags'] +sources = ['v%(version)s.tar.gz'] +patches = ['UCC-1.1.0-multiple_component_paths.patch'] +checksums = [ + {'v1.3.0.tar.gz': 'b56379abe5f1c125bfa83be305d78d81a64aa271b7b5fff0ac17b86725ff3acf'}, + {'UCC-1.1.0-multiple_component_paths.patch': '3081d0f694331daa4a88a0fa3fb54b9a918015248ae5eb7b3157b924abd31bee'}, +] + +builddependencies = [ + ('binutils', '2.42'), + ('Autotools', '20240712'), +] + +dependencies = [ + ('UCX', '1.18.0'), +] + +preconfigopts = "./autogen.sh && " + +sanity_check_paths = { + 'files': ['bin/ucc_info'], + 'dirs': ['include', 'lib'] +} + +sanity_check_commands = ["ucc_info -c"] + +moduleclass = 'lib' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/u/UCX/UCX-1.18.0-GCCcore-14.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/u/UCX/UCX-1.18.0-GCCcore-14.2.0.eb new file mode 100644 index 00000000..cff427c9 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/u/UCX/UCX-1.18.0-GCCcore-14.2.0.eb @@ -0,0 +1,57 @@ +easyblock = 'ConfigureMake' + +name = 'UCX' +version = '1.18.0' + +homepage = 'https://www.openucx.org/' +description = """Unified Communication X +An open-source production grade communication framework for data centric +and high-performance applications +""" + +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://github.com/openucx/ucx/releases/download/v%(version)s'] +sources = ['%(namelower)s-%(version)s.tar.gz'] +patches = [ + 'UCX-1.13.1-dynamic_modules.patch', + 'UCX-1.18.0_fix_bistro_hooks.patch', + 'UCX-1.18.0_fix-glibc-2.43-compile-failure.patch', +] +checksums = [ + {'ucx-1.18.0.tar.gz': 'fa75070f5fa7442731b4ef5fc9549391e147ed3d859afeb1dad2d4513b39dc33'}, + {'UCX-1.13.1-dynamic_modules.patch': '00874687bd90b795fff61aaa183f6c6bea2210aa1003b28f23d9ebf7066f8782'}, + {'UCX-1.18.0_fix_bistro_hooks.patch': '6357f1ebb1569e30d0855e48404fdf38a5a7060a87789f54d7bb751f957be20c'}, + {'UCX-1.18.0_fix-glibc-2.43-compile-failure.patch': + 'c67b2070a65e8217b7c6f9d9a6a13ff11141bacfed395d551376432428348a9c'}, +] + +builddependencies = [ + ('binutils', '2.42'), + ('Autotools', '20240712'), + ('pkgconf', '2.3.0'), +] + +osdependencies = [OS_PKG_IBVERBS_DEV] + +dependencies = [ + ('zlib', '1.3.1'), + ('numactl', '2.0.19'), +] + +configopts = '--enable-optimizations --enable-cma --enable-mt --with-verbs ' +configopts += '--without-java --without-go --disable-doxygen-doc ' +# include the configure options from contrib/configure-release +configopts += '--disable-logging --disable-debug --disable-assertions --disable-params-check ' + +buildopts = 'V=1' + +sanity_check_paths = { + 'files': ['bin/ucx_info', 'bin/ucx_perftest', 'bin/ucx_read_profile'], + 'dirs': ['include', 'lib', 'share'] +} + +sanity_check_commands = ["ucx_info -d"] + +moduleclass = 'lib' diff --git a/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/z/zlib/zlib-1.3.1-GCCcore-14.2.0.eb b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/z/zlib/zlib-1.3.1-GCCcore-14.2.0.eb new file mode 100644 index 00000000..187f8da3 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/easyconfigs/z/zlib/zlib-1.3.1-GCCcore-14.2.0.eb @@ -0,0 +1,27 @@ +easyblock = 'ConfigureMake' + +name = 'zlib' +version = '1.3.1' + +homepage = 'https://www.zlib.net/' +description = """zlib is designed to be a free, general-purpose, legally unencumbered -- that is, + not covered by any patents -- lossless data-compression library for use on virtually any + computer hardware and operating system.""" + +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://zlib.net/fossils'] +sources = [SOURCELOWER_TAR_GZ] +# patches = ['zlib-%(version)s_fix-CC-logic-in-configure.patch'] +checksums = ['9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23'] + +# use same binutils version that was used when building GCC toolchain +builddependencies = [('binutils', '2.42', '', SYSTEM)] + +sanity_check_paths = { + 'files': ['include/zconf.h', 'include/zlib.h', 'lib/libz.a', 'lib/libz.%s' % SHLIB_EXT], + 'dirs': [], +} + +moduleclass = 'lib' diff --git a/fixtures/parity_sparse_compiler_hierarchy/framework/easybuild/toolchains/compiler/intel_compilers.py b/fixtures/parity_sparse_compiler_hierarchy/framework/easybuild/toolchains/compiler/intel_compilers.py new file mode 100644 index 00000000..6f6845f6 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/framework/easybuild/toolchains/compiler/intel_compilers.py @@ -0,0 +1,128 @@ +## +# Copyright 2021-2026 Ghent University +# +# This file is part of EasyBuild, +# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en), +# with support of Ghent University (http://ugent.be/hpc), +# the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be), +# Flemish Research Foundation (FWO) (http://www.fwo.be/en) +# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en). +# +# https://github.com/easybuilders/easybuild +# +# EasyBuild is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation v2. +# +# EasyBuild is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with EasyBuild. If not, see . +## +""" +Support for Intel compilers (icc, ifort) as toolchain compilers, version 2021.x and newer (oneAPI). + +Authors: + +* Kenneth Hoste (Ghent University) +""" +import os + +import easybuild.tools.systemtools as systemtools +from easybuild.toolchains.compiler.inteliccifort import IntelIccIfort +from easybuild.tools import LooseVersion +from easybuild.tools.toolchain.compiler import Compiler + + +class IntelCompilers(IntelIccIfort): + """ + Compiler class for Intel oneAPI compilers + """ + + COMPILER_MODULE_NAME = ['intel-compilers'] + COMPILER_UNIQUE_OPTS = dict(IntelIccIfort.COMPILER_UNIQUE_OPTS) + COMPILER_UNIQUE_OPTS.update({ + 'oneapi': (None, "Use oneAPI compilers icx/icpx/ifx instead of classic compilers"), + 'oneapi_c_cxx': (None, "Use oneAPI C/C++ compilers icx/icpx instead of classic Intel C/C++ compilers " + "(auto-enabled for Intel compilers version 2022.2.0, or newer)"), + 'oneapi_fortran': (None, "Use oneAPI Fortran compiler ifx instead of classic Intel Fortran compiler " + "(auto-enabled for Intel compilers version 2024.0.0, or newer)"), + }) + + def _set_compiler_vars(self): + """Intel compilers-specific adjustments after setting compiler variables.""" + + # skip IntelIccIfort._set_compiler_vars (no longer relevant for recent versions) + Compiler._set_compiler_vars(self) + + root = self.get_software_root(self.COMPILER_MODULE_NAME)[0] + version = self.get_software_version(self.COMPILER_MODULE_NAME)[0] + + libbase = os.path.join('compiler', version, 'linux') + libpaths = [ + os.path.join(libbase, 'compiler', 'lib', 'intel64'), + ] + + self.variables.append_subdirs("LDFLAGS", root, subdirs=libpaths) + + def set_variables(self): + """Set the variables.""" + + oneapi = False + + # auto-enable use of oneAPI C/C++ compilers for sufficiently recent versions of Intel compilers + comp_ver = self.get_software_version(self.COMPILER_MODULE_NAME)[0] + if LooseVersion(comp_ver) >= LooseVersion('2022.2.0'): + if LooseVersion(comp_ver) >= LooseVersion('2024.0.0'): + if self.options.get('oneapi_fortran', None) is None: + self.options['oneapi_fortran'] = True + if self.options.get('oneapi_c_cxx', None) is None: + self.options['oneapi_c_cxx'] = True + + oneapi_tcopt = self.options.get('oneapi') + if oneapi_tcopt: + oneapi = True + self.COMPILER_CXX = 'icpx' + self.COMPILER_CC = 'icx' + self.COMPILER_F77 = 'ifx' + self.COMPILER_F90 = 'ifx' + self.COMPILER_FC = 'ifx' + + # if both 'oneapi' and 'oneapi_*' are set, the latter are ignored + elif oneapi_tcopt is None: + if self.options.get('oneapi_c_cxx', False): + oneapi = True + self.COMPILER_CC = 'icx' + self.COMPILER_CXX = 'icpx' + + if self.options.get('oneapi_fortran', False): + oneapi = True + self.COMPILER_F77 = 'ifx' + self.COMPILER_F90 = 'ifx' + self.COMPILER_FC = 'ifx' + + if oneapi: + # fp-model source is not supported by icx but is equivalent to precise + self.options.options_map['defaultprec'] = ['-fp-speculation=safe', '-fp-model precise'] + if LooseVersion(comp_ver) >= LooseVersion('2022'): + self.options.options_map['defaultprec'].insert(0, '-ftz') + # icx doesn't like -fp-model fast=1; fp-model fast is equivalent + self.options.options_map['loose'] = ['-fp-model fast'] + # fp-model fast=2 gives "warning: overriding '-ffp-model=fast=2' option with '-ffp-model=fast'" + self.options.options_map['veryloose'] = ['-fp-model fast'] + # recommended in porting guide: qopenmp, unlike fiopenmp, works for both classic and oneapi compilers + # https://www.intel.com/content/www/us/en/developer/articles/guide/porting-guide-for-ifort-to-ifx.html + self.options.options_map['openmp'] = ['-qopenmp'] + + # -xSSE2 is not supported by Intel oneAPI compilers, + # so use -march=x86-64 -mtune=generic when using optarch=GENERIC + self.COMPILER_GENERIC_OPTION = { + (systemtools.X86_64, systemtools.AMD): '-march=x86-64 -mtune=generic', + (systemtools.X86_64, systemtools.INTEL): '-march=x86-64 -mtune=generic', + } + + # skip IntelIccIfort.set_variables (no longer relevant for recent versions) + Compiler.set_variables(self) diff --git a/fixtures/parity_sparse_compiler_hierarchy/framework/easybuild/toolchains/compiler/rocm_compilers.py b/fixtures/parity_sparse_compiler_hierarchy/framework/easybuild/toolchains/compiler/rocm_compilers.py new file mode 100644 index 00000000..86ddd5d0 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/framework/easybuild/toolchains/compiler/rocm_compilers.py @@ -0,0 +1,86 @@ +## +# Copyright 2013-2025 Ghent University +# +# This file is triple-licensed under GPLv2 (see below), MIT, and +# BSD three-clause licenses. +# +# This file is part of EasyBuild, +# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en), +# with support of Ghent University (http://ugent.be/hpc), +# the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be), +# Flemish Research Foundation (FWO) (http://www.fwo.be/en) +# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en). +# +# https://github.com/easybuilders/easybuild +# +# EasyBuild is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation v2. +# +# EasyBuild is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with EasyBuild. If not, see . +## +""" +EasyBuild support for ROCm Clang + Flang compiler toolchain. + +Authors: + +* Jan Reuter (jan@zyten.de) +* Kenneth Hoste (HPC-UGent) +""" +import os +import re + +from easybuild.tools.build_log import EasyBuildError +from easybuild.tools.filetools import copy_file, read_file, write_file, which +from easybuild.tools.toolchain.toolchain import SYSTEM_TOOLCHAIN_NAME +from easybuild.toolchains.compiler.llvm_compilers import LLVMCompilers + +TC_CONSTANT_ROCM = "ROCm" + + +class ROCmCompilers(LLVMCompilers): + """Compiler toolchain with ROCm compilers (amdclang/amdclang++/amdflang).""" + COMPILER_FAMILY = TC_CONSTANT_ROCM + SUBTOOLCHAIN = SYSTEM_TOOLCHAIN_NAME + + COMPILER_CC = 'amdclang' + COMPILER_CXX = 'amdclang++' + + COMPILER_F77 = 'amdflang' + COMPILER_F90 = 'amdflang' + COMPILER_FC = 'amdflang' + + def prepare_rpath_wrappers(self, *args, **kwargs): + """ + Put RPATH wrapper scripts in place for compiler and linker commands + + Also do this for clang/clang++/flang commands, next to ROCm compiler commands (amdclang/amdclang++/amdflang) + """ + super().prepare_rpath_wrappers(*args, **kwargs) + + amd_prefix = 'amd' + compiler_cmds = [self.COMPILER_CC, self.COMPILER_CXX, self.COMPILER_F77, self.COMPILER_F90, self.COMPILER_FC] + for compiler_cmd in [c for c in compiler_cmds if c.startswith(amd_prefix)]: + wrapper = which(compiler_cmd) + + if not wrapper: + raise EasyBuildError(f"{compiler_cmd} command not found!") + elif not self.is_rpath_wrapper(wrapper): + raise EasyBuildError(f"{wrapper} is not an RPATH compiler wrapper for {compiler_cmd}") + else: + parent_dir = os.path.dirname(wrapper) + new_compiler_cmd = compiler_cmd[len(amd_prefix):] + new_wrapper = os.path.join(parent_dir, new_compiler_cmd) + copy_file(wrapper, new_wrapper) + + new_wrapper_txt = read_file(new_wrapper) + regex = re.compile(re.escape(compiler_cmd), re.M) + new_wrapper_txt = regex.sub(new_compiler_cmd, new_wrapper_txt) + write_file(new_wrapper, new_wrapper_txt) + self.log.info(f"Extra RPATH compiler wrapper created for {new_compiler_cmd}") diff --git a/fixtures/parity_sparse_compiler_hierarchy/framework/easybuild/toolchains/iimkl.py b/fixtures/parity_sparse_compiler_hierarchy/framework/easybuild/toolchains/iimkl.py new file mode 100644 index 00000000..b4bb11b9 --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/framework/easybuild/toolchains/iimkl.py @@ -0,0 +1,115 @@ +## +# Copyright 2012-2026 Ghent University +# +# This file is part of EasyBuild, +# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en), +# with support of Ghent University (http://ugent.be/hpc), +# the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be), +# Flemish Research Foundation (FWO) (http://www.fwo.be/en) +# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en). +# +# https://github.com/easybuilders/easybuild +# +# EasyBuild is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation v2. +# +# EasyBuild is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with EasyBuild. If not, see . +## +""" +EasyBuild support for iimkl compiler toolchain (includes Intel compilers (icc, ifort), +Intel Math Kernel Library (MKL), and Intel FFTW wrappers. + +Authors: + +* Stijn De Weirdt (Ghent University) +* Kenneth Hoste (Ghent University) +* Bart Oldeman (McGill University, Calcul Quebec, Compute Canada) +""" +import re + +from easybuild.toolchains.iccifort import IccIfort +from easybuild.toolchains.intel_compilers import IntelCompilersToolchain +from easybuild.toolchains.fft.intelfftw import IntelFFTW +from easybuild.toolchains.linalg.intelmkl import IntelMKL +from easybuild.tools import LooseVersion + + +class Iimkl(IccIfort, IntelCompilersToolchain, IntelMKL, IntelFFTW): + """ + Compiler toolchain with Intel compilers (icc/ifort), + Intel Math Kernel Library (MKL) and Intel FFTW wrappers. + """ + NAME = 'iimkl' + # compiler-only subtoolchain can't be determined statically + # since depends on toolchain version (see below), + # so register both here as possible alternatives (which is taken into account elsewhere) + SUBTOOLCHAIN = [(IntelCompilersToolchain.NAME, IccIfort.NAME)] + OPTIONAL = True + + def __init__(self, *args, **kwargs): + """Constructor for Iimkl toolchain class.""" + + super().__init__(*args, **kwargs) + + # make sure a non-symbolic version (e.g., 'system') is used before making comparisons using LooseVersion + if re.match('^[0-9]', self.version): + # need to transform a version like '2018b' with something that is safe to compare with '2019' + # comparing subversions that include letters causes TypeErrors in Python 3 + # 'a' is assumed to be equivalent with '.01' (January), and 'b' with '.07' (June) + # (good enough for this purpose) + self.iimkl_ver = self.version.replace('a', '.01').replace('b', '.07') + + if LooseVersion(self.iimkl_ver) >= LooseVersion('2020.12'): + self.oneapi_gen = True + self.SUBTOOLCHAIN = IntelCompilersToolchain.NAME + self.COMPILER_MODULE_NAME = IntelCompilersToolchain.COMPILER_MODULE_NAME + else: + self.oneapi_gen = False + self.SUBTOOLCHAIN = IccIfort.NAME + self.COMPILER_MODULE_NAME = IccIfort.COMPILER_MODULE_NAME + else: + self.iimkl_ver = self.version + self.oneapi_gen = False + + def is_deprecated(self): + """Return whether or not this toolchain is deprecated.""" + + deprecated = False + + # make sure a non-symbolic version (e.g., 'system') is used before making comparisons using LooseVersion + if re.match('^[0-9]', str(self.iimkl_ver)): + # iimkl toolchains older than iimkl/2019a are deprecated since EasyBuild v4.5.0 + if LooseVersion(self.iimkl_ver) < LooseVersion('2019'): + deprecated = True + + return deprecated + + def is_dep_in_toolchain_module(self, *args, **kwargs): + """Check whether a specific software name is listed as a dependency in the module for this toolchain.""" + if self.oneapi_gen: + res = IntelCompilersToolchain.is_dep_in_toolchain_module(self, *args, **kwargs) + else: + res = IccIfort.is_dep_in_toolchain_module(self, *args, **kwargs) + + return res + + def _set_compiler_vars(self): + """Intel compilers-specific adjustments after setting compiler variables.""" + if self.oneapi_gen: + IntelCompilersToolchain._set_compiler_vars(self) + else: + IccIfort._set_compiler_vars(self) + + def set_variables(self): + """Intel compilers-specific adjustments after setting compiler variables.""" + if self.oneapi_gen: + IntelCompilersToolchain.set_variables(self) + else: + IccIfort.set_variables(self) diff --git a/fixtures/parity_sparse_compiler_hierarchy/framework/easybuild/toolchains/rompi.py b/fixtures/parity_sparse_compiler_hierarchy/framework/easybuild/toolchains/rompi.py new file mode 100644 index 00000000..bbde054e --- /dev/null +++ b/fixtures/parity_sparse_compiler_hierarchy/framework/easybuild/toolchains/rompi.py @@ -0,0 +1,62 @@ +## +# Copyright 2012-2026 Ghent University +# +# This file is part of EasyBuild, +# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en), +# with support of Ghent University (http://ugent.be/hpc), +# the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be), +# Flemish Research Foundation (FWO) (http://www.fwo.be/en) +# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en). +# +# https://github.com/easybuilders/easybuild +# +# EasyBuild is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation v2. +# +# EasyBuild is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with EasyBuild. If not, see . +## +""" +EasyBuild support for rompi compiler toolchain (includes ROCm-LLVM and OpenMPI). + +Authors: + +* Kenneth Hoste (Ghent University) +* Davide Grassano (CECAM EPFL) +* Jan Reuter (jan@zyten.de) + +""" +from easybuild.tools import LooseVersion +import re + +from easybuild.toolchains.rocm_compilers import ROCmCompilersToolchain +from easybuild.toolchains.mpi.openmpi import OpenMPI + + +class Rompi(ROCmCompilersToolchain, OpenMPI): + """Compiler toolchain with ROCm-LLVM and OpenMPI.""" + NAME = 'rompi' + SUBTOOLCHAIN = ROCmCompilersToolchain.NAME + + def is_deprecated(self): + """Return whether or not this toolchain is deprecated.""" + # need to transform a version like '2018b' with something that is safe to compare with '2019' + # comparing subversions that include letters causes TypeErrors in Python 3 + # 'a' is assumed to be equivalent with '.01' (January), and 'b' with '.07' (June) (good enough for this purpose) + version = self.version.replace('a', '.01').replace('b', '.07') + + deprecated = False + + # make sure a non-symbolic version (e.g., 'system') is used before making comparisons using LooseVersion + if re.match('^[0-9]', version): + # rompi toolchains older than 2023b should not exist (need GCC >= 13) + if LooseVersion(version) < LooseVersion('2023'): + deprecated = True + + return deprecated diff --git a/src/build_order.rs b/src/build_order.rs index 346e8108..f536c027 100644 --- a/src/build_order.rs +++ b/src/build_order.rs @@ -540,14 +540,25 @@ fn within_generation<'a>( all: &[Candidate], dep: &DepReq, ) -> Vec<&'a Candidate> { - if dep.toolchain.is_none() && !crate::hierarchy::is_system_toolchain(&recipe.toolchain) { - admissible.retain(|candidate| !crate::hierarchy::is_system_toolchain(&candidate.toolchain)); + if dep.toolchain.is_none() { + admissible.retain(|candidate| { + crate::hierarchy::bare_dependency_allows_system(&recipe.toolchain, &candidate.toolchain) + }); } let Some(best) = admissible.iter().map(|c| distance(c, recipe, all)).min() else { return admissible; }; if best == usize::MAX && dep.toolchain.is_none() { - return Vec::new(); + let spells_module = dep.version_req.strip_prefix("==").is_some_and(|pinned| { + let wanted = format!("{pinned}{}", dep.versionsuffix.as_deref().unwrap_or("")); + admissible.iter().any(|c| { + let mv = module_version(c); + mv == wanted && mv != c.install_version_stem() + }) + }); + if !spells_module { + return Vec::new(); + } } admissible.retain(|c| distance(c, recipe, all) == best); admissible diff --git a/src/eb_parse.rs b/src/eb_parse.rs index ee46628f..9ca644c5 100644 --- a/src/eb_parse.rs +++ b/src/eb_parse.rs @@ -414,14 +414,10 @@ impl<'a> Parser<'a> { break; } if self.at_control_keyword() { - // `if ARCH == 'x86_64':` is how a recipe adds a dependency or - // a source name for one architecture, and the `else` is the - // name used on every other architecture. Kaleido's wheel and - // Go's tarball are selected that way. The guard was - // unmodeled, which dropped the assignment, and a `sources` - // line that then names the missing variable cannot be planned - // with. - if self.take_arch_branch() { + // `if ARCH == 'x86_64':` and decidable guards over parsed + // recipe variables (e.g. `if 'gpu' in local_extras:`) are how + // recipes conditionally append dependencies or sources. + if self.take_known_branch() { continue; } self.skip_compound_or_line(); @@ -478,26 +474,26 @@ impl<'a> Parser<'a> { Ok(()) } - /// Enter the `if` / `elif` / `else` arm that applies to this architecture. + /// Enter the `if` / `elif` / `else` arm that holds for this recipe. /// - /// Returns false, with the cursor unmoved, when the statement is not an - /// `ARCH` comparison this parser can decide. The caller then skips the - /// whole compound, which is what a guard written for something other - /// than the architecture needs. + /// Returns false, with the cursor unmoved, when the statement is not a + /// branch condition this parser can decide (`ARCH` comparisons or + /// boolean/membership/equality predicates over already-assigned recipe + /// variables). The caller then skips the whole compound. /// /// A true arm is left for the main loop to parse. A false arm is /// skipped, and so is every later `elif` that is also false. `else` /// runs only when no earlier arm matched. A true `if` does not consume /// the `else`: the main loop skips that compound on the next iteration, - /// so the other architecture's assignment is not also applied. - fn take_arch_branch(&mut self) -> bool { + /// so the other branch's assignment is not also applied. + fn take_known_branch(&mut self) -> bool { let Some(header) = self.peek_header() else { return false; }; if !header.starts_with("if ") { return false; } - let Some(holds) = arch_header_holds(&header, &self.arch) else { + let Some(holds) = self.branch_header_holds(&header) else { return false; }; self.consume_line(); @@ -510,12 +506,12 @@ impl<'a> Parser<'a> { let Some(header) = self.peek_header() else { break; }; - if header == "else:" { + if strip_trailing_py_comment(&header).trim() == "else:" { self.consume_line(); return true; } if header.starts_with("elif ") { - let Some(holds) = arch_header_holds(&header, &self.arch) else { + let Some(holds) = self.branch_header_holds(&header) else { break; }; self.consume_line(); @@ -530,6 +526,123 @@ impl<'a> Parser<'a> { true } + fn branch_header_holds(&self, header: &str) -> Option { + if let Some(holds) = arch_header_holds(header, &self.arch) { + return Some(holds); + } + let stripped = strip_trailing_py_comment(header); + let trimmed = stripped.trim(); + let body = trimmed.strip_suffix(':')?.trim(); + let cond = body + .strip_prefix("if ") + .or_else(|| body.strip_prefix("elif "))? + .trim(); + if cond.is_empty() { + return None; + } + let mut sub = Parser::new(cond, &self.arch); + sub.env = self.env.clone(); + sub.env + .entry("ARCH".into()) + .or_insert_with(|| Value::Str(self.arch.clone())); + let val = sub.parse_cond_or().ok()?; + sub.skip_ws(); + if sub.pos != sub.src.len() { + return None; + } + value_truthy(&val) + } + + fn eat_kw(&mut self, kw: &[u8]) -> bool { + self.skip_ws(); + let rest = &self.src[self.pos..]; + if !rest.starts_with(kw) { + return false; + } + let next = self.src.get(self.pos + kw.len()).copied(); + if next.is_some_and(|c| c.is_ascii_alphanumeric() || c == b'_') { + return false; + } + self.pos += kw.len(); + true + } + + fn parse_cond_or(&mut self) -> Result { + let mut left = self.parse_cond_and()?; + while self.eat_kw(b"or") { + let right = self.parse_cond_and()?; + let lhs = value_truthy(&left).ok_or_else(|| self.err("untruthy lhs in 'or'"))?; + let rhs = value_truthy(&right).ok_or_else(|| self.err("untruthy rhs in 'or'"))?; + left = Value::Bool(lhs || rhs); + } + Ok(left) + } + + fn parse_cond_and(&mut self) -> Result { + let mut left = self.parse_cond_not()?; + while self.eat_kw(b"and") { + let right = self.parse_cond_not()?; + let lhs = value_truthy(&left).ok_or_else(|| self.err("untruthy lhs in 'and'"))?; + let rhs = value_truthy(&right).ok_or_else(|| self.err("untruthy rhs in 'and'"))?; + left = Value::Bool(lhs && rhs); + } + Ok(left) + } + + fn parse_cond_not(&mut self) -> Result { + if self.eat_kw(b"not") { + let inner = self.parse_cond_not()?; + let b = value_truthy(&inner).ok_or_else(|| self.err("untruthy operand in 'not'"))?; + return Ok(Value::Bool(!b)); + } + self.parse_cond_cmp() + } + + fn parse_cond_cmp(&mut self) -> Result { + let left = self.parse_cond_atom()?; + self.skip_ws(); + if self.src[self.pos..].starts_with(b"==") { + self.pos += 2; + let right = self.parse_cond_atom()?; + return Ok(Value::Bool(left == right)); + } + if self.src[self.pos..].starts_with(b"!=") { + self.pos += 2; + let right = self.parse_cond_atom()?; + return Ok(Value::Bool(left != right)); + } + if self.eat_kw(b"in") { + let right = self.parse_cond_atom()?; + return Ok(Value::Bool(value_in(&left, &right)?)); + } + let saved = self.pos; + if self.eat_kw(b"not") { + if self.eat_kw(b"in") { + let right = self.parse_cond_atom()?; + return Ok(Value::Bool(!value_in(&left, &right)?)); + } + self.pos = saved; + } + Ok(left) + } + + fn parse_cond_atom(&mut self) -> Result { + self.skip_ws(); + if self.peek() == Some(b'(') { + let saved = self.pos; + self.pos += 1; + if let Ok(val) = self.parse_cond_or() { + self.skip_ws(); + if self.peek() == Some(b')') { + self.pos += 1; + return Ok(val); + } + } + self.pos = saved; + } + self.parse_expr() + } + /// The current line, trimmed, without consuming it. fn peek_header(&self) -> Option { let rest = self.src.get(self.pos..)?; @@ -2215,6 +2328,67 @@ fn unquote_py(text: &str) -> Option<&str> { } } +fn strip_trailing_py_comment(line: &str) -> &str { + let bytes = line.as_bytes(); + let mut in_s = false; + let mut in_d = false; + let mut escape = false; + for (idx, &b) in bytes.iter().enumerate() { + if escape { + escape = false; + continue; + } + if in_s { + if b == b'\\' { + escape = true; + } else if b == b'\'' { + in_s = false; + } + } else if in_d { + if b == b'\\' { + escape = true; + } else if b == b'"' { + in_d = false; + } + } else if b == b'\'' { + in_s = true; + } else if b == b'"' { + in_d = true; + } else if b == b'#' { + return &line[..idx]; + } + } + line +} + +fn value_truthy(val: &Value) -> Option { + match val { + Value::Bool(b) => Some(*b), + Value::Str(s) => Some(!s.is_empty()), + Value::Int(i) => Some(*i != 0), + Value::None => Some(false), + Value::List(items) | Value::Tuple(items) => Some(!items.is_empty()), + Value::Dict(entries) => Some(!entries.is_empty()), + } +} + +fn value_in(needle: &Value, haystack: &Value) -> Result { + match haystack { + Value::List(items) | Value::Tuple(items) => Ok(items.iter().any(|item| item == needle)), + Value::Str(s) => match needle { + Value::Str(sub) => Ok(s.contains(sub.as_str())), + other => Err(format!( + "'in ' requires string left operand, got {other:?}" + )), + }, + Value::Dict(entries) => match needle { + Value::Str(key) => Ok(entries.iter().any(|(k, _)| k == key)), + _ => Ok(false), + }, + other => Err(format!("unsupported 'in' container: {other:?}")), + } +} + /// Whether `if ARCH == 'x86_64':`, `elif ARCH != "aarch64":` or /// `if ARCH in ('aarch64', 'riscv64'):` is true for `arch`. /// @@ -2222,7 +2396,7 @@ fn unquote_py(text: &str) -> Option<&str> { /// can decide. Spelling aliases (`aarch64` / `AArch64`, `POWER`) count as /// the same machine. fn arch_header_holds(header: &str, arch: &str) -> Option { - let header = header.trim(); + let header = strip_trailing_py_comment(header).trim(); let header = header.strip_suffix(':')?.trim(); let rest = header .strip_prefix("if ") @@ -4317,18 +4491,36 @@ fn candidate_matches_dep_core( && !got_vs.is_empty() && crate::version::requirement_is_exact(&req) && matches_req(&format!("{stem}{got_vs}"), &req); - if !stem_match && !combined_match { + let module_ver = if crate::hierarchy::is_system_toolchain(&c.toolchain) { + format!("{stem}{got_vs}") + } else { + format!( + "{stem}-{}-{}{got_vs}", + c.toolchain.name, c.toolchain.version + ) + }; + let full_module_match = dep.toolchain.is_none() + && dep.versionsuffix.is_none() + && crate::version::requirement_is_exact(&req) + && matches_req(&module_ver, &req); + if !stem_match && !combined_match && !full_module_match { return false; } if let Some(tc) = &dep.toolchain { return crate::hierarchy::toolchains_match(&c.toolchain, tc); } + // A version that spells the whole toolchain-suffixed module names one + // build, wherever it sits, as `build_order::within_generation` accepts; + // SYSTEM still needs a SYSTEM recipe, as there. + if full_module_match && module_ver != stem { + return hierarchy.is_none_or(|h| { + crate::hierarchy::bare_dependency_allows_system(&h.parent, &c.toolchain) + }); + } // Implicit dependencies minimize within the generation, but do not fall // through to SYSTEM unless the recipe itself uses SYSTEM. if let Some(h) = hierarchy { - return h.contains(&c.toolchain) - && (crate::hierarchy::is_system_toolchain(&h.parent) - || !crate::hierarchy::is_system_toolchain(&c.toolchain)); + return h.admits_bare_dependency_candidate(&c.toolchain); } true } diff --git a/src/hierarchy.rs b/src/hierarchy.rs index d42c2060..70146b9f 100644 --- a/src/hierarchy.rs +++ b/src/hierarchy.rs @@ -493,6 +493,22 @@ impl ToolchainHierarchy { pub fn contains(&self, tc: &Toolchain) -> bool { self.members.iter().any(|m| toolchains_match(m, tc)) } + + /// Whether a bare dependency tuple may select `candidate`. + /// + /// A non-SYSTEM recipe searches its own generation but does not fall + /// through to SYSTEM. A SYSTEM recipe may select SYSTEM. + pub fn admits_bare_dependency_candidate(&self, candidate: &Toolchain) -> bool { + self.contains(candidate) && bare_dependency_allows_system(&self.parent, candidate) + } +} + +/// Whether a bare dependency may select `candidate` based on SYSTEM status. +/// +/// Hierarchy membership remains the caller's responsibility: some callers +/// select a hierarchy level separately by distance. +pub fn bare_dependency_allows_system(parent: &Toolchain, candidate: &Toolchain) -> bool { + is_system_toolchain(parent) || !is_system_toolchain(candidate) } /// EasyBuild / parser SYSTEM toolchains: name `system` (any case), version empty or `system`. @@ -589,7 +605,7 @@ pub fn known_hierarchy(parent: &Toolchain) -> Option { /// a brand-new `foss-2026.1` must not require shipping a new fixture). /// /// Members mirror EasyBuild's `get_toolchain_hierarchy` order for foss-family -/// generations: `system < GCCcore < GCC < gompi < gfbf < parent`. A bare +/// generations: `system < GCCcore < GCC < gfbf < gompi < parent`. A bare /// dependency tuple does not reach `system`; recipe check omits it from /// the member list and, when the candidate is a SYSTEM recipe, says to /// write `('Name', 'version', '', SYSTEM)`. Intermediate @@ -619,13 +635,37 @@ fn append_postorder( } } +fn joined_candidate_version(c: &Candidate) -> String { + format!( + "{}{}", + c.version, + c.versionsuffix.as_deref().unwrap_or_default() + ) +} + +fn is_compiler_or_toolchain_definition(c: &Candidate) -> bool { + if !is_system_toolchain(&c.toolchain) { + return false; + } + if c.easyblock.as_deref() == Some("Toolchain") { + return true; + } + c.moduleclass.as_deref() == Some("compiler") + && (c.name == "GCCcore" + || c.dependencies + .iter() + .chain(c.builddependencies.iter()) + .any(|d| matches!(d.name.as_str(), "GCCcore" | "GCC" | "nvidia-compilers"))) +} + /// A hierarchy read off the tree, for a toolchain no family rule covers. /// /// A toolchain is defined by a recipe, and that recipe's dependencies say what /// it is made of: `iimpi` names `intel-compilers` and `impi`, and /// `intel-compilers` names the `GCCcore` it was built on. Any dependency that -/// other recipes in the tree use *as* a toolchain is a subtoolchain, and any -/// same-version toolchain definition whose pins are a strict subset of the +/// other recipes in the tree use *as* a toolchain (or whose own `SYSTEM` recipe +/// is a toolchain / GCCcore-based compiler definition) is a subtoolchain, and +/// any same-version toolchain definition whose pins are a strict subset of the /// parent's (such as `iimkl` inside `intel` or `lfbf` inside `lfoss`) is an /// intermediate composite, so the chain can be walked without hardcoding the /// family and emitted in topological subtoolchain-first order. @@ -648,6 +688,11 @@ fn derive_hierarchy_by_walking( let Some(definition) = cands .iter() .find(|c| c.name == current.name && c.version == current.version) + .or_else(|| { + cands.iter().find(|c| { + c.name == current.name && joined_candidate_version(c) == current.version + }) + }) else { continue; }; @@ -676,10 +721,29 @@ fn derive_hierarchy_by_walking( } if let Some(version) = exact_pin_version(&dependency.version_req) { def_pins.insert((dependency.name.as_str(), version)); - if used_as_toolchain.contains(dependency.name.as_str()) { + let full_version = match dependency.versionsuffix.as_deref() { + Some(sfx) if !sfx.is_empty() => format!("{version}{sfx}"), + _ => version.to_string(), + }; + let is_subtoolchain = used_as_toolchain.contains(dependency.name.as_str()) + || cands.iter().any(|c| { + c.name == dependency.name + && (c.version == full_version + || joined_candidate_version(c) == full_version) + && is_compiler_or_toolchain_definition(c) + }); + if is_subtoolchain { + let sub_ver = if full_version != version + && cands.iter().any(|c| { + c.name == dependency.name && joined_candidate_version(c) == full_version + }) { + full_version + } else { + version.to_string() + }; push_sub(Toolchain { name: dependency.name.clone(), - version: version.to_string(), + version: sub_ver, }); } } @@ -741,7 +805,7 @@ pub fn derive_hierarchy_from_candidates( parent: &Toolchain, cands: &[Candidate], ) -> Option { - const COMPOSITES: [&str; 3] = ["gompi", "gfbf", "foss"]; + const COMPOSITES: [&str; 3] = ["gfbf", "gompi", "foss"]; if NVIDIA_COMPOSITES.contains(&parent.name.as_str()) { // NVHPC-family composite (NVHPC, nvompi, nvofbf): a different chain // from the GCC family, walked in its own function. @@ -822,8 +886,8 @@ pub fn derive_hierarchy_from_candidates( }) } -/// NVHPC-family composites, lowest rank first, mirroring the GCC family's -/// `gompi < gfbf < foss`. `nvompi` is NVHPC + OpenMPI; `nvofbf` adds FlexiBLAS, +/// NVHPC-family composites, lowest rank first, mirroring EasyBuild's `SUBTOOLCHAIN` +/// precedence (`nvompi < nvofbf`). `nvompi` is NVHPC + OpenMPI; `nvofbf` adds FlexiBLAS, /// FFTW and ScaLAPACK on top. /// Whether `version` names the same release as `spelled`, allowing `spelled` to /// carry a versionsuffix the candidate states separately. @@ -2030,8 +2094,8 @@ mod tests { "system", "GCCcore-15.2.0", "GCC-15.2.0", - "gompi-2099a", "gfbf-2099a", + "gompi-2099a", "foss-2099a", ] ); diff --git a/tests/dep_matching_and_append.rs b/tests/dep_matching_and_append.rs index eacbc7c9..e171658c 100644 --- a/tests/dep_matching_and_append.rs +++ b/tests/dep_matching_and_append.rs @@ -1,7 +1,9 @@ use eb_stack::{ - candidate_matches_dep, check_recipe_deps, resolve_easyconfig_str, - resolve_easyconfig_str_for_arch, + build_order, candidate_matches_dep, check_recipe_deps, module_name, parse_easyconfig_tree, + resolve_easyconfig_file, resolve_easyconfig_str, resolve_easyconfig_str_for_arch, Choice, + ModuleKey, Toolchain, }; +use std::path::PathBuf; #[test] fn check_recipe_deps_matches_version_plus_versionsuffix_pin() { @@ -83,3 +85,114 @@ builddependencies.append(('CMake', '3.27.6'),) assert_eq!(dep_names, vec!["zlib", "libunwind"]); assert_eq!(bdep_names, vec!["Automake", "CMake"]); } +#[test] +fn real_pennylane_conditional_augassign_resolves_cuquantum() { + let ec_root = PathBuf::from(env!("CARGO_MANIFEST_DIR")) + .join("fixtures") + .join("parity_pennylane_cond") + .join("easyconfigs"); + let cands = parse_easyconfig_tree(&ec_root).unwrap().candidates; + let pennylane_eb = ec_root.join("p/PennyLane/PennyLane-0.37.0-foss-2023a-CUDA-12.1.1.eb"); + let pennylane_resolved = resolve_easyconfig_file(&pennylane_eb).unwrap(); + let pennylane = pennylane_resolved.to_candidate(); + assert_eq!( + module_name(&ModuleKey::of(&pennylane)), + "PennyLane/0.37.0-foss-2023a-CUDA-12.1.1" + ); + + let cuquantum_resolved = pennylane_resolved + .dependencies + .iter() + .find(|d| d.name == "cuQuantum") + .expect("PennyLane must keep conditional += cuQuantum dependency"); + let cuquantum_cand = cands + .iter() + .find(|c| module_name(&ModuleKey::of(c)) == "cuQuantum/24.08.0.5-CUDA-12.1.1") + .expect("cuQuantum candidate in parity_pennylane_cond"); + assert!( + candidate_matches_dep(cuquantum_cand, cuquantum_resolved), + "cuQuantum/24.08.0.5-CUDA-12.1.1 must satisfy PennyLane cuQuantum ResolvedDep" + ); + + let cuquantum_dep = pennylane + .dependencies + .iter() + .find(|d| d.name == "cuQuantum") + .expect("cuQuantum DepReq"); + assert_eq!( + cuquantum_dep.toolchain, + Some(Toolchain { + name: "system".into(), + version: "system".into(), + }) + ); + assert_eq!(cuquantum_dep.versionsuffix.as_deref(), Some("-CUDA-12.1.1")); +} + +#[test] +fn real_sentieon_system_suffixed_version_req_resolves_jemalloc() { + let ec_root = PathBuf::from(env!("CARGO_MANIFEST_DIR")) + .join("fixtures") + .join("parity_sentieon_system_dep") + .join("easyconfigs"); + let cands = parse_easyconfig_tree(&ec_root).unwrap().candidates; + let sentieon_eb = ec_root.join("s/sentieon-genomics/sentieon-genomics-202503.02.eb"); + let sentieon = resolve_easyconfig_file(&sentieon_eb).unwrap(); + let sentieon_cand = sentieon.to_candidate(); + assert_eq!( + module_name(&ModuleKey::of(&sentieon_cand)), + "sentieon-genomics/202503.02" + ); + + let jemalloc_cand = cands + .iter() + .find(|c| c.name == "jemalloc") + .expect("jemalloc candidate"); + assert!(candidate_matches_dep( + jemalloc_cand, + &sentieon.dependencies[0] + )); + assert_eq!( + jemalloc_cand.toolchain, + Toolchain { + name: "GCCcore".into(), + version: "13.3.0".into(), + } + ); + + let order = build_order(&cands, &["sentieon-genomics".into()], Choice::Newest) + .expect("build_order for sentieon-genomics"); + let jemalloc_idx = order + .iter() + .position(|c| module_name(&ModuleKey::of(c)) == "jemalloc/5.3.0-GCCcore-13.3.0") + .expect("jemalloc/5.3.0-GCCcore-13.3.0 in build_order"); + let sentieon_idx = order + .iter() + .position(|c| module_name(&ModuleKey::of(c)) == "sentieon-genomics/202503.02") + .expect("sentieon-genomics/202503.02 in build_order"); + assert!(jemalloc_idx < sentieon_idx); +} + +#[test] +fn real_sentieon_full_module_pin_passes_recipe_check() { + let ec_root = PathBuf::from(env!("CARGO_MANIFEST_DIR")) + .join("fixtures") + .join("parity_sentieon_system_dep") + .join("easyconfigs"); + let cands = parse_easyconfig_tree(&ec_root).unwrap().candidates; + let sentieon = resolve_easyconfig_file( + &ec_root.join("s/sentieon-genomics/sentieon-genomics-202503.02.eb"), + ) + .unwrap(); + + let check = check_recipe_deps(&sentieon, &cands); + assert!( + check.missing.is_empty(), + "('jemalloc', '5.3.0-GCCcore-13.3.0') spells a module build_order resolves: {:?}", + check.missing + ); + assert_eq!( + check.found, + vec!["runtime:jemalloc-5.3.0-GCCcore-13.3.0 (GCCcore-13.3.0)".to_string()] + ); +} diff --git a/tests/hierarchy_universe.rs b/tests/hierarchy_universe.rs index b324d229..4006fa1e 100644 --- a/tests/hierarchy_universe.rs +++ b/tests/hierarchy_universe.rs @@ -638,6 +638,32 @@ fn stack_solve_and_recipe_check_agree_on_the_cbc_slice() { ); } +#[test] +fn bare_module_version_does_not_select_system() { + let zlib = eb_stack::resolve_easyconfig_str( + "name = 'zlib'\nversion = '1.3.1'\nversionsuffix = '-special'\ntoolchain = SYSTEM\n", + ) + .unwrap(); + let app = eb_stack::resolve_easyconfig_str( + "name = 'App'\nversion = '1.0'\n\ + toolchain = {'name': 'foss', 'version': '2025b'}\n\ + dependencies = [('zlib', '1.3.1-special')]\n", + ) + .unwrap(); + let hierarchy = eb_stack::hierarchy::ToolchainHierarchy { + parent: app.toolchain.clone(), + members: vec![zlib.toolchain.clone(), app.toolchain.clone()], + }; + assert!( + !eb_stack::candidate_matches_dep_for_recipe( + &zlib.to_candidate(), + &app.dependencies[0], + &hierarchy, + ), + "a bare module version selected SYSTEM" + ); +} + /// On the pinned develop tree EasyBuild takes zlib 1.3.1 and bzip2 1.0.8 at /// GCCcore-14.3.0 for Cbc (first hit of the parent-first subtoolchain search). #[test] diff --git a/tests/toolchain_hierarchy_parity.rs b/tests/toolchain_hierarchy_parity.rs index 7ae31244..9c2b6a6e 100644 --- a/tests/toolchain_hierarchy_parity.rs +++ b/tests/toolchain_hierarchy_parity.rs @@ -1,6 +1,6 @@ use eb_stack::{hierarchy_for_with_tree, parse_easyconfig_tree, solve_from_easyconfigs, Toolchain}; use std::fs; -use std::path::Path; +use std::path::{Path, PathBuf}; fn write_eb(root: &Path, rel: &str, body: &str) { let path = root.join(rel); @@ -234,3 +234,91 @@ fn gfbf_hierarchy_excludes_gompi() { vec!["system", "GCCcore-14.3.0", "GCC-14.3.0", "gfbf-2025b"] ); } + +#[test] +fn real_foss_2022a_sibling_order_matches_framework_subtoolchain() { + let fixture_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")) + .join("fixtures") + .join("parity_foss_subtoolchain"); + let ec_root = fixture_dir.join("easyconfigs"); + let fw_root = fixture_dir.join("framework"); + + let foss_py = fs::read_to_string(fw_root.join("easybuild/toolchains/foss.py")).unwrap(); + assert!(foss_py.contains("SUBTOOLCHAIN = [Gompi.NAME, Golf.NAME, Gfbf.NAME]")); + + let cands = parse_easyconfig_tree(&ec_root).unwrap().candidates; + let h = hierarchy_for_with_tree( + &Toolchain { + name: "foss".into(), + version: "2022a".into(), + }, + None, + &cands, + ) + .unwrap(); + assert_eq!( + h.bare_tuple_labels(), + vec![ + "GCCcore-11.3.0", + "GCC-11.3.0", + "gfbf-2022a", + "gompi-2022a", + "foss-2022a", + ] + ); +} + +#[test] +fn real_sparse_iimkl_and_rompi_hierarchies_keep_compiler_and_gcccore_levels() { + let fixture_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")) + .join("fixtures") + .join("parity_sparse_compiler_hierarchy"); + let ec_root = fixture_dir.join("easyconfigs"); + let fw_root = fixture_dir.join("framework"); + + let iimkl_py = fs::read_to_string(fw_root.join("easybuild/toolchains/iimkl.py")).unwrap(); + let ic_py = + fs::read_to_string(fw_root.join("easybuild/toolchains/compiler/intel_compilers.py")) + .unwrap(); + let rompi_py = fs::read_to_string(fw_root.join("easybuild/toolchains/rompi.py")).unwrap(); + let rc_py = fs::read_to_string(fw_root.join("easybuild/toolchains/compiler/rocm_compilers.py")) + .unwrap(); + assert!(iimkl_py.contains("self.SUBTOOLCHAIN = IntelCompilersToolchain.NAME")); + assert!(ic_py.contains("COMPILER_MODULE_NAME = ['intel-compilers']")); + assert!(rompi_py.contains("SUBTOOLCHAIN = ROCmCompilersToolchain.NAME")); + assert!(rc_py.contains("SUBTOOLCHAIN = SYSTEM_TOOLCHAIN_NAME")); + + let cands = parse_easyconfig_tree(&ec_root).unwrap().candidates; + + let iimkl_h = hierarchy_for_with_tree( + &Toolchain { + name: "iimkl".into(), + version: "2025b".into(), + }, + None, + &cands, + ) + .unwrap(); + assert_eq!( + iimkl_h.bare_tuple_labels(), + vec!["GCCcore-14.3.0", "intel-compilers-2025.2.0", "iimkl-2025b",] + ); + + let rompi_h = hierarchy_for_with_tree( + &Toolchain { + name: "rompi".into(), + version: "2025a".into(), + }, + None, + &cands, + ) + .unwrap(); + assert_eq!( + rompi_h.bare_tuple_labels(), + vec![ + "GCCcore-14.2.0", + "rocm-compilers-19.0.0-ROCm-6.4.1", + "rompi-2025a", + ] + ); +}