···1010, fmt_9
1111, forge
1212, freeimage
1313-, git
1413, gtest
1514, lapack
1615, lib
···131130132131 # ArrayFire have a repo with assets for the examples. Since we don't build
133132 # the examples anyway, remove the dependency on assets.
134134- patches = [ ./no-assets.patch ];
133133+ patches = [ ./no-assets.patch ./no-download.patch ];
135134136135 postPatch = ''
137136 mkdir -p ./extern/af_glad-src
···209208210209 nativeBuildInputs = [
211210 cmake
212212- # ArrayFire have their own CMake functions for downloading the
213213- # dependencies, and it uses git. Even though we bypass that system by
214214- # downloading the dependencies beforehand, CMake files still invoke git for
215215- # checking...
216216- git
217211 pkg-config
218212 python3
219213 ];
···11diff --git a/CMakeLists.txt b/CMakeLists.txt
22-index deafa7a75..b9ca54621 100644
22+index 12d6e557c..cc004555d 100644
33--- a/CMakeLists.txt
44+++ b/CMakeLists.txt
55-@@ -320,11 +320,11 @@ if(NOT TARGET nonstd::span-lite)
55+@@ -321,11 +321,6 @@ if(NOT TARGET nonstd::span-lite)
6677 endif()
88···1111- REF master
1212-)
1313-set(ASSETS_DIR ${${assets_prefix}_SOURCE_DIR})
1414-+# af_dep_check_and_populate(${assets_prefix}
1515-+# URI https://github.com/arrayfire/assets.git
1616-+# REF master
1717-+# )
1818-+# set(ASSETS_DIR ${${assets_prefix}_SOURCE_DIR})
19142015 # when crosscompiling use the bin2cpp file from the native bin directory
2116 if(CMAKE_CROSSCOMPILING)
2222-@@ -477,13 +477,13 @@ install(FILES ${ArrayFire_BINARY_DIR}/include/af/version.h
2323- # source files does not depend on AF_BUILD_EXAMPLES
2424- # when AF_BUILD_EXAMPLES is OFF, the examples source is installed without
2525- # building the example executables
1717+@@ -473,18 +468,6 @@ install(FILES ${ArrayFire_BINARY_DIR}/include/af/version.h
1818+ DESTINATION "${AF_INSTALL_INC_DIR}/af/"
1919+ COMPONENT headers)
2020+2121+-# install the examples irrespective of the AF_BUILD_EXAMPLES value
2222+-# only the examples source files are installed, so the installation of these
2323+-# source files does not depend on AF_BUILD_EXAMPLES
2424+-# when AF_BUILD_EXAMPLES is OFF, the examples source is installed without
2525+-# building the example executables
2626-install(DIRECTORY examples/ #NOTE The slash at the end is important
2727- DESTINATION ${AF_INSTALL_EXAMPLE_DIR}
2828- COMPONENT examples)
2929-+# install(DIRECTORY examples/ #NOTE The slash at the end is important
3030-+# DESTINATION ${AF_INSTALL_EXAMPLE_DIR}
3131-+# COMPONENT examples)
3232-2929+-
3330-install(DIRECTORY ${ASSETS_DIR}/examples/ #NOTE The slash at the end is important
3431- DESTINATION ${AF_INSTALL_EXAMPLE_DIR}
3532- COMPONENT examples)
3636-+#install(DIRECTORY ${ASSETS_DIR}/examples/ #NOTE The slash at the end is important
3737-+# DESTINATION ${AF_INSTALL_EXAMPLE_DIR}
3838-+# COMPONENT examples)
39334034 install(DIRECTORY "${ArrayFire_SOURCE_DIR}/LICENSES/"
4135 DESTINATION LICENSES