|
69 | 69 | from easybuild.tools.config import DEFAULT_JOB_EB_CMD, DEFAULT_LOGFILE_FORMAT, DEFAULT_MAX_FAIL_RATIO_PERMS |
70 | 70 | from easybuild.tools.config import DEFAULT_MINIMAL_BUILD_ENV, DEFAULT_MNS, DEFAULT_MODULE_SYNTAX, DEFAULT_MODULES_TOOL |
71 | 71 | from easybuild.tools.config import DEFAULT_MODULECLASSES, DEFAULT_PATH_SUBDIRS, DEFAULT_PKG_RELEASE, DEFAULT_PKG_TOOL |
72 | | -from easybuild.tools.config import DEFAULT_PKG_TYPE, DEFAULT_PNS, DEFAULT_PREFIX, DEFAULT_PR_TARGET_ACCOUNT |
| 72 | +from easybuild.tools.config import DEFAULT_PKG_TYPE, DEFAULT_PNS, DEFAULT_PREFIX, DEFAULT_EXTRA_SOURCE_URLS |
| 73 | +from easybuild.tools.config import DEFAULT_PR_TARGET_ACCOUNT |
73 | 74 | from easybuild.tools.config import DEFAULT_REPOSITORY, DEFAULT_WAIT_ON_LOCK_INTERVAL, DEFAULT_WAIT_ON_LOCK_LIMIT |
74 | 75 | from easybuild.tools.config import DEFAULT_FILTER_RPATH_SANITY_LIBS |
75 | | -from easybuild.tools.config import EBROOT_ENV_VAR_ACTIONS, ERROR, FORCE_DOWNLOAD_CHOICES, GENERAL_CLASS, IGNORE |
| 76 | +from easybuild.tools.config import EBROOT_ENV_VAR_ACTIONS, ERROR |
| 77 | +from easybuild.tools.config import FORCE_DOWNLOAD_CHOICES, GENERAL_CLASS, IGNORE |
76 | 78 | from easybuild.tools.config import JOB_DEPS_TYPE_ABORT_ON_ERROR, JOB_DEPS_TYPE_ALWAYS_RUN, LOADED_MODULES_ACTIONS |
77 | 79 | from easybuild.tools.config import LOCAL_VAR_NAMING_CHECK_WARN, LOCAL_VAR_NAMING_CHECKS |
78 | 80 | from easybuild.tools.config import OUTPUT_STYLE_AUTO, OUTPUT_STYLES, WARN |
@@ -407,6 +409,8 @@ def override_options(self): |
407 | 409 | None, 'store_true', False), |
408 | 410 | 'extra-modules': ("List of extra modules to load after setting up the build environment", |
409 | 411 | 'strlist', 'extend', None), |
| 412 | + "extra-source-urls": ("Specify URLs to fetch sources from in addition to those in the easyconfig", |
| 413 | + "urltuple", "add_flex", DEFAULT_EXTRA_SOURCE_URLS, {'metavar': 'URL[%sURL]' % '|'}), |
410 | 414 | 'fetch': ("Allow downloading sources ignoring OS and modules tool dependencies, " |
411 | 415 | "implies --stop=fetch, --ignore-osdeps and ignore modules tool", None, 'store_true', False), |
412 | 416 | 'filter-deps': ("List of dependencies that you do *not* want to install with EasyBuild, " |
|
0 commit comments