You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I went to make some changes to command line arguments in build_devtools.py . Looking at the documentation for optparse I find:
Deprecated since version 3.2: The optparse module is deprecated and will not be developed further;
development will continue with the argparse module.
I wanted to allow multiple uses of the --spec argument since spack/specs.yaml file can lists multiple specs. The get_specs_for_current_machine function prefixes each spec with % with the line
specs = ['%' + spec for spec in specs]
This is not being done for the --spec command line argument and causes problems. It runs but is not building what I expected. It eventually ends but did not create the .cmake files.
[ERROR: No host configs found at /g/g14/taylor/ws/axom-tpl/toss_4_x86_64_ib/2024_02_01_10_20_13]
[ERROR: Build and test of src vs tpls test failed.]
I also ran into a problem where i used -spec instead of --spec. This did not report an error but ran. It ignored the spec I gave it and instead used pec. A result of stacking single letter options I assume.
[Building and testing tpls for specs:
pec
]
The text was updated successfully, but these errors were encountered:
They were using optparse which has been deprecated since Python 3.2
Converted archive_job.py and report.py to Python3.
They both try to call get_archive_base_dir which does not exist.
#1268
I went to make some changes to command line arguments in
build_devtools.py
. Looking at the documentation foroptparse
I find:I wanted to allow multiple uses of the
--spec
argument sincespack/specs.yaml
file can lists multiple specs. Theget_specs_for_current_machine
function prefixes each spec with%
with the lineThis is not being done for the
--spec
command line argument and causes problems. It runs but is not building what I expected. It eventually ends but did not create the.cmake
files.I also ran into a problem where i used
-spec
instead of--spec
. This did not report an error but ran. It ignored the spec I gave it and instead usedpec
. A result of stacking single letter options I assume.The text was updated successfully, but these errors were encountered: