summaryrefslogtreecommitdiff
path: root/src/intel
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-10-19 17:36:17 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-10-19 19:10:30 +0100
commit2ced8eb136528914e1bf4e000dea06a9d53c7e04 (patch)
treebbe416a399d345888d14dd7335469f06c988abdf /src/intel
parent3ef8d4288aa4e5711f4445f1cacdcf5f65f51ddf (diff)
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 <emil.velikov@collabora.com>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/.gitignore1
-rw-r--r--src/intel/vulkan/Makefile.am14
-rw-r--r--src/intel/vulkan/intel_icd.json (renamed from src/intel/vulkan/intel_icd.json.in)2
3 files changed, 2 insertions, 15 deletions
diff --git a/src/intel/vulkan/.gitignore b/src/intel/vulkan/.gitignore
index a099ff6a1db..bde5cd82f40 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 5d2b3a52582..6e171887f57 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.in b/src/intel/vulkan/intel_icd.json
index 4f50866b108..277c14ec444 100644
--- a/src/intel/vulkan/intel_icd.json.in
+++ b/src/intel/vulkan/intel_icd.json
@@ -1,7 +1,7 @@
{
"file_format_version": "1.0.0",
"ICD": {
- "library_path": "@ICD_DRIVER_PATH@",
+ "library_path": "libvulkan_intel.so",
"abi_versions": "1.0.3"
}
}