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

Further CMake Improvements #1460

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Commits on Jun 3, 2024

  1. CMake structure for svf/svf-llvm now the same as it was for svf-llvm/…

    …tools; defined CMake package so that SVF can be imported with find_package(SVF); fixed definition of install directory to not be hardcoded but based on location of CMake package; miscellaneous improvements
    Johanmyst committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    04d1df1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7201830 View commit details
    Browse the repository at this point in the history
  3. The git tests look for extapi.bc in the release-build folder because …

    …they don't use install() yet; ensure extapi.bc is compiled to the right place to support this
    Johanmyst committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    98d30d4 View commit details
    Browse the repository at this point in the history
  4. Ensured build artifacts are placed relative to the top-level build tr…

    …ee (i.e. so that libraries and such compiled in svf-llvm are in build_dir/lib, and not in build_dir/svf-llvm/lib)
    Johanmyst committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    64fc715 View commit details
    Browse the repository at this point in the history
  5. Moved cmake files into separate directory; defined installable packag…

    …e for SVF; correctly defined transitive dependencies on Z3 and LLVM in the exported config
    Johanmyst committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    28c1eda View commit details
    Browse the repository at this point in the history
  6. Removed unnecessary quotes; ensured SVF is installed into correct sub…

    …directories and that dependent builds find transitive dependencies correctly; enabled LTO; enabled more debugging information to make errors when using SVF much clearer; minor tweaks
    Johanmyst committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    588b4ff View commit details
    Browse the repository at this point in the history
  7. The GitHub actions use a Z3 instance that isn't 'installed' so CMake …

    …can't find the Z3 package in the default way; add backwards compatibility for this older installation method
    Johanmyst committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    4f06965 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0856f54 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5790aa7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    227a668 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    842f033 View commit details
    Browse the repository at this point in the history
  12. Disabled LTO as it unintentionally hides some symbols (i.e. protected…

    … definitions) s.t. inheriting classes can't extend them
    Johanmyst committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    0add1b6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3b03f1d View commit details
    Browse the repository at this point in the history