Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2232

NixOS: clang include dir is not found in different prefix

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • 6.5.0, 6.4.3
    • 6.4.2
    • Shiboken
    • None
    • Other
    • 7662cb8a8 (dev), 12568ae69 (6.4)

    Description

      on nixos linux, clang's lib and include have different prefix

      $ llvm-config --libdir
      /nix/store/srnidikg9sksfx97m5ifg2bid0icyzf3-llvm-11.1.0-lib/lib
      
      $ llvm-config --includedir
      /nix/store/g2fj9qmm5gh1kffpaz6zh34hba12z4b4-llvm-11.1.0-dev/include
      

      see attachment compilersupport.cpp.patch

      this will use llvm-config --includedir to locate the include dir

      Attachments

        For Gerrit Dashboard: PYSIDE-2232
        # Subject Branch Project Status CR V

        Activity

          People

            kleint Friedemann Kleint
            milahu milan hauth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes