Thanks to visit codestin.com
Credit goes to github.com

Skip to content

nd996/easydeps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EasyDeps

Description

My attempt to write a script to help with writing EasyConfig (.eb) files. If you create a new, or begin to update an older file as long as you put the dependencies and the (new) toolchain, this script should use those fields to search for possible compatible existing modules.

It parses the given EasyConfig file and finds the toolchain version and any listed dependencies and uses them to search for possibly compatible modules by leveraging the eb --search command. Having EasyBuild installed and any additional EasyConfig repos added to your EASYBUILD_ROBOT_PATHS is required. It only searches for compatible modules using the toolchain and any listed dependencies already written in the EasyConfig file, it does not search for dependencies in any other way.

Note: The 'Python' dependency is ignored as the sting appears in so many results it was useless.

Requirements

  • Install EasyBuild
  • Update your EASYBUILD_ROBOT_PATHS environment variable to include any additional GitHub repos containing more EasyConfig files.

Example usage

To search for possible compatible dependencies:

python get_available_deps.py /path/to/easyconfig.eb

BONUS

To validate an EasyConfig file name, based on it's contents:

python ec_check_name.py /path/to/easyconfig.eb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages