Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TriBITS: Transition to find_package(Python3) (TriBITSPub/TriBITS#610) #13523

Merged
merged 9 commits into from
Oct 17, 2024

Commits on Oct 11, 2024

  1. Automatic snapshot commit from tribits at 3dca0964

    Origin repo remote tracking branch: 'github/master'
    Origin repo remote repo URL: 'github = [email protected]:TriBITSPub/TriBITS.git'
    Git describe: tribits_start-3502-g28a36351
    
    At commit:
    
    commit 3dca096437acbb7a16b88bee7d9569bccd8e6317
    Author:  Samuel E. Browne <[email protected]>
    Date:    Thu Jun 6 15:26:15 2024 -0600
    Summary: Add Python3 requirement to user guide (trilinos#610)
    
    Mostly, this was done to brings in the changes for transitioning to
    find_package(Python3) (see TriBITSPub/TriBITS#610).
    
    But the full set of TriBITS PRs merged in were:
    
    * TriBITSPub/TriBITS#608 sebrowne/python3
    * TriBITSPub/TriBITS#617 TriBITSPub/610-python3-2
    * TriBITSPub/TriBITS#616 bartlettroscoe/610-python3
    * TriBITSPub/TriBITS#615 bartlettroscoe/enable-disable-doc-update-2024-08-29
    * TriBITSPub/TriBITS#611 bartlettroscoe/tril-13133-TriBITS-Update-License-and-Copyright-2
    * TriBITSPub/TriBITS#614 bartlettroscoe/tribits-updates-2024-08-01
    * TriBITSPub/TriBITS#613 TriBITSPub/612-improve-tribits-version-error
    * TriBITSPub/TriBITS#609 bartlettroscoe/tril-13133-TriBITS-Update-License-and-Copyright
    
    Signed-off-by: Roscoe A. Bartlett <[email protected]>
    bartlettroscoe committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e127b7b View commit details
    Browse the repository at this point in the history
  2. Merge branch 'tribits_github_snapshot' into tribits-610-python3

    Signed-off-by: Roscoe A. Bartlett <[email protected]>
    bartlettroscoe committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    434aecc View commit details
    Browse the repository at this point in the history
  3. Run to-python3.sh on Trilinos CMake files (TriBITSPub/TriBITS#610)

    This is the result of running the script:
    
       cmake/tribits/refactoring/to-python3.sh
    
    on the entire Trilinos source tree.
    
    This just changes from "PYTHON_EXECUTABLE" to "Python3_EXECUTABLE".
    
    NOTE: The script also fixes up then carriage-return/line-feed chars (which is
    why all of the lines of the file packages/compadre/CMakeLists.txt was
    changed).
    
    Signed-off-by: Roscoe A. Bartlett <[email protected]>
    bartlettroscoe committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    8cc5ddd View commit details
    Browse the repository at this point in the history
  4. Compadre: Putting back PYTHON_EXECUTABLE for non-TriBITS CMake code (T…

    …riBITSPub/TriBITS#610)
    
    I don't want to assume for non-TriBIT code in Compadre to change from "python"
    to "python3".
    
    Signed-off-by: Roscoe A. Bartlett <[email protected]>
    bartlettroscoe committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    d8c5c24 View commit details
    Browse the repository at this point in the history
  5. Sacado: Return snapshotted googletest CMake files to PYTHON_EXECUTABLE (

    TriBITSPub/TriBITS#610)
    
    We should not be touching snapshotted code that we are not even using in
    Trilinos (at least I don't think we are).
    
    Signed-off-by: Roscoe A. Bartlett <[email protected]>
    bartlettroscoe committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    c4c71e5 View commit details
    Browse the repository at this point in the history
  6. PyTrilinos: Replace PYTHON_EXECUTABLE with Python3_EXECUTABLE (TriBIT…

    …SPub/TriBITS#610)
    
    There are a bunch of non-CMake or RST files in PyTrilinos that use
    PYTHON_EXECUTABLE.  Not sure how all of this works but hopefully this does the
    right thing.
    
    Signed-off-by: Roscoe A. Bartlett <[email protected]>
    bartlettroscoe committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    600198f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f094a74 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    602d0e7 View commit details
    Browse the repository at this point in the history
  9. ML: Replace PYTHONINTERP_FOUND with Python3_EXECUTABLE (TriBITSPub/Tr…

    …iBITS#610)
    
    Python3_EXECUTABLE will evaluate to true in Python if it is set to use.
    
    Signed-off-by: Roscoe A. Bartlett <[email protected]>
    bartlettroscoe committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e644b5b View commit details
    Browse the repository at this point in the history