Skip to content
  1. Sep 30, 2019
  2. Sep 29, 2019
    • Prodea Alexandru-Liviu's avatar
      scons: Fix MSYS2 Mingw-w64 build. · ffb0d3a2
      Prodea Alexandru-Liviu authored and Jose Fonseca's avatar Jose Fonseca committed
      
      
      Reviewed-by: default avatarJose Fonseca <jfonseca@vmware.com>
      
      This patch is based on https://github.com/msys2/MINGW-packages/blob/28e3f85e09b6947ea80036c49f6c38f1394f93ca/mingw-w64-mesa/link-ole32.patch but with tweaks to avoid MSVC build break when applied.
      
      v2: Create Mingw platform alias pointing to windows host platform define to avoid spurious crosscompilation;
      
      v3: Fix obviously wrong compiler flags for swr driver;
      
      v4: Update original patch URL because it has been relocated;
      
      v5: Don't bother patching autools stuff as it's not used by MSYS2 Mingw-w64 build and it's days are numbered anyway;
      
      v6: After Mingw posix flag fix in 295851eb things are far simpler as we don't need more linking of uuid, ole32, version and shell32 than what is already in place.
      ffb0d3a2
    • Prodea Alexandru-Liviu's avatar
      scons/windows: Support build with LLVM 9. · bcb4dfb1
      Prodea Alexandru-Liviu authored and Jose Fonseca's avatar Jose Fonseca committed
      
      
      As X86AsmPrinter component is gone, LLVMX86AsmPrinter got replaced
      with LLVMRemarks, LLVMBitstreamReader and LLVMDebugInfoDWARF.
      
      Tests done with llvm-config on both LLVM 8 and 9 indicate that
      mcjit, bitwriter and x86asmprinter fully fit inside engine component.
      
      On other platforms and with meson build mcdisassembler was used to replace
      X86AsmPrinter but mcdisassembler also fully fits inside engine component
      for LLVM>=8 according to same tests.
      
      v2: Avoid duplicating code related to Mingw pthreads.
      
      Reviewed-by: default avatarJose Fonseca <jfonseca@vmware.com>
      
      Cc: 19.1 19.2 <mesa-stable@lists.freedesktop.org>
      
      On 19.1 this patch does not apply cleanly without 88eb2a1f
      bcb4dfb1
  3. Sep 28, 2019
  4. Sep 27, 2019
Loading