[Mesa-dev] [Bug 101614] OSMesa 17.1.3 simd16intrin build FAIL on Win/MinGW - 'expected initializer before _simd16_setzero_ps ...'
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jun 29 18:34:13 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101614
--- Comment #8 from Trevor SANDY <trevor.sandy at gmail.com> ---
MSYS2 Setup Details - FYI
MSYS2 Install:
• Download and install msys2-x86_64-<Date>.exe (see instructions at
http://www.msys2.org/)
• Install to C:\msys64 (be sure to check 'Run MSYS2 now.' on the last install
dialogue)
• Update package database: pacman -Syu pacman
• Close MSYS2 terminal and launch again MSYS2 MSYS (Shell) from Start Menu
• Update core system packages: pacman -Suu
• Install packages:
o pacman -S base-devel git wget p7zip
o pacman -S perl ruby python2 python2-mako mingw-w64-x86_64-toolchain
• toolchain package options: ^4-6 (exclude 4 - 6)
o pacman -S mingw-w64-x86_64-python2-mako
o pacman -S mingw-w64-x86_64-cmake
o pacman -S scons
• Update your .bash_profile (setup your PATH)
o Open .bash profile in your editor (C:\mingw64\home\<user>\.bash_profile
# Set PATH so it includes MINGW_DIRS if they exists
MINGW_PATHS=" \
/mingw64/x86_64-w64-mingw32/bin \
/mingw64/x86_64-w64-mingw32/include \
/mingw64/x86_64-w64-mingw32/lib \
/mingw64/bin \
/mingw64/include \
/mingw64/lib \
"
MINGW_DIRS=
for dir in ${MINGW_PATHS}; do
if [ -d "${dir}" ] ; then
MINGW_DIRS="${dir}:${MINGW_DIRS}"
fi
done
export PATH="${MINGW_DIRS}:${PATH}"
• Setup MSYS2 terminal shortcut
o Navigate to C:\msys\usr\bin and right-click mintty.exe
o From your context menu, select 'pin to start'
o In start menu, find shortcut and select 'pin to taskbar'
• OSMesa install script:
o mkdir -p ~/projects; cd ~/projects
o git clone https://github.com/trevorsandy/osmesa-install.git
o mkdir -p osmesa-install/build
• Install script setup
o mkdir -p /opt/llvm
o mkdir -p /opt/osmesa
• Execute install script
o Launch MSYS2 terminal
o Select Mingw-w64 64 bit at selection dialogue
o cd ~/projects/osmesa-install/build
o ../osmesa-install.sh
• Notes:
• python2-mako is installed in 2 places, MSYS2 base (/usr/bin) and mingw-w64
(/mingw64/bin)
• Review well the osmesa-insall.sh script to understand the options available
• At script launch, review well the env options output before accepting to
continue execution.
~~~fin~~~
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170629/df1b8f60/attachment-0001.html>
More information about the mesa-dev
mailing list