Opendr 依赖安装
-
opendr是python pip的一个的库。可用于3D文件展示
-
需要Osmesa 等lib的支持
libdrm-2.4.99
sudo ninja install
(venv_tf_py36) simon@simon-Aspire-4750:~/software/libdrm-2.4.99/build$ sudo ninja install
[sudo] password for simon:
Sorry, try again.
[sudo] password for simon:
[1/1] Installing files.
Installing libdrm.so.2.4.0 to /usr/local/lib/x86_64-linux-gnu
Installing libkms/libkms.so.1.0.0 to /usr/local/lib/x86_64-linux-gnu
Installing intel/libdrm_intel.so.1.0.0 to /usr/local/lib/x86_64-linux-gnu
Installing nouveau/libdrm_nouveau.so.2.0.0 to /usr/local/lib/x86_64-linux-gnu
Installing radeon/libdrm_radeon.so.1.0.1 to /usr/local/lib/x86_64-linux-gnu
Installing amdgpu/libdrm_amdgpu.so.1.0.0 to /usr/local/lib/x86_64-linux-gnu
Installing /home/simon/software/libdrm-2.4.99/libsync.h to /usr/local/include
Installing /home/simon/software/libdrm-2.4.99/xf86drm.h to /usr/local/include
Installing /home/simon/software/libdrm-2.4.99/xf86drmMode.h to /usr/local/include
Installing /home/simon/software/libdrm-2.4.99/include/drm/drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/drm_fourcc.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/drm_mode.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/drm_sarea.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/i915_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/mach64_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/mga_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/msm_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/nouveau_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/qxl_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/r128_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/radeon_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/amdgpu_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/savage_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/sis_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/tegra_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/vc4_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/via_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/virtgpu_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/include/drm/vmwgfx_drm.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/libkms/libkms.h to /usr/local/include/libkms
Installing /home/simon/software/libdrm-2.4.99/intel/intel_bufmgr.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/intel/intel_aub.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/intel/intel_debug.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/nouveau/nouveau.h to /usr/local/include/libdrm/nouveau
Installing /home/simon/software/libdrm-2.4.99/nouveau/nvif/class.h to /usr/local/include/libdrm/nouveau/nvif
Installing /home/simon/software/libdrm-2.4.99/nouveau/nvif/cl0080.h to /usr/local/include/libdrm/nouveau/nvif
Installing /home/simon/software/libdrm-2.4.99/nouveau/nvif/cl9097.h to /usr/local/include/libdrm/nouveau/nvif
Installing /home/simon/software/libdrm-2.4.99/nouveau/nvif/if0002.h to /usr/local/include/libdrm/nouveau/nvif
Installing /home/simon/software/libdrm-2.4.99/nouveau/nvif/if0003.h to /usr/local/include/libdrm/nouveau/nvif
Installing /home/simon/software/libdrm-2.4.99/nouveau/nvif/ioctl.h to /usr/local/include/libdrm/nouveau/nvif
Installing /home/simon/software/libdrm-2.4.99/nouveau/nvif/unpack.h to /usr/local/include/libdrm/nouveau/nvif
Installing /home/simon/software/libdrm-2.4.99/radeon/radeon_bo.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/radeon/radeon_cs.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/radeon/radeon_surface.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/radeon/radeon_bo_gem.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/radeon/radeon_cs_gem.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/radeon/radeon_bo_int.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/radeon/radeon_cs_int.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/radeon/r600_pci_ids.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/amdgpu/amdgpu.h to /usr/local/include/libdrm
Installing /home/simon/software/libdrm-2.4.99/build/meson-private/libdrm.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/simon/software/libdrm-2.4.99/build/meson-private/libkms.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/simon/software/libdrm-2.4.99/build/meson-private/libdrm_intel.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/simon/software/libdrm-2.4.99/build/meson-private/libdrm_nouveau.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/simon/software/libdrm-2.4.99/build/meson-private/libdrm_radeon.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/simon/software/libdrm-2.4.99/build/meson-private/libdrm_amdgpu.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/simon/software/libdrm-2.4.99/data/amdgpu.ids to /usr/local/share/libdrm
(venv_tf_py36) simon@simon-Aspire-4750:~/software/libdrm-2.4.99/build$
(venv_tf_py36) simon@simon-Aspire-4750:~/software/libdrm-2.4.99/build$ cd -
/home/simon/software/libdrm-2.4.99
mesa-19.2.0
https://gitlab.freedesktop.org/mesa/mesa
meson build .
sudo ninja install
---------------------------
===============[https://www.mesa3d.org/meson.html
meson configure build/ -Dosmesa=classic
ninja -C build/
ninja -C build/ install
out :
./build/src/mesa/drivers/osmesa/libOSMesa.so
build fail log:
(venv_tf_py36) simon@simon-Aspire-4750:~/software/mesa-19.2.0$ meson build
The Meson build system
Version: 0.53.1
Source dir: /home/simon/software/mesa-19.2.0
Build dir: /home/simon/software/mesa-19.2.0/build
Build type: native build
Program python found: YES (/home/user/software/anaconda3/envs/venv_tf_py36/bin/python)
Project name: mesa
Project version: 19.2.0
C compiler for the host machine: cc (gcc 5.4.0 "cc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609")
C linker for the host machine: cc GNU ld.bfd 2.26.1
C++ compiler for the host machine: c++ (gcc 5.4.0 "c++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609")
C++ linker for the host machine: c++ GNU ld.bfd 2.26.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program pkg-config found: YES (/usr/bin/pkg-config)
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Found CMake: /user/bin/cmake-3.16/cmake-3.16.0-rc4/bin/cmake (3.16.0-rc4)
Run-time dependency vdpau found: NO (tried pkgconfig and cmake)
Run-time dependency xvmc found: YES 1.0.9
Run-time dependency libomxil-bellagio found: NO (tried pkgconfig and cmake)
Run-time dependency libtizonia found: NO (tried pkgconfig and cmake)
Run-time dependency libtizplatform found: NO (tried pkgconfig and cmake)
Run-time dependency tizilheaders found: NO (tried pkgconfig and cmake)
Run-time dependency libva found: NO (tried pkgconfig and cmake)
Program python3 found: YES (/home/user/software/anaconda3/envs/venv_tf_py36/bin/python3)
Fetching value of define "ETIME" : 62
Checking for function "bswap32" : YES
Checking for function "bswap64" : YES
Checking for function "clz" : YES
Checking for function "clzll" : YES
Checking for function "ctz" : YES
Checking for function "expect" : YES
Checking for function "ffs" : YES
Checking for function "ffsll" : YES
Checking for function "popcount" : YES
Checking for function "popcountll" : YES
Checking for function "unreachable" : YES
Checking if "__attribute__((const))" compiles: YES
Checking if "__attribute__((flatten))" compiles: YES
Checking if "__attribute__((malloc))" compiles: YES
Checking if "__attribute__((pure))" compiles: YES
Checking if "__attribute__((unused))" compiles: YES
Checking if "__attribute__((warn_unused_result))" compiles: YES
Checking if "__attribute__((weak))" compiles: YES
Checking if "__attribute__((format(...)))" compiles: YES
Checking if "__attribute__((packed))" compiles: YES
Checking if "__attribute__((returns_nonnull))" compiles: YES
Checking if "__attribute__((visibility(...)))" compiles: YES
Checking if "__attribute__((alias(...)))" compiles: YES
Checking if "__attribute__((__noreturn__))" compiles: YES
Checking if "__uint128_t" compiles: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
Compiler for C supports arguments -Werror=format: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -fno-math-errno: YES
Compiler for C supports arguments -fno-trapping-math: YES
Compiler for C supports arguments -Qunused-arguments: NO
Compiler for C supports arguments -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wformat-truncation: NO
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C++ supports arguments -Werror=return-type: YES
Compiler for C++ supports arguments -Werror=format: YES
Compiler for C++ supports arguments -Wformat-security: YES
Compiler for C++ supports arguments -fno-math-errno: YES
Compiler for C++ supports arguments -fno-trapping-math: YES
Compiler for C++ supports arguments -Qunused-arguments: NO
Compiler for C++ supports arguments -Wnon-virtual-dtor: YES
Compiler for C++ supports arguments -Wmissing-field-initializers: YES
Compiler for C++ supports arguments -Wformat-truncation: NO
Compiler for C supports arguments -Woverride-init: YES
Compiler for C supports arguments -Winitializer-overrides: NO
Compiler for C++ supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -Werror=pointer-arith: YES
Compiler for C++ supports arguments -Werror=pointer-arith: YES
Compiler for C supports arguments -Werror=vla: YES
Compiler for C++ supports arguments -Werror=vla: YES
Checking if "GCC atomic builtins" compiles: YES
Checking if "GCC atomic builtins required -latomic" links: YES
Checking if "GCC 64bit atomics" with dependency not-found links: YES
Header <sys/sysmacros.h> has symbol "major" : YES
Checking if "xlocale.h" compiles: YES
Checking if "sys/sysctl.h" compiles: YES
Checking if "linux/futex.h" compiles: YES
Checking if "endian.h" compiles: YES
Checking if "dlfcn.h" compiles: YES
Checking if "execinfo.h" compiles: YES
Checking if "sys/shm.h" compiles: YES
Checking if "cet.h" compiles: NO
Checking for function "strtof" : YES
Checking for function "mkostemp" : YES
Checking for function "posix_memalign" : YES
Checking for function "timespec_get" : YES
Checking for function "memfd_create" : NO
Checking for function "random_r" : YES
Header <errno.h> has symbol "program_invocation_name" : YES
Checking if "strtod has locale support" links: YES
Checking if "Bsymbolic" links: YES
Checking if "gc-sections" links: YES
Checking if "version-script" links: YES
Checking if "dynamic-list" links: YES
Checking for function "dlopen" : NO
Library dl found: YES
Checking for function "dladdr" with dependency -ldl: YES
Checking for function "dl_iterate_phdr" : YES
Checking for function "clock_gettime" : YES
Run-time dependency zlib found: YES 1.2.8
Run-time dependency threads found: YES
Checking for function "pthread_setaffinity_np" with dependency threads: YES
Checking for function "pthread_setaffinity_np" with dependency threads: NO
Run-time dependency expat found: YES 2.1.0
Library m found: YES
Message: libdrm 2.4.99 needed because amdgpu has the highest requirement
Run-time dependency libdrm_intel found: YES 2.4.99
Run-time dependency libdrm_amdgpu found: YES 2.4.99
Run-time dependency libdrm_radeon found: YES 2.4.99
Run-time dependency libdrm_nouveau found: YES 2.4.99
Run-time dependency libdrm found: YES 2.4.99
llvm-config found: NO need '>= 7.0.0'
Run-time dependency LLVM found: NO (tried config-tool)
meson.build:1261:2: ERROR: Dependency "llvm" not found, tried config-tool
A full log can be found at /home/simon/software/mesa-19.2.0/build/meson-logs/meson-log.txt
(venv_tf_py36) simon@simon-Aspire-4750:~/software/mesa-19.2.0$
build pass log:
(venv_tf_py36) simon@simon-Aspire-4750:~/software/mesa-19.2.0$ meson build
The Meson build system
Version: 0.53.1
Source dir: /home/simon/software/mesa-19.2.0
Build dir: /home/simon/software/mesa-19.2.0/build
Build type: native build
Program python found: YES (/home/user/software/anaconda3/envs/venv_tf_py36/bin/python)
Project name: mesa
Project version: 19.2.0
C compiler for the host machine: cc (gcc 5.4.0 "cc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609")
C linker for the host machine: cc GNU ld.bfd 2.26.1
C++ compiler for the host machine: c++ (gcc 5.4.0 "c++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609")
C++ linker for the host machine: c++ GNU ld.bfd 2.26.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program pkg-config found: YES (/usr/bin/pkg-config)
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Found CMake: /user/bin/cmake-3.16/cmake-3.16.0-rc4/bin/cmake (3.16.0-rc4)
Run-time dependency vdpau found: NO (tried pkgconfig and cmake)
Run-time dependency xvmc found: YES 1.0.9
Run-time dependency libomxil-bellagio found: NO (tried pkgconfig and cmake)
Run-time dependency libtizonia found: NO (tried pkgconfig and cmake)
Run-time dependency libtizplatform found: NO (tried pkgconfig and cmake)
Run-time dependency tizilheaders found: NO (tried pkgconfig and cmake)
Run-time dependency libva found: NO (tried pkgconfig and cmake)
Program python3 found: YES (/home/user/software/anaconda3/envs/venv_tf_py36/bin/python3)
Fetching value of define "ETIME" : 62
Checking for function "bswap32" : YES
Checking for function "bswap64" : YES
Checking for function "clz" : YES
Checking for function "clzll" : YES
Checking for function "ctz" : YES
Checking for function "expect" : YES
Checking for function "ffs" : YES
Checking for function "ffsll" : YES
Checking for function "popcount" : YES
Checking for function "popcountll" : YES
Checking for function "unreachable" : YES
Checking if "__attribute__((const))" compiles: YES
Checking if "__attribute__((flatten))" compiles: YES
Checking if "__attribute__((malloc))" compiles: YES
Checking if "__attribute__((pure))" compiles: YES
Checking if "__attribute__((unused))" compiles: YES
Checking if "__attribute__((warn_unused_result))" compiles: YES
Checking if "__attribute__((weak))" compiles: YES
Checking if "__attribute__((format(...)))" compiles: YES
Checking if "__attribute__((packed))" compiles: YES
Checking if "__attribute__((returns_nonnull))" compiles: YES
Checking if "__attribute__((visibility(...)))" compiles: YES
Checking if "__attribute__((alias(...)))" compiles: YES
Checking if "__attribute__((__noreturn__))" compiles: YES
Checking if "__uint128_t" compiles: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
Compiler for C supports arguments -Werror=format: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -fno-math-errno: YES
Compiler for C supports arguments -fno-trapping-math: YES
Compiler for C supports arguments -Qunused-arguments: NO
Compiler for C supports arguments -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wformat-truncation: NO
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C++ supports arguments -Werror=return-type: YES
Compiler for C++ supports arguments -Werror=format: YES
Compiler for C++ supports arguments -Wformat-security: YES
Compiler for C++ supports arguments -fno-math-errno: YES
Compiler for C++ supports arguments -fno-trapping-math: YES
Compiler for C++ supports arguments -Qunused-arguments: NO
Compiler for C++ supports arguments -Wnon-virtual-dtor: YES
Compiler for C++ supports arguments -Wmissing-field-initializers: YES
Compiler for C++ supports arguments -Wformat-truncation: NO
Compiler for C supports arguments -Woverride-init: YES
Compiler for C supports arguments -Winitializer-overrides: NO
Compiler for C++ supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -Werror=pointer-arith: YES
Compiler for C++ supports arguments -Werror=pointer-arith: YES
Compiler for C supports arguments -Werror=vla: YES
Compiler for C++ supports arguments -Werror=vla: YES
Checking if "GCC atomic builtins" compiles: YES
Checking if "GCC atomic builtins required -latomic" links: YES
Checking if "GCC 64bit atomics" with dependency not-found links: YES
Header <sys/sysmacros.h> has symbol "major" : YES
Checking if "xlocale.h" compiles: YES
Checking if "sys/sysctl.h" compiles: YES
Checking if "linux/futex.h" compiles: YES
Checking if "endian.h" compiles: YES
Checking if "dlfcn.h" compiles: YES
Checking if "execinfo.h" compiles: YES
Checking if "sys/shm.h" compiles: YES
Checking if "cet.h" compiles: NO
Checking for function "strtof" : YES
Checking for function "mkostemp" : YES
Checking for function "posix_memalign" : YES
Checking for function "timespec_get" : YES
Checking for function "memfd_create" : NO
Checking for function "random_r" : YES
Header <errno.h> has symbol "program_invocation_name" : YES
Checking if "strtod has locale support" links: YES
Checking if "Bsymbolic" links: YES
Checking if "gc-sections" links: YES
Checking if "version-script" links: YES
Checking if "dynamic-list" links: YES
Checking for function "dlopen" : NO
Library dl found: YES
Checking for function "dladdr" with dependency -ldl: YES
Checking for function "dl_iterate_phdr" : YES
Checking for function "clock_gettime" : YES
Run-time dependency zlib found: YES 1.2.8
Run-time dependency threads found: YES
Checking for function "pthread_setaffinity_np" with dependency threads: YES
Checking for function "pthread_setaffinity_np" with dependency threads: NO
Run-time dependency expat found: YES 2.1.0
Library m found: YES
Message: libdrm 2.4.99 needed because amdgpu has the highest requirement
Run-time dependency libdrm_intel found: YES 2.4.99
Run-time dependency libdrm_amdgpu found: YES 2.4.99
Run-time dependency libdrm_radeon found: YES 2.4.99
Run-time dependency libdrm_nouveau found: YES 2.4.99
Run-time dependency libdrm found: YES 2.4.99
llvm-config found: YES (/usr/local/bin/llvm-config) 8.0.1
Run-time dependency LLVM (modules: amdgpu, asmparser, bitreader, bitwriter, engine, ipo, mcdisassembler, mcjit, native) found: YES 8.0.1
Run-time dependency libelf found: YES 0.165
Run-time dependency valgrind found: YES 3.11.0
Program bison found: YES (/usr/bin/bison)
Program flex found: YES (/usr/bin/flex)
Run-time dependency libunwind found: NO (tried pkgconfig and cmake)
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Build-time dependency wayland-scanner found: YES 1.18.90
Program /usr/local/bin/wayland-scanner found: YES (/usr/local/bin/wayland-scanner)
Run-time dependency wayland-protocols found: YES 1.10
Run-time dependency wayland-client found: YES 1.18.90
Run-time dependency wayland-server found: YES 1.18.90
Run-time dependency wayland-egl-backend found: YES 3
Run-time dependency x11 found: YES 1.6.3
Run-time dependency xext found: YES 1.3.3
Run-time dependency xdamage found: YES 1.1.4
Run-time dependency xfixes found: YES 5.0.1
Run-time dependency xcb-glx found: YES 1.11.1
Run-time dependency xcb found: YES 1.11.1
Run-time dependency x11-xcb found: YES 1.6.3
Run-time dependency xcb-dri2 found: YES 1.11.1
Run-time dependency xcb-dri3 found: YES 1.11.1
Run-time dependency xcb-present found: YES 1.11.1
Run-time dependency xcb-sync found: YES 1.11.1
Run-time dependency xshmfence found: YES 1.2
Run-time dependency glproto found: YES 1.4.17
Run-time dependency dri2proto found: YES 2.8
Run-time dependency xxf86vm found: YES 1.1.4
Run-time dependency xcb-xfixes found: YES 1.11.1
Run-time dependency xcb-randr found: YES 1.11.1
Run-time dependency xrandr found: YES 1.5.0
Library sensors found: NO
Program nm found: YES (/usr/bin/nm)
Program symbols-check.py found: YES (/usr/bin/env python /home/simon/software/mesa-19.2.0/bin/symbols-check.py)
DEPRECATION: build_always is deprecated. Combine build_by_default and build_always_stale instead.
WARNING: Project targeting '>= 0.46' but tried to use feature introduced in '0.50.0': Python module path method
Program /home/user/software/anaconda3/envs/venv_tf_py36/bin/python3 found: YES (/home/user/software/anaconda3/envs/venv_tf_py36/bin/python3)
Checking for function "mincore" : YES
Program /home/user/software/anaconda3/envs/venv_tf_py36/bin/python3 found: YES (/home/user/software/anaconda3/envs/venv_tf_py36/bin/python3)
Program /home/user/software/anaconda3/envs/venv_tf_py36/bin/python3 found: YES (/home/user/software/anaconda3/envs/venv_tf_py36/bin/python3)
Configuring xa_tracker.h using configuration
Message: Configuration summary:
prefix: /usr/local
libdir: lib/x86_64-linux-gnu
includedir: include
OpenGL: yes (ES1: yes ES2: yes)
OSMesa: no
DRI platform: drm
DRI drivers: i915 i965 r100 r200 nouveau
DRI driver dir: /usr/local/lib/x86_64-linux-gnu/dri
GLX: DRI-based
EGL: yes
EGL drivers: builtin:egl_dri2 builtin:egl_dri3
GBM: yes
EGL/Vulkan/VL platforms: x11 wayland drm surfaceless
Vulkan drivers: amd intel
Vulkan ICD dir: share/vulkan/icd.d
llvm: yes
llvm-version: 8.0.1
Gallium drivers: r300 r600 radeonsi nouveau virgl svga swrast
Gallium st: mesa xa xvmc xvmc
HUD lmsensors: no
Shared-glapi: yes
Build targets in project: 202
WARNING: Project specifies a minimum meson_version '>= 0.46' but uses features which were added in newer versions:
* 0.50.0: {'Python module path method'}
Found ninja-1.5.1 at /usr/bin/ninja
(venv_tf_py36) simon@simon-Aspire-4750:~/software/mesa-19.2.0$
install
(venv_tf_py36) simon@simon-Aspire-4750:~/software/mesa-19.2.0$ sudo ninja -C build/ install
ninja: Entering directory `build/'
[2/2] Installing files.
Installing src/mapi/shared-glapi/libglapi.so.0.0.0 to /usr/local/lib/x86_64-linux-gnu
Installing src/mapi/es1api/libGLESv1_CM.so.1.1.0 to /usr/local/lib/x86_64-linux-gnu
Installing src/mapi/es2api/libGLESv2.so.2.0.0 to /usr/local/lib/x86_64-linux-gnu
Installing src/amd/vulkan/libvulkan_radeon.so to /usr/local/lib/x86_64-linux-gnu
Installing src/amd/vulkan/radeon_icd.x86_64.json to /usr/local/share/vulkan/icd.d
Installing src/intel/vulkan/intel_icd.x86_64.json to /usr/local/share/vulkan/icd.d
Installing src/intel/vulkan/libvulkan_intel.so to /usr/local/lib/x86_64-linux-gnu
Installing src/mesa/drivers/dri/libmesa_dri_drivers.so to /usr/local/lib/x86_64-linux-gnu/dri
Installing src/mesa/drivers/osmesa/libOSMesa.so.8.0.0 to /usr/local/lib/x86_64-linux-gnu
Installing src/glx/libGL.so.1.2.0 to /usr/local/lib/x86_64-linux-gnu
Installing src/gbm/libgbm.so.1.0.0 to /usr/local/lib/x86_64-linux-gnu
Installing src/egl/libEGL.so.1.0.0 to /usr/local/lib/x86_64-linux-gnu
Installing src/gallium/targets/dri/libgallium_dri.so to /usr/local/lib/x86_64-linux-gnu/dri
Installing src/gallium/targets/xvmc/libXvMCgallium.so to /usr/local/lib/x86_64-linux-gnu
Installing src/gallium/targets/xa/libxatracker.so.2.5.0 to /usr/local/lib/x86_64-linux-gnu
Installing /home/simon/software/mesa-19.2.0/include/GLES/egl.h to /usr/local/include/GLES
Installing /home/simon/software/mesa-19.2.0/include/GLES/gl.h to /usr/local/include/GLES
Installing /home/simon/software/mesa-19.2.0/include/GLES/glext.h to /usr/local/include/GLES
Installing /home/simon/software/mesa-19.2.0/include/GLES/glplatform.h to /usr/local/include/GLES
Installing /home/simon/software/mesa-19.2.0/include/GLES2/gl2.h to /usr/local/include/GLES2
Installing /home/simon/software/mesa-19.2.0/include/GLES2/gl2ext.h to /usr/local/include/GLES2
Installing /home/simon/software/mesa-19.2.0/include/GLES2/gl2platform.h to /usr/local/include/GLES2
Installing /home/simon/software/mesa-19.2.0/include/GLES3/gl3.h to /usr/local/include/GLES3
Installing /home/simon/software/mesa-19.2.0/include/GLES3/gl31.h to /usr/local/include/GLES3
Installing /home/simon/software/mesa-19.2.0/include/GLES3/gl32.h to /usr/local/include/GLES3
Installing /home/simon/software/mesa-19.2.0/include/GLES3/gl3ext.h to /usr/local/include/GLES3
Installing /home/simon/software/mesa-19.2.0/include/GLES3/gl3platform.h to /usr/local/include/GLES3
Installing /home/simon/software/mesa-19.2.0/include/KHR/khrplatform.h to /usr/local/include/KHR
Installing /home/simon/software/mesa-19.2.0/include/GL/gl.h to /usr/local/include/GL
Installing /home/simon/software/mesa-19.2.0/include/GL/glext.h to /usr/local/include/GL
Installing /home/simon/software/mesa-19.2.0/include/GL/glcorearb.h to /usr/local/include/GL
Installing /home/simon/software/mesa-19.2.0/include/GL/gl_mangle.h to /usr/local/include/GL
Installing /home/simon/software/mesa-19.2.0/include/GL/glx.h to /usr/local/include/GL
Installing /home/simon/software/mesa-19.2.0/include/GL/glxext.h to /usr/local/include/GL
Installing /home/simon/software/mesa-19.2.0/include/GL/glx_mangle.h to /usr/local/include/GL
Installing /home/simon/software/mesa-19.2.0/include/GL/osmesa.h to /usr/local/include/GL
Installing /home/simon/software/mesa-19.2.0/include/EGL/eglext.h to /usr/local/include/EGL
Installing /home/simon/software/mesa-19.2.0/include/EGL/egl.h to /usr/local/include/EGL
Installing /home/simon/software/mesa-19.2.0/include/EGL/eglextchromium.h to /usr/local/include/EGL
Installing /home/simon/software/mesa-19.2.0/include/EGL/eglmesaext.h to /usr/local/include/EGL
Installing /home/simon/software/mesa-19.2.0/include/EGL/eglplatform.h to /usr/local/include/EGL
Installing /home/simon/software/mesa-19.2.0/include/GL/internal/dri_interface.h to /usr/local/include/GL/internal
Installing /home/simon/software/mesa-19.2.0/include/vulkan/vulkan_intel.h to /usr/local/include/vulkan
Installing /home/simon/software/mesa-19.2.0/src/gbm/main/gbm.h to /usr/local/include
Installing /home/simon/software/mesa-19.2.0/src/gallium/state_trackers/xa/xa_composite.h to /usr/local/include
Installing /home/simon/software/mesa-19.2.0/src/gallium/state_trackers/xa/xa_context.h to /usr/local/include
Installing /home/simon/software/mesa-19.2.0/src/util/00-mesa-defaults.conf to /usr/local/share/drirc.d
Installing /home/simon/software/mesa-19.2.0/build/meson-private/glesv1_cm.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/simon/software/mesa-19.2.0/build/meson-private/glesv2.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/simon/software/mesa-19.2.0/build/meson-private/dri.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/simon/software/mesa-19.2.0/build/meson-private/osmesa.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/simon/software/mesa-19.2.0/build/meson-private/gbm.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/simon/software/mesa-19.2.0/build/meson-private/egl.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/simon/software/mesa-19.2.0/build/src/gallium/state_trackers/xa/xa_tracker.h to /usr/local/include
Installing /home/simon/software/mesa-19.2.0/build/meson-private/xatracker.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/simon/software/mesa-19.2.0/build/meson-private/gl.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Running custom install script '/usr/bin/python3 /home/simon/software/mesa-19.2.0/bin/install_megadrivers.py /home/simon/software/mesa-19.2.0/build/src/mesa/drivers/dri/libmesa_dri_drivers.so /usr/local/lib/x86_64-linux-gnu/dri i915_dri.so i965_dri.so radeon_dri.so r200_dri.so nouveau_vieux_dri.so'
installing /home/simon/software/mesa-19.2.0/build/src/mesa/drivers/dri/libmesa_dri_drivers.so to /usr/local/lib/x86_64-linux-gnu/dri/i915_dri.so
installing /home/simon/software/mesa-19.2.0/build/src/mesa/drivers/dri/libmesa_dri_drivers.so to /usr/local/lib/x86_64-linux-gnu/dri/i965_dri.so
installing /home/simon/software/mesa-19.2.0/build/src/mesa/drivers/dri/libmesa_dri_drivers.so to /usr/local/lib/x86_64-linux-gnu/dri/radeon_dri.so
installing /home/simon/software/mesa-19.2.0/build/src/mesa/drivers/dri/libmesa_dri_drivers.so to /usr/local/lib/x86_64-linux-gnu/dri/r200_dri.so
installing /home/simon/software/mesa-19.2.0/build/src/mesa/drivers/dri/libmesa_dri_drivers.so to /usr/local/lib/x86_64-linux-gnu/dri/nouveau_vieux_dri.so
Running custom install script '/usr/bin/python3 /home/simon/software/mesa-19.2.0/bin/install_megadrivers.py /home/simon/software/mesa-19.2.0/build/src/gallium/targets/dri/libgallium_dri.so /usr/local/lib/x86_64-linux-gnu/dri radeonsi_dri.so nouveau_dri.so swrast_dri.so kms_swrast_dri.so r300_dri.so r600_dri.so vmwgfx_dri.so virtio_gpu_dri.so'
installing /home/simon/software/mesa-19.2.0/build/src/gallium/targets/dri/libgallium_dri.so to /usr/local/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
installing /home/simon/software/mesa-19.2.0/build/src/gallium/targets/dri/libgallium_dri.so to /usr/local/lib/x86_64-linux-gnu/dri/nouveau_dri.so
installing /home/simon/software/mesa-19.2.0/build/src/gallium/targets/dri/libgallium_dri.so to /usr/local/lib/x86_64-linux-gnu/dri/swrast_dri.so
installing /home/simon/software/mesa-19.2.0/build/src/gallium/targets/dri/libgallium_dri.so to /usr/local/lib/x86_64-linux-gnu/dri/kms_swrast_dri.so
installing /home/simon/software/mesa-19.2.0/build/src/gallium/targets/dri/libgallium_dri.so to /usr/local/lib/x86_64-linux-gnu/dri/r300_dri.so
installing /home/simon/software/mesa-19.2.0/build/src/gallium/targets/dri/libgallium_dri.so to /usr/local/lib/x86_64-linux-gnu/dri/r600_dri.so
installing /home/simon/software/mesa-19.2.0/build/src/gallium/targets/dri/libgallium_dri.so to /usr/local/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so
installing /home/simon/software/mesa-19.2.0/build/src/gallium/targets/dri/libgallium_dri.so to /usr/local/lib/x86_64-linux-gnu/dri/virtio_gpu_dri.so
Running custom install script '/usr/bin/python3 /home/simon/software/mesa-19.2.0/bin/install_megadrivers.py /home/simon/software/mesa-19.2.0/build/src/gallium/targets/xvmc/libXvMCgallium.so lib/x86_64-linux-gnu libXvMCr600.so libXvMCnouveau.so'
installing /home/simon/software/mesa-19.2.0/build/src/gallium/targets/xvmc/libXvMCgallium.so to /usr/local/lib/x86_64-linux-gnu/libXvMCr600.so
installing /home/simon/software/mesa-19.2.0/build/src/gallium/targets/xvmc/libXvMCgallium.so to /usr/local/lib/x86_64-linux-gnu/libXvMCnouveau.so
(venv_tf_py36) simon@simon-Aspire-4750:~/software/mesa-19.2.0$
llvm
-
llvm-3.5 安装OK,但是版本太低
-
llvm-8.0 源码编译,配置-DLLVM_BUILD_LLVM_DYLIB=yes可以编译出想要的libLLVM.so
-
llvm-9.0 预编译文件直接安装配置,缺少libLLVM.so
llvm-3.5 源码
(venv_tf_py36) simon@simon-Aspire-4750:~/software/llvm-3.5.0.src$ ll
total 796
drwxr-xr-x 14 simon simon 4096 Sep 3 2014 ./
drwxrwxr-x 8 simon simon 4096 Feb 23 00:12 ../
-rw-r--r-- 1 simon simon 74 Apr 7 2014 .arcconfig
drwxr-xr-x 3 simon simon 4096 Feb 23 00:12 autoconf/
drwxr-xr-x 4 simon simon 4096 Feb 23 00:12 bindings/
-rw-r--r-- 1 simon simon 20 Mar 2 2014 .clang-format
drwxr-xr-x 4 simon simon 4096 Feb 23 00:12 cmake/
-rw-r--r-- 1 simon simon 20504 Jul 4 2014 CMakeLists.txt
-rw-r--r-- 1 simon simon 3333 Jul 18 2014 CODE_OWNERS.TXT
-rwxr-xr-x 1 simon simon 579889 Jul 30 2014 configure*
-rw-r--r-- 1 simon simon 10748 May 30 2014 CREDITS.TXT
drwxr-xr-x 9 simon simon 4096 Feb 23 00:12 docs/
drwxr-xr-x 10 simon simon 4096 Feb 23 00:12 examples/
-rw-r--r-- 1 simon simon 1755 Jun 25 2014 .gitignore
drwxr-xr-x 4 simon simon 4096 Feb 23 00:12 include/
drwxr-xr-x 21 simon simon 4096 Feb 23 00:12 lib/
-rw-r--r-- 1 simon simon 3281 Mar 13 2014 LICENSE.TXT
-rw-r--r-- 1 simon simon 744 Oct 2 2013 LLVMBuild.txt
-rw-r--r-- 1 simon simon 1865 Jan 26 2012 llvm.spec.in
-rw-r--r-- 1 simon simon 8874 Mar 26 2014 Makefile
-rw-r--r-- 1 simon simon 2599 Dec 7 2012 Makefile.common
-rw-r--r-- 1 simon simon 12853 Jul 17 2014 Makefile.config.in
-rw-r--r-- 1 simon simon 73392 Jun 21 2014 Makefile.rules
drwxr-xr-x 2 simon simon 4096 Feb 23 00:12 projects/
-rw-r--r-- 1 simon simon 687 Apr 27 2014 README.txt
drwxr-xr-x 26 simon simon 4096 Feb 23 00:12 test/
drwxr-xr-x 37 simon simon 4096 Feb 23 00:12 tools/
drwxr-xr-x 16 simon simon 4096 Feb 23 00:12 unittests/
drwxr-xr-x 30 simon simon 4096 Sep 3 2014 utils/
./configure
(venv_tf_py36) simon@simon-Aspire-4750:~/software/llvm-3.5.0.src$ ./configure
checking for clang... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for clang++... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether GCC or Clang is our host compiler... gcc
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking type of operating system we're going to host on... Linux
checking type of operating system we're going to target... Linux
checking target architecture... x86_64
checking whether GCC is new enough... yes
checking optimization flags... -O3
checking for GNU make... make
checking whether ln -s works... yes
checking for nm... /usr/bin/nm
checking for cmp... /usr/bin/cmp
checking for cp... /bin/cp
checking for date... /bin/date
checking for find... /usr/bin/find
checking for grep... /bin/grep
checking for mkdir... /bin/mkdir
checking for mv... /bin/mv
checking for ranlib... ranlib
checking for ar... ar
checking for rm... /bin/rm
checking for sed... /bin/sed
checking for tar... /bin/tar
checking for pwd... /bin/pwd
checking for dot... echo dot
checking for a BSD-compatible install... /usr/bin/install -c
checking for bzip2... /bin/bzip2
checking for cat... /bin/cat
checking for doxygen... no
checking for groff... /usr/bin/groff
checking for gzip... /bin/gzip
checking for pdfroff... no
checking for zip... /usr/bin/zip
checking for ocamlc... no
checking for ocamlopt... no
checking for ocamldep... no
checking for ocamldoc... no
checking for gas... no
checking for as... /usr/bin/as
checking for linker version... 2.26.1
checking for compiler -Wl,-R<path> option... yes
checking for compiler -rdynamic option... yes
checking for compiler -Wl,--version-script option... yes
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking tool compatibility... ok
checking optional compiler flags... -Wno-variadic-macros -Wno-missing-field-initializers -Wno-maybe-uninitialized
checking for python... /home/user/software/anaconda3/envs/venv_tf_py36/bin/python
checking for python >= 2.5... /home/user/software/anaconda3/envs/venv_tf_py36/bin/python (3.6.10)
checking for sin in -lm... yes
checking for library containing dlopen... -ldl
checking for library containing clock_gettime... none required
checking for library containing setupterm... no
checking for library containing el_init... no
checking for library containing mallinfo... none required
checking for pthread_mutex_init in -lpthread... yes
checking for library containing pthread_mutex_lock... none required
checking for library containing pthread_rwlock_init... none required
checking for library containing pthread_getspecific... none required
checking for compress2 in -lz... yes
checking for xml2-config... no
checking for libxml2 includes... xml2-config not found
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for MAP_ANONYMOUS vs. MAP_ANON... yes
checking whether stat file-mode macros are broken... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking how to run the C++ preprocessor... g++ -E
checking cxxabi.h usability... yes
checking cxxabi.h presence... yes
checking for cxxabi.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking whether FE_ALL_EXCEPT is declared... yes
checking whether FE_INEXACT is declared... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking CrashReporterClient.h usability... no
checking CrashReporterClient.h presence... no
checking for CrashReporterClient.h... no
checking __crashreporter_info__... no
checking for HUGE_VAL sanity... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for int64_t... yes
checking for uint64_t... yes
checking for backtrace... yes
checking for ceilf... yes
checking for floorf... yes
checking for roundf... yes
checking for rintf... yes
checking for nearbyintf... yes
checking for getcwd... yes
checking for powf... yes
checking for fmodf... yes
checking for strtof... yes
checking for round... yes
checking for log... yes
checking for log2... yes
checking for log10... yes
checking for exp... yes
checking for exp2... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for gettimeofday... yes
checking for isatty... yes
checking for mkdtemp... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for posix_spawn... yes
checking for pread... yes
checking for realpath... yes
checking for sbrk... yes
checking for setrlimit... (cached) yes
checking for strerror... yes
checking for strerror_r... yes
checking for setenv... yes
checking for strtoll... yes
checking for strtoq... yes
checking for sysconf... yes
checking for malloc_zone_statistics... no
checking for setjmp... yes
checking for longjmp... yes
checking for sigsetjmp... no
checking for siglongjmp... yes
checking for writev... yes
checking for futimes... yes
checking for futimens... yes
checking if printf has the %a format character... yes
checking for srand48/lrand48/drand48 in <stdlib.h>... yes
checking whether arc4random is declared... no
checking whether strerror_s is declared... no
checking for isnan in <math.h>... yes
checking for isnan in <cmath>... yes
checking for std::isnan in <cmath>... yes
checking for isinf in <math.h>... yes
checking for isinf in <cmath>... yes
checking for std::isinf in <cmath>... yes
checking for finite in <ieeefp.h>... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for mmap of files... yes
checking if /dev/zero is needed for mmap... no
checking for GCC atomic builtins... yes
checking for 32-bit userspace on 64-bit system... no
checking for __dso_handle... yes
checking for compiler -fvisibility-inlines-hidden option... yes
configure: creating ./config.status
config.status: creating include/llvm/Config/Targets.def
config.status: creating include/llvm/Config/AsmPrinters.def