You would have to change the pkgbuild to use intel-graphics-compiler-git instead.
But before that you have to build intel-graphics-compiler-git first, by changing the arch=() line in it’s PKGBUILD to include aarch64.
Thanks for the quick reply! Do I change PKGBUILD’s arch=() line to arch=('aarch64')? I tried this and continued building intel-graphics-compiler-git but there’s a CMake error:
==> Starting build()...
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at IGC/CMakeLists.txt:2081 (message):
IGC_OPTION__ARCHITECTURE_TARGET,
IGC_OPTION__ARCHITECTURE_HOST: Current target / host architecture
combination requires cross-compiling. Please specify correct toolchain.
-- Configuring incomplete, errors occurred!
See also "/var/tmp/pamac-build-gbai/intel-graphics-compiler-git/src/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
Aborting...
Can I ask if I changed arch=() line right at all?
– Edit –
I tried arch=('x86_64' 'aarch64') but it gives same CMake error.
Something does not smell right using the pkgbuild from aur that looks like it is really geared for a desktop. Have you tried the arch-arm build that we get from them? They removed the nvidia and intel stuff and have some arm config’s added.
You will have to add in the PKGBUILD arch=('x86_64' 'aarch64') and add --enable-libsmbclient \ as explained in the middle of the configure section.
That works well! Thanks for you time and patience. I need learn more about Arch Build System.
So with your advice I managed to build ffmepg with libsmbclient enabled. Then now should I build mpv on top of this or install mpv with pamac directly?
I am not sure why he uninstalled mpv in the first place. He said that mpv switched to using ffmpeg for smbclient but never said anything about re-compiling mpv with any extra config. If that is the case then install from the repo.
Meh you have successfully drawn my attention here. The uninstallation of other dependencies is meant for the purpose of avoiding complaints from pamac which sometimes barfs a whole lot of arguments, such as the need to even uninstalling telegram just because it has dependency on ffmpeg. If some perfectionist wants to maintain a clean sheet of the system packages and totally pure integrity of dependency chains, he may first try to use pamac to remove the original ffmpeg packages, which therefore brings out the ancillary confirmation of uninstalling all the depending applications. Someone will press “y” to agree, which leads to a mess of recovery operations later. Thus my advice to uninstall mpv is a friendly reminder just to prevent novice users to mess up. As you may be aware, the original post was written in Chinese intending for Chinese users to solve the problem; thus I extended the care to a bit more latitude that leads to safer operation. Hardcore eastern bloc fellows whom I respect can totally ignore it.
And after building ffmpeg, it is OK to be back to GUI pamac to install mpv at will. Theoretically ARM devices would save a lot of power, which I am interested in its performance.