Comments (5)
from mesa-dist-win.
First attempt doesn't look very promising. Clover has some unique requirements:
- dependency on libclc ;
- LLVM built with RTTI (MSVC is already covered here as I build LLVM myself but MSYS2 build lacks RTTI);
- SPIRV-Tools and LLVMSPIRVLib for SPIR-V support.
Current status: it doesn't get far and my hands are tied:
Select Python installation
1. Python 3.8 64 bit
Select Python version by entering its index from the table above:1
Using Python 3.8.1 from C:\Users\prodea2\AppData\Local\Programs\Python\Python38\python.exe.
Update python packages (y/n):y
Do you want to throttle build. Enter number of parallel jobs. Defaults to 4 which represents the number of your CPU available hyperthreads. You should not enter a value greater than that:
Do you want to rebuild pkgconf (y/n):
Begin LLVM build. Only needs to run once for each ABI and version. Proceed (y/n):
Do you want to dump build environment information to a text file (y/n):
Begin mesa build. Proceed - y/n :y
Applying patch s3tc...
error: patch failed: src/gallium/drivers/llvmpipe/lp_tex_sample.h:37
error: src/gallium/drivers/llvmpipe/lp_tex_sample.h: patch does not apply
Applying patch subprojects-update...
error: patch failed: subprojects/zlib.wrap:5
error: subprojects/zlib.wrap: patch does not apply
Applying patch swravx512...
error: patch failed: src/gallium/drivers/swr/meson.build:249
error: src/gallium/drivers/swr/meson.build: patch does not apply
Applying patch meson-build-both-osmesa...
error: patch failed: include/meson.build:89
error: include/meson.build: patch does not apply
error: patch failed: meson.build:444
error: meson.build: patch does not apply
error: patch failed: meson_options.txt:295
error: meson_options.txt: patch does not apply
error: patch failed: src/gallium/meson.build:175
error: src/gallium/meson.build: patch does not apply
error: patch failed: src/mesa/meson.build:744
error: src/mesa/meson.build: patch does not apply
Build Mesa without LLVM (y/n). llvmpipe and swr drivers and high performance JIT won't be available for other drivers and libraries:
Use Ninja build system instead of MsBuild (y/n); less storage device strain and maybe faster build:y
Do you want to build GLAPI as a shared library and standalone GLES libraries (y/n):y
Do you want to build off-screen rendering drivers (y/n):y
Do you want to build graw library (y/n):y
Build Mesa3D clover OpenCL state tracker (y/):y
WARNING: Meson build always performs clean build. This is last chance to cancel build.
Press any key to continue . . .
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.4.2
** Copyright (c) 2019 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64_x86'
Build configuration command: meson.exe build/x86 --default-library=static --buildtype=release -Db_vscrt=mt -Dllvm=true --backend=ninja -Dshared-glapi=true -Dgles1=true -Dgles2=true -Dosmesa=gallium,classic -Dbuild-tests=true -Dgallium-opencl=standalone
The Meson build system
Version: 0.52.1
Source dir: C:\Software\Development\projects\mesa\mesa
Build dir: C:\Software\Development\projects\mesa\mesa\build\x86
Build type: native build
Program python found: YES (C:\Users\prodea2\AppData\Local\Programs\Python\Python38\python.EXE)
Project name: mesa
Project version: 20.0.0-devel
C compiler for the host machine: cl (msvc 19.24.28314)
C linker for the host machine: link 19.24.28314
C++ compiler for the host machine: cl (msvc 19.24.28314)
C++ linker for the host machine: link 19.24.28314
Host machine cpu family: x86
Host machine cpu: x86
Program pkg-config found: YES (C:\Software\DEVELO~1\projects\mesa\pkgconf\build\pkg-config.EXE)
Found pkg-config: C:\Software\DEVELO~1\projects\mesa\pkgconf\build\pkg-config.EXE (1.6.3)
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libclc found: NO (tried pkgconfig)
meson.build:719:2: ERROR: Dependency "libclc" not found, tried pkgconfig
A full log can be found at C:\Software\Development\projects\mesa\mesa\build\x86\meson-logs\meson-log.txt
Build command: ninja -j 4
Press any key to continue . . .
from mesa-dist-win.
There has been work to build clover over llvmpipe for Windows upstream.
It still depends on 1 patch.
from mesa-dist-win.
I was successful in building 64-bit clover in both ICD and standalone forms for 21.3.2 release. 51d15e7 was the last fix needed. It annoys me that ICD and standalone builds can't be done in a single build pass though.
from mesa-dist-win.
Depends on #88.
from mesa-dist-win.
Related Issues (20)
- GLonD3D10? HOT 1
- Issues with multiple shader attachments HOT 3
- Add VirGL HOT 1
- GLUT: Fatal Error : SetPixelFormat failed HOT 1
- Mesa zink on nvidia vulkan HOT 12
- Shader debug info dump HOT 2
- How to use Vulkan_lvp Vulkan_dzn HOT 1
- MESA: error HOT 7
- How to bypass/run program as if this package not deployed? HOT 1
- Mesa 24.1rcX build? HOT 1
- The 24.0.x version seems to be less stable than the HOT 1
- Unable to run FSO Open with the D3DGLon12 HOT 3
- zlib and libstd dependencies for mingw build? HOT 9
- My CPU supports SSSE3, but I can't use Mesa3D MinGW. HOT 1
- Add NVK HOT 1
- OpenGL Issues HOT 9
- How to use Mesa Vulkan on GPU or CPU HOT 1
- [Intel Iris Xe, Mesa 24.0.9] Minecraft + Zink stuck on LWJGL initialization HOT 2
- Mesa 24.2rcX? HOT 2
- Mesa3d on doom 3 & quake 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mesa-dist-win.