spack/lib/spack
John W. Parent 31cfcafeba
Build logic fix: reorder definition of package module variables (#46992)
#44327 made sure to always run `set_package_py_globals` on all
packages before running `setup_dependent_package` for any package,
so that packages implementing the latter could depend on variables
like `spack_cc` being defined.

This ran into an undocumented dependency: `std_cmake_args` is set in
`set_package_py_globals` and makes use of `cmake_prefix_paths` (if it
is defined in the package); `py-torch`es implementation of
`cmake_prefix_paths` depends on a variable set by
`setup_dependent_package` (`python_platlib`).

This generally restores #44327, and corrects the resulting issue by
moving assignment of `std_cmake_args` to after both actions have been
run.
2024-10-18 13:36:16 -07:00
..
docs CI RESTful Configuration (#41622) 2024-10-16 14:06:09 -06:00
env Revert "cc: ensure that RPATHs passed to linker are unique" (#46712) 2024-10-02 11:50:09 +02:00
external archspec: update to v0.2.5 (#46958) 2024-10-14 19:09:17 +02:00
llnl python: rework how we compute the "command" property (#46850) 2024-10-09 01:08:27 -06:00
spack Build logic fix: reorder definition of package module variables (#46992) 2024-10-18 13:36:16 -07:00
spack_installable Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00