Skip to content

eliminate duplicate multideps from generated module files - #4386

Merged
boegel merged 2 commits into
easybuilders:developfrom
ComputeCanada:drop_duplicate_multideps_from_modules
Dec 6, 2023
Merged

boegel merged 2 commits into
easybuilders:developfrom
ComputeCanada:drop_duplicate_multideps_from_modules

Conversation

@mboisson

Copy link
Copy Markdown
Contributor

When combining multi_deps with iterative builds, it generates a list with duplicates, for example:

   /cvmfs/soft.computecanada.ca/easybuild/modules/2023/x86-64-v3/Compiler/gcccore/nlopt/2.7.1.lua:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
help([[
Description
===========
NLopt is a free/open-source library for nonlinear optimization,
 providing a common interface for a number of different free optimization routines
 available online as well as original implementations of various other algorithms.


More information
================
 - Homepage: http://ab-initio.mit.edu/wiki/index.php/NLopt


Compatible modules
==================
This module is compatible with the following modules, one of each line is required:
* python/3.10, python/3.10, python/3.10, python/3.10, python/3.11, python/3.11, python/3.11, python/3.11
]])

This commit fixes that.

Comment thread easybuild/tools/module_generator.py Outdated
@boegel boegel changed the title Eliminate duplicate multideps from modules eliminate duplicate multideps from generated module files Nov 22, 2023
@boegel
boegel merged commit 7195525 into easybuilders:develop Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants