Skip to content

professor: add v2.5.6#5653

Open
wdconinc wants to merge 6 commits into
developfrom
professor-2.5.6
Open

professor: add v2.5.6#5653
wdconinc wants to merge 6 commits into
developfrom
professor-2.5.6

Conversation

@wdconinc

@wdconinc wdconinc commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

This PR adds to professor the newer version v2.5.6. This also fixes a few issues which likely explain why I could never get professor to build in the HEP stack: the Makefile seems to pick up the $PWD where you issue the spack command, unless we add a working_dir and/or replace the use of explicit $(PWD) with $(CURDIR) (https://stackoverflow.com/questions/52437728/what-is-the-difference-between-pwd-and-curdir). This now also explicitly calls the ./configure script (home-grown, not autotools).

Test build (dev_path with a fake 2.5.1, but it was a clean clone):

t7tqfkn professor@2.5.1+interactive build_system=generic dev_path=/home/wdconinc/git/professor

Copilot AI review requested due to automatic review settings July 19, 2026 18:02
@spackbot-triage spackbot-triage Bot added new-version Modifications to packages' `depends_on()` directives dependencies Modifications with a `depends_on()` directive update-package Modifications to packages in the repository labels Jul 19, 2026
@spackbot-triage
spackbot-triage Bot requested a review from mjk655 July 19, 2026 18:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Spack package recipe for professor to support newer upstream releases and to make the build/install process more reliable by controlling the build working directory and running the project’s ./configure script explicitly.

Changes:

  • Added versions 2.3.4, 2.4.2, and 2.5.6 (with checksums).
  • Added git and list_url metadata to improve source discovery/dev workflows.
  • Adjusted build logic: patch Makefile $(PWD) usage, run ./configure from the staged source directory, then build/install.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

bernhardkaindl
bernhardkaindl previously approved these changes Jul 19, 2026
Comment thread repos/spack_repo/builtin/packages/professor/package.py Outdated
@wdconinc

This comment was marked as resolved.

@spackbot-app

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Modifications with a `depends_on()` directive new-version Modifications to packages' `depends_on()` directives update-package Modifications to packages in the repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants