Skip to content
This repository has been archived by the owner on Feb 19, 2025. It is now read-only.

Commit

Permalink
Added mesa fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaserdem committed Sep 25, 2020
1 parent 1d49471 commit b4a0928
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ prepare() {
--pkgdesc "${pkgdesc}" \
--categories "Development;Education;Science;Mathematics;IDE" \
--mimetypes "application/x-matlab-data;text/x-matlab" \
--exec 'matlab -desktop'
#--exec 'sh -c '\''if [ "${MATLAB_INTEL_OVERRIDE}" = "yes" ] ; then exec env MESA_LOADER_DRIVER_OVERRIDE=i965 matlab -desktop ; else exec matlab -desktop ; fi'\'
--exec 'sh -c '\''if [ "${MATLAB_INTEL_OVERRIDE}" = "yes" ] ; then exec env MESA_LOADER_DRIVER_OVERRIDE=i965 matlab -desktop ; else exec matlab -desktop ; fi'\'
}

build() {
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ exclude this package from your workflow.
(Partial install is around 8 GB; and full install about 16 GB)
* Turn off compression if this package will only be installed on the build machine;
this cuts a fair amount of time from the build and compression is unneccessary on local machines.
* Set `MATLAB_INTEL_OVERRIDE='yes'` in your environment if hardware acceleration
does not work on your Intel GPU.

# Requirements

Expand Down

0 comments on commit b4a0928

Please sign in to comment.