From 2ced8eb136528914e1bf4e000dea06a9d53c7e04 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 19 Oct 2016 17:36:17 +0100 Subject: Revert Use absolute path in intel_icd.json and related patches. This commit effectively reverts the following commits: This reverts commit 0b6837a643bbbf3c57c5cc5030279fb4389b23b7. This reverts commit 05f36435ef117e48f457b44877d04dd6249b3bb7. This reverts commit a2ae67aa47df6dd41802462105dac7ce5ab676a2. While the feature introduced is convinient for development it is not as useful for distributions. Furthermore it even breaks things as one wishes to have both 32 and 64 bit package installed on the same system. Keep the functionality in development branch(es) and drop it from distribution packages to avoid confusion and misuse. Signed-off-by: Emil Velikov --- configure.ac | 7 ------- src/intel/vulkan/.gitignore | 1 - src/intel/vulkan/Makefile.am | 14 +------------- src/intel/vulkan/intel_icd.json | 7 +++++++ src/intel/vulkan/intel_icd.json.in | 7 ------- 5 files changed, 8 insertions(+), 28 deletions(-) create mode 100644 src/intel/vulkan/intel_icd.json delete mode 100644 src/intel/vulkan/intel_icd.json.in diff --git a/configure.ac b/configure.ac index 7e63bfa..d215b63 100644 --- a/configure.ac +++ b/configure.ac @@ -1667,13 +1667,6 @@ AC_ARG_WITH([vulkan-icddir], [VULKAN_ICD_INSTALL_DIR='${datarootdir}/vulkan/icd.d']) AC_SUBST([VULKAN_ICD_INSTALL_DIR]) -AC_ARG_ENABLE([vulkan-icd-full-driver-path], - [AS_HELP_STRING([--disable-vulkan-icd-full-driver-path], - [create Vulkan ICD files with just a .so name and no path])], - [vulkan_icd_driver_path="$enableval"], - [vulkan_icd_driver_path="yes"]) -AM_CONDITIONAL(VULKAN_ICD_DRIVER_PATH, test "x$vulkan_icd_driver_path" = xyes) - if test -n "$with_vulkan_drivers"; then VULKAN_DRIVERS=`IFS=', '; echo $with_vulkan_drivers` for driver in $VULKAN_DRIVERS; do diff --git a/src/intel/vulkan/.gitignore b/src/intel/vulkan/.gitignore index a099ff6..bde5cd8 100644 --- a/src/intel/vulkan/.gitignore +++ b/src/intel/vulkan/.gitignore @@ -3,4 +3,3 @@ /anv_entrypoints.h /anv_timestamp.h /dev_icd.json -/intel_icd.json diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am index 5d2b3a5..6e17188 100644 --- a/src/intel/vulkan/Makefile.am +++ b/src/intel/vulkan/Makefile.am @@ -147,12 +147,11 @@ anv_timestamp.h: $(AM_V_GEN) echo "#define ANV_TIMESTAMP \"$(TIMESTAMP_CMD)\"" > $@ BUILT_SOURCES = $(VULKAN_GENERATED_FILES) -CLEANFILES = $(BUILT_SOURCES) dev_icd.json intel_icd.json +CLEANFILES = $(BUILT_SOURCES) dev_icd.json EXTRA_DIST = \ $(top_srcdir)/include/vulkan/vk_icd.h \ anv_entrypoints_gen.py \ dev_icd.json.in \ - intel_icd.json.in \ intel_icd.json libvulkan_intel_la_LIBADD = $(VULKAN_LIB_DEPS) @@ -177,17 +176,6 @@ dev_icd.json : dev_icd.json.in -e "s#@build_libdir@#${abs_top_builddir}/${LIB_DIR}#" \ < $(srcdir)/dev_icd.json.in > $@ -if VULKAN_ICD_DRIVER_PATH -ICD_DRIVER_PATH="${libdir}/libvulkan_intel.so" -else -ICD_DRIVER_PATH="libvulkan_intel.so" -endif - -intel_icd.json : intel_icd.json.in - $(AM_V_GEN) $(SED) \ - -e "s#@ICD_DRIVER_PATH@#${ICD_DRIVER_PATH}#" \ - < $(srcdir)/intel_icd.json.in > $@ - # Libvulkan with dummy gem. Used for unit tests. libvulkan_test_la_SOURCES = $(VULKAN_GEM_STUB_FILES) libvulkan_test_la_LIBADD = $(VULKAN_LIB_DEPS) diff --git a/src/intel/vulkan/intel_icd.json b/src/intel/vulkan/intel_icd.json new file mode 100644 index 0000000..277c14e --- /dev/null +++ b/src/intel/vulkan/intel_icd.json @@ -0,0 +1,7 @@ +{ + "file_format_version": "1.0.0", + "ICD": { + "library_path": "libvulkan_intel.so", + "abi_versions": "1.0.3" + } +} diff --git a/src/intel/vulkan/intel_icd.json.in b/src/intel/vulkan/intel_icd.json.in deleted file mode 100644 index 4f50866..0000000 --- a/src/intel/vulkan/intel_icd.json.in +++ /dev/null @@ -1,7 +0,0 @@ -{ - "file_format_version": "1.0.0", - "ICD": { - "library_path": "@ICD_DRIVER_PATH@", - "abi_versions": "1.0.3" - } -} -- cgit v1.1