Package Details: amdvlk-git 2024.Q2.3.r0.10c37d4-1

Git Clone URL: https://aur.archlinux.org/amdvlk-git.git (read-only, click to copy)
Package Base: amdvlk-git
Description: AMD's standalone Vulkan driver
Upstream URL: https://github.com/GPUOpen-Drivers
Licenses: MIT
Conflicts: amdvlk, vulkan-amdvlk
Provides: amdvlk, vulkan-amdvlk, vulkan-driver
Submitter: haagch
Maintainer: marijns
Last Packager: marijns
Votes: 22
Popularity: 0.000000
First Submitted: 2017-12-22 13:02 (UTC)
Last Updated: 2024-08-11 22:02 (UTC)

Required by (71)

Sources (0)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

mcoffin commented on 2019-06-14 19:37 (UTC)

I've emailed a patch to the maintainers of this repo, fixing the dependency versioning problems.

For those interested, the patch is here: https://gist.github.com/mcoffin/4f17e2a0597e3e04aba0ef805fef6c72

Hopefully, we'll see them apply it to the AUR version soon.

Chryseus commented on 2019-06-12 17:25 (UTC)

@soredake remove the prepare() function in MAKEPKG. This package is in dire need of a new maintainer it seems.

<deleted-account> commented on 2019-06-08 08:23 (UTC)

==> Запускается prepare()...
sed: невозможно прочитать pal/src/core/os/lnx/display/displayWindowSystem.h: Нет такого файла или каталога

Please change path to pal/src/core/os/amdgpu/display/displayWindowSystem.h

VikingGe commented on 2019-05-12 09:04 (UTC)

This needs an update since the changes that broke the dev branch now also break the master branch. Just adding this to the source array fixes the build:

git+https://github.com/GPUOpen-Drivers/spvgen.git#branch=master

GI_Jack commented on 2019-05-05 23:05 (UTC)

Not only is the only PKGBUILD for AMDVLK a -git, the maintainer things that setting dev/experimental branches is a good idea.

What the ever living fuck is wrong with some people.

james58899 commented on 2019-05-01 02:35 (UTC)

Success build when change target branch to master not dev

mcoffin commented on 2019-04-30 14:59 (UTC)

I was able to get the build "working" somewhat. The failure in the cmake scripts has to do with creating a regression test target, and it at least appears to write the rest of the build scripts successfully, despite it's error-like exit status. By appending || true to the cmake line in PKGBUILD, I was able to build successfully.

I had to also change the ICD JSON install line to install -D -m644 -t "${pkgdir}/usr/share/vulkan/icd.d" AMDVLK/json/Redhat/amd_icd64.json to fix the permissions on the installed JSON file. For some reason both it and the license were marked as executable.

I think the build system troubles are likely from a cmake version mismatch, but I didn't investigate too carefully. There may be a way to either get the missing dependencies or disable the problematic target, but I gave up on a pretty solution just due to time constraints.

robus commented on 2019-04-23 09:29 (UTC)

Build fails for me:

==> Making package: amdvlk-git r43.6d9d93a-1 (Tue Apr 23 16:22:42 2019)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning llvm git repo...
Cloning into bare repository '/tmp/amdvlk-git/llvm'...
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1681381 (delta 0), reused 0 (delta 0), pack-reused 1681380
Receiving objects: 100% (1681381/1681381), 367.77 MiB | 5.84 MiB/s, done.
Resolving deltas: 100% (1380575/1380575), done.
  -> Cloning xgl git repo...
Cloning into bare repository '/tmp/amdvlk-git/xgl'...
remote: Enumerating objects: 2189, done.
remote: Counting objects: 100% (2189/2189), done.
remote: Compressing objects: 100% (1014/1014), done.
remote: Total 6412 (delta 1585), reused 1581 (delta 1140), pack-reused 4223
Receiving objects: 100% (6412/6412), 5.26 MiB | 7.29 MiB/s, done.
Resolving deltas: 100% (4341/4341), done.
  -> Cloning pal git repo...
Cloning into bare repository '/tmp/amdvlk-git/pal'...
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 9207 (delta 1), reused 0 (delta 0), pack-reused 9202
Receiving objects: 100% (9207/9207), 28.39 MiB | 7.13 MiB/s, done.
Resolving deltas: 100% (7205/7205), done.
  -> Cloning wsa git repo...
Cloning into bare repository '/tmp/amdvlk-git/wsa'...
remote: Enumerating objects: 69, done.
remote: Total 69 (delta 0), reused 0 (delta 0), pack-reused 69
Unpacking objects: 100% (69/69), done.
  -> Cloning AMDVLK git repo...
Cloning into bare repository '/tmp/amdvlk-git/AMDVLK'...
remote: Enumerating objects: 122, done.
remote: Counting objects: 100% (122/122), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 380 (delta 61), reused 121 (delta 60), pack-reused 258
Receiving objects: 100% (380/380), 94.81 KiB | 603.00 KiB/s, done.
Resolving deltas: 100% (195/195), done.
  -> Cloning llpc git repo...
Cloning into bare repository '/tmp/amdvlk-git/llpc'...
remote: Enumerating objects: 100, done.
remote: Counting objects: 100% (100/100), done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 4342 (delta 55), reused 38 (delta 26), pack-reused 4242
Receiving objects: 100% (4342/4342), 3.70 MiB | 4.83 MiB/s, done.
Resolving deltas: 100% (3394/3394), done.
==> Validating source files with sha256sums...
    llvm ... Skipped
    xgl ... Skipped
    pal ... Skipped
    wsa ... Skipped
    AMDVLK ... Skipped
    llpc ... Skipped
==> Extracting sources...
  -> Creating working copy of llvm git repo...
Cloning into 'llvm'...
done.
Checking out files: 100% (36470/36470), done.
Switched to a new branch 'makepkg'
  -> Creating working copy of xgl git repo...
Cloning into 'xgl'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of pal git repo...
Cloning into 'pal'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of wsa git repo...
Cloning into 'wsa'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of AMDVLK git repo...
Cloning into 'AMDVLK'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of llpc git repo...
Cloning into 'llpc'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Updated version: amdvlk-git r71.54194f5-1
==> Starting build()...
==> building xgl...
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Detected ICD_PAL_CLIENT_MAJOR_VERSION is 481
-- Detected ICD_LLPC_CLIENT_MAJOR_VERSION is 24
-- Detected ICD_GPUOPEN_CLIENT_MAJOR_VERSION is 38
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.1") 
-- Checking for module 'wayland-client'
--   Found wayland-client, version 1.17.0
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3") 
-- Found Perl: /usr/bin/perl (found suitable version "5.28.2", minimum required is "5") 
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at least "4.7.1" (found Z3_LIBRARIES-NOTFOUND)
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for link.h
-- Looking for link.h - found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Looking for mach/mach.h
-- Looking for mach/mach.h - not found
-- Looking for histedit.h
-- Looking for histedit.h - found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Looking for linux/magic.h
-- Looking for linux/magic.h - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for pfm_initialize in pfm
-- Looking for pfm_initialize in pfm - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Looking for el_init in edit
-- Looking for el_init in edit - found
-- Found LibXml2: /usr/lib/libxml2.so (found version "2.9.9") 
-- Looking for xar_open in xar
-- Looking for xar_open in xar - not found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include  
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
-- Looking for sigaltstack
-- Looking for sigaltstack - found
-- Looking for lseek64
-- Looking for lseek64 - found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - not found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for dladdr
-- Looking for dladdr - not found
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Looking for sched_getaffinity
-- Looking for sched_getaffinity - found
-- Looking for CPU_COUNT
-- Looking for CPU_COUNT - found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE
-- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE - Success
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Failed
-- Performing Test HAS_MAYBE_UNINITIALIZED
-- Performing Test HAS_MAYBE_UNINITIALIZED - Success
-- Native target X86 is not selected; lli will not JIT code
-- Threads enabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- OCaml bindings disabled.
-- Found Python module pygments
-- Found Python module pygments.lexers.c_cpp
-- Found Python module yaml
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
-- Performing Test CXX_SUPPORTS_CXX11
-- Performing Test CXX_SUPPORTS_CXX11 - Success
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Looking for os_signpost_interval_begin
-- Looking for os_signpost_interval_begin - not found
-- Found PythonInterp: /usr/bin/python3 (found version "3.7.3") 
-- Constructing LLVMBuild project information
-- Found Git: /usr/bin/git (found version "2.21.0") 
-- Linker detection: GNU ld
-- Targeting AMDGPU
-- LLVM FileCheck Found: /usr/bin/FileCheck
-- git Version: v0.0.0
-- Version: 0.0.0
-- Performing Test HAVE_CXX_FLAG_STD_CXX11
-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configured LLPC compiler options for GCC.
-- LLVM execuables: /tmp/amdvlk-git/src/xgl/builds/Release64/llvm/./bin
-- LLVM libraries: /tmp/amdvlk-git/src/xgl/builds/Release64/llvm/./lib
-- LLVM link options:
-- Configured LLPC_CWPACK compiler options for GCC.
CMake Deprecation Warning at /tmp/amdvlk-git/src/pal/cmake/Modules/AmdCmakeHelper.cmake:119 (message):
  target_vs_filters is deprecated.  use 'target_find_headers' and
  'target_source_groups' instead.
Call Stack (most recent call first):
  /tmp/amdvlk-git/src/llpc/CMakeLists.txt:424 (target_vs_filters)


-- Configured LLPC compiler options for GCC.
-- Configured LLPC compiler options for GCC.
-- Linker detection: GNU ld
CMake Warning at icd/CMakeLists.txt:69 (message):
  LTO enabled for XGL


-- Found XCB: /usr/include;/usr/include;/usr/include;/usr/include;/usr/include
-- Client configured PAL_INTERFACE_MAJOR_VERSION as 481
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3") 
CMake Warning at /tmp/amdvlk-git/src/pal/src/CMakeLists.txt:41 (message):
  LTO enabled for Pal


-- Configured PAL compiler options for GCC.
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- DK_X11 not set.  Defaulting to /usr/include
-- Found XCB: /usr/include;/usr/include;/usr/include;/usr/include;/usr/include
-- DK_XCB not set.  Defaulting to /usr/include;/usr/include;/usr/include;/usr/include;/usr/include
-- Check if the system is big endian
-- Searching 16 bit integer
-- Using unsigned short
-- Check if the system is big endian - little endian
CMake Warning at /tmp/amdvlk-git/src/pal/src/core/imported/addrlib/CMakeLists.txt:163 (message):
  LTO enabled for address lib


-- Configured METROHASH compiler options for GCC.
-- Configured CWPACK compiler options for GCC.
-- Building gpuopen lib as gpuopen GPUOPEN_CLIENT_INTERFACE_MAJOR_VERSION=38
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- PAL build with Wayland enabled
-- Wayland Client is detected
CMake Warning at icd/CMakeLists.txt:370 (message):
  LTO enabled for Linking


CMake Deprecation Warning at /tmp/amdvlk-git/src/pal/cmake/Modules/AmdCmakeHelper.cmake:119 (message):
  target_vs_filters is deprecated.  use 'target_find_headers' and
  'target_source_groups' instead.
Call Stack (most recent call first):
  icd/CMakeLists.txt:400 (target_vs_filters)


-- Configuring done
CMake Error at /tmp/amdvlk-git/src/xgl/builds/Release64/llvm/lib/cmake/llvm/AddLLVM.cmake:1385 (add_dependencies):
  The dependency target "FileCheck" of target "check-amdllpc" does not exist.
Call Stack (most recent call first):
  /tmp/amdvlk-git/src/xgl/builds/Release64/llvm/lib/cmake/llvm/AddLLVM.cmake:1406 (add_lit_target)
  /tmp/amdvlk-git/src/llpc/test/CMakeLists.txt:76 (add_lit_testsuite)


CMake Error at /tmp/amdvlk-git/src/xgl/builds/Release64/llvm/lib/cmake/llvm/AddLLVM.cmake:1385 (add_dependencies):
  The dependency target "count" of target "check-amdllpc" does not exist.
Call Stack (most recent call first):
  /tmp/amdvlk-git/src/xgl/builds/Release64/llvm/lib/cmake/llvm/AddLLVM.cmake:1406 (add_lit_target)
  /tmp/amdvlk-git/src/llpc/test/CMakeLists.txt:76 (add_lit_testsuite)


CMake Error at /tmp/amdvlk-git/src/xgl/builds/Release64/llvm/lib/cmake/llvm/AddLLVM.cmake:1385 (add_dependencies):
  The dependency target "not" of target "check-amdllpc" does not exist.
Call Stack (most recent call first):
  /tmp/amdvlk-git/src/xgl/builds/Release64/llvm/lib/cmake/llvm/AddLLVM.cmake:1406 (add_lit_target)
  /tmp/amdvlk-git/src/llpc/test/CMakeLists.txt:76 (add_lit_testsuite)


CMake Error at /tmp/amdvlk-git/src/xgl/builds/Release64/llvm/lib/cmake/llvm/AddLLVM.cmake:1385 (add_dependencies):
  The dependency target "spvgen" of target "check-amdllpc" does not exist.
Call Stack (most recent call first):
  /tmp/amdvlk-git/src/xgl/builds/Release64/llvm/lib/cmake/llvm/AddLLVM.cmake:1406 (add_lit_target)
  /tmp/amdvlk-git/src/llpc/test/CMakeLists.txt:76 (add_lit_testsuite)


-- Generating done
-- Build files have been written to: /tmp/amdvlk-git/src/xgl/builds/Release64
==> ERROR: A failure occurred in build().
    Aborting...

jamespharvey20 commented on 2019-03-25 08:35 (UTC)

+2 on libxrandr to makedepends. Please add. If you're building in a clean chroot (devtools), it fails without it. Using makepkg, it would only not fail if your system already has it installed.

ejrs commented on 2019-02-27 19:10 (UTC) (edited on 2019-02-27 19:10 (UTC) by ejrs)

avx definitely breaks builds when you compile using anything other than -march=generic, this is what I ended up using. the CFLAGS and CXXFLAGS variables were blank when I echoed them so I just threw it in the cmake arguments

-DCMAKE_C_FLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong -fno-plt -mno-avx" \

-DCMAKE_CXX_FLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong -fno-plt -mno-avx" \

a clean build is important. you need to remove the pkg directory otherwise it won't recompile using the new flags