Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/about.json +226 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/files +2 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/git +0 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/hash_input.json +10 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/index.json +19 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/licenses/LICENSE.txt +13 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/paths.json +17 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/build_pkg.sh +24 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/conda_build_config.yaml +49 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/meta.yaml +63 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/LICENSE.txt +13 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/bld.bat +72 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/build.sh +131 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/build_pkg.bat +1 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/build_pkg.sh +24 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/conda_build_config.yaml +74 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/install_blas_devel.sh +5 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/libblas_mkl_activate.sh +2 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/libblas_mkl_deactivate.sh +7 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/meta.yaml +340 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/patches/0001-Test-BLAS-and-LAPACKE-in-addition-to-LAPACK.patch +22 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/patches/0002-read-pipe-as-binary.patch +56 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/patches/0003-add-DLL-import-export-machinery-for-RowMajorStrg.patch +61 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/patches/0004-fixed-bug-in-array-bounds-in-complex-syl01-test.patch +36 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/patches/0005-Use-dynamic-allocation-in-SYL01-tests.patch +256 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/recipe-scripts-license.txt +27 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/test_blas.bat +9 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/test_blas.sh +69 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/wrap_accelerate.c +59 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/repodata_record.json +25 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/run_exports.json +1 -0
- data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/test/run_test.sh +8 -0
- data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/about.json +138 -0
- data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/files +4 -0
- data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/git +0 -0
- data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/index.json +17 -0
- data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/licenses/LICENSE +1632 -0
- data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/paths.json +29 -0
- data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/repodata_record.json +24 -0
- data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/test/run_test.sh +11 -0
- data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/test/test-rpath.sh +28 -0
- data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/test/test_time_dependencies.json +1 -0
- data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gd.h +1716 -0
- data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gd_color_map.h +30 -0
- data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gd_errors.h +46 -0
- data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gd_io.h +89 -0
- data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gdcache.h +90 -0
- data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gdfontg.h +28 -0
- data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gdfontl.h +29 -0
- data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gdfontmb.h +27 -0
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/about.json
ADDED
|
@@ -0,0 +1,226 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"channels": [
|
| 3 |
+
"https://conda.anaconda.org/conda-forge"
|
| 4 |
+
],
|
| 5 |
+
"conda_build_version": "25.11.1",
|
| 6 |
+
"conda_version": "25.11.0",
|
| 7 |
+
"env_vars": {
|
| 8 |
+
"CIO_TEST": "<not set>"
|
| 9 |
+
},
|
| 10 |
+
"extra": {
|
| 11 |
+
"copy_test_source_files": true,
|
| 12 |
+
"feedstock-name": "blas",
|
| 13 |
+
"final": true,
|
| 14 |
+
"flow_run_id": "azure_20251215.1.1",
|
| 15 |
+
"parent_recipe": {
|
| 16 |
+
"name": "blas-split",
|
| 17 |
+
"path": "/home/conda/recipe_root",
|
| 18 |
+
"version": "3.11.0"
|
| 19 |
+
},
|
| 20 |
+
"recipe-maintainers": [
|
| 21 |
+
"jakirkham",
|
| 22 |
+
"pelson",
|
| 23 |
+
"isuruf",
|
| 24 |
+
"ocefpaf",
|
| 25 |
+
"h-vetinari"
|
| 26 |
+
],
|
| 27 |
+
"remote_url": "https://github.com/conda-forge/blas-feedstock",
|
| 28 |
+
"sha": "07336ee86d260d88e0a29df57c2fad3bfccee685"
|
| 29 |
+
},
|
| 30 |
+
"home": "https://github.com/conda-forge/blas-feedstock",
|
| 31 |
+
"identifiers": [],
|
| 32 |
+
"keywords": [],
|
| 33 |
+
"license": "BSD-3-Clause",
|
| 34 |
+
"license_file": [
|
| 35 |
+
"LICENSE.txt"
|
| 36 |
+
],
|
| 37 |
+
"root_pkgs": [
|
| 38 |
+
"markupsafe 3.0.3 py312h8a5da7c_0",
|
| 39 |
+
"conda-package-handling 2.4.0 pyh7900ff3_2",
|
| 40 |
+
"zstd 1.5.7 hb78ec9c_6",
|
| 41 |
+
"libfreetype 2.14.1 ha770c72_0",
|
| 42 |
+
"libjpeg-turbo 3.1.2 hb03c661_0",
|
| 43 |
+
"charset-normalizer 3.4.4 pyhd8ed1ab_0",
|
| 44 |
+
"libxcb 1.17.0 h8a09558_0",
|
| 45 |
+
"libfreetype6 2.14.1 h73754d4_0",
|
| 46 |
+
"conda 25.11.0 py312h7900ff3_0",
|
| 47 |
+
"libxml2-16 2.15.1 ha9997c6_0",
|
| 48 |
+
"typing_extensions 4.15.0 pyhcf101f3_0",
|
| 49 |
+
"jsonpatch 1.33 pyhd8ed1ab_1",
|
| 50 |
+
"setuptools 80.9.0 pyhff2d567_0",
|
| 51 |
+
"wheel 0.45.1 pyhd8ed1ab_1",
|
| 52 |
+
"perl 5.32.1 7_hd590300_perl5",
|
| 53 |
+
"pip 25.3 pyh8b19718_0",
|
| 54 |
+
"anaconda-client 1.13.1 pyhcf101f3_0",
|
| 55 |
+
"soupsieve 2.8 pyhd8ed1ab_0",
|
| 56 |
+
"tomli 2.3.0 pyhcf101f3_0",
|
| 57 |
+
"xorg-libxdmcp 1.1.5 hb03c661_1",
|
| 58 |
+
"lzo 2.10 h280c20c_1002",
|
| 59 |
+
"icu 75.1 he02047a_0",
|
| 60 |
+
"python-dateutil 2.9.0.post0 pyhe01879c_2",
|
| 61 |
+
"ruamel.yaml.clib 0.2.14 py312h4c3975b_0",
|
| 62 |
+
"lerc 4.0.0 h0aef613_1",
|
| 63 |
+
"libstdcxx-ng 15.2.0 hdf11a46_16",
|
| 64 |
+
"idna 3.11 pyhd8ed1ab_0",
|
| 65 |
+
"typing-inspection 0.4.2 pyhd8ed1ab_1",
|
| 66 |
+
"typer 0.20.0 pyhefaf540_1",
|
| 67 |
+
"ncurses 6.5 h2d0b736_3",
|
| 68 |
+
"readchar 4.2.1 pyhe01879c_0",
|
| 69 |
+
"typer-slim-standard 0.20.0 h4daf872_1",
|
| 70 |
+
"libtiff 4.7.1 h9d88235_1",
|
| 71 |
+
"hyperframe 6.1.0 pyhd8ed1ab_0",
|
| 72 |
+
"defusedxml 0.7.1 pyhd8ed1ab_0",
|
| 73 |
+
"pygments 2.19.2 pyhd8ed1ab_0",
|
| 74 |
+
"frozendict 2.4.7 py312h4c3975b_0",
|
| 75 |
+
"pkginfo 1.12.1.2 pyhd8ed1ab_0",
|
| 76 |
+
"ruamel.yaml 0.18.16 py312h4c3975b_0",
|
| 77 |
+
"libwebp-base 1.6.0 hd42ef1d_0",
|
| 78 |
+
"python-libarchive-c 5.3 pyhe01879c_1",
|
| 79 |
+
"referencing 0.37.0 pyhcf101f3_0",
|
| 80 |
+
"libxcrypt 4.4.36 hd590300_1",
|
| 81 |
+
"mbedtls 3.6.3.1 h5888daf_0",
|
| 82 |
+
"keyutils 1.6.3 hb9d3cd8_0",
|
| 83 |
+
"conda-libmamba-solver 25.11.0 pyhd8ed1ab_0",
|
| 84 |
+
"python 3.12.12 hd63d673_1_cpython",
|
| 85 |
+
"pyyaml 6.0.3 py312h8a5da7c_0",
|
| 86 |
+
"mamba 2.4.0 h7ae174a_1",
|
| 87 |
+
"libdeflate 1.25 h17f619e_0",
|
| 88 |
+
"cffi 2.0.0 py312h460c074_1",
|
| 89 |
+
"git 2.52.0 pl5321h6d3cee1_1",
|
| 90 |
+
"traitlets 5.14.3 pyhd8ed1ab_1",
|
| 91 |
+
"ld_impl_linux-64 2.45 default_hbd61a6d_104",
|
| 92 |
+
"annotated-types 0.7.0 pyhd8ed1ab_1",
|
| 93 |
+
"pixi 0.61.0 ha759004_0",
|
| 94 |
+
"libcurl 8.17.0 h4e3cde8_1",
|
| 95 |
+
"tini 0.19.0 h166bdaf_1",
|
| 96 |
+
"jupyter_core 5.9.1 pyhc90fa1f_0",
|
| 97 |
+
"evalidate 2.0.5 pyhe01879c_0",
|
| 98 |
+
"c-ares 1.34.6 hb03c661_0",
|
| 99 |
+
"libedit 3.1.20250104 pl5321h7949ede_0",
|
| 100 |
+
"markdown-it-py 4.0.0 pyhd8ed1ab_0",
|
| 101 |
+
"libgcc-ng 15.2.0 h69a702a_16",
|
| 102 |
+
"archspec 0.2.5 pyhd8ed1ab_0",
|
| 103 |
+
"libuuid 2.41.2 h5347b49_1",
|
| 104 |
+
"reproc-cpp 14.2.5.post0 h5888daf_0",
|
| 105 |
+
"distro 1.9.0 pyhd8ed1ab_1",
|
| 106 |
+
"jsonschema 4.25.1 pyhe01879c_0",
|
| 107 |
+
"libev 4.33 hd590300_2",
|
| 108 |
+
"libmamba 2.4.0 hed7d790_1",
|
| 109 |
+
"rpds-py 0.30.0 py312h868fb18_0",
|
| 110 |
+
"_libgcc_mutex 0.1 conda_forge",
|
| 111 |
+
"h2 4.3.0 pyhcf101f3_0",
|
| 112 |
+
"pybind11-abi 11 hc364b38_1",
|
| 113 |
+
"rich 14.2.0 pyhcf101f3_0",
|
| 114 |
+
"requests-toolbelt 1.0.0 pyhd8ed1ab_1",
|
| 115 |
+
"lcms2 2.17 h717163a_0",
|
| 116 |
+
"pthread-stubs 0.4 hb9d3cd8_1002",
|
| 117 |
+
"tzdata 2025c h8577fbf_0",
|
| 118 |
+
"ripgrep 15.1.0 hdab8a38_0",
|
| 119 |
+
"xorg-libxau 1.0.12 hb03c661_1",
|
| 120 |
+
"chardet 5.2.0 pyhd8ed1ab_3",
|
| 121 |
+
"patchelf 0.17.2 h58526e2_0",
|
| 122 |
+
"libzlib 1.3.1 hb9d3cd8_2",
|
| 123 |
+
"patch 2.8 hb03c661_1002",
|
| 124 |
+
"six 1.17.0 pyhe01879c_1",
|
| 125 |
+
"tqdm 4.67.1 pyhd8ed1ab_1",
|
| 126 |
+
"krb5 1.21.3 h659f571_0",
|
| 127 |
+
"su-exec 0.2 h166bdaf_1003",
|
| 128 |
+
"readline 8.2 h8c095d6_2",
|
| 129 |
+
"anaconda-cli-base 0.7.0 pyhd8ed1ab_0",
|
| 130 |
+
"nbformat 5.10.4 pyhd8ed1ab_1",
|
| 131 |
+
"fmt 12.0.0 h2b0788b_0",
|
| 132 |
+
"python-fastjsonschema 2.21.2 pyhe01879c_0",
|
| 133 |
+
"python-dotenv 1.2.1 pyhcf101f3_0",
|
| 134 |
+
"libstdcxx 15.2.0 h934c35e_16",
|
| 135 |
+
"simdjson 4.2.3 hb700be7_0",
|
| 136 |
+
"zlib-ng 2.3.2 h54a6638_0",
|
| 137 |
+
"xz 5.8.1 hbcc6ac9_2",
|
| 138 |
+
"libmambapy 2.4.0 py312h17091a9_1",
|
| 139 |
+
"libgomp 15.2.0 he0feb66_16",
|
| 140 |
+
"filelock 3.20.0 pyhd8ed1ab_0",
|
| 141 |
+
"libsqlite 3.51.1 h0c1763c_0",
|
| 142 |
+
"conda-build 25.11.1 py312ha128529_0",
|
| 143 |
+
"liblief 0.16.6 hecca717_1",
|
| 144 |
+
"jsonschema-specifications 2025.9.1 pyhcf101f3_0",
|
| 145 |
+
"xz-gpl-tools 5.8.1 hbcc6ac9_2",
|
| 146 |
+
"bzip2 1.0.8 hda65f42_8",
|
| 147 |
+
"yaml 0.2.5 h280c20c_3",
|
| 148 |
+
"requests 2.32.5 pyhd8ed1ab_0",
|
| 149 |
+
"pytz 2025.2 pyhd8ed1ab_0",
|
| 150 |
+
"openssl 3.6.0 h26f9b46_0",
|
| 151 |
+
"jsonpointer 3.0.0 pyhcf101f3_3",
|
| 152 |
+
"libgcc 15.2.0 he0feb66_16",
|
| 153 |
+
"openjpeg 2.5.4 h55fea9a_0",
|
| 154 |
+
"urllib3 2.6.2 pyhd8ed1ab_0",
|
| 155 |
+
"boltons 25.0.0 pyhd8ed1ab_0",
|
| 156 |
+
"reproc 14.2.5.post0 hb9d3cd8_0",
|
| 157 |
+
"liblzma-devel 5.8.1 hb9d3cd8_2",
|
| 158 |
+
"certifi 2025.11.12 pyhd8ed1ab_0",
|
| 159 |
+
"python_abi 3.12 8_cp312",
|
| 160 |
+
"truststore 0.10.3 pyhe01879c_0",
|
| 161 |
+
"libnghttp2 1.67.0 had1ee68_0",
|
| 162 |
+
"pysocks 1.7.1 pyha55dd90_7",
|
| 163 |
+
"psutil 7.1.3 py312h5253ce2_0",
|
| 164 |
+
"pluggy 1.6.0 pyhf9edf01_1",
|
| 165 |
+
"platformdirs 4.5.1 pyhcf101f3_0",
|
| 166 |
+
"_openmp_mutex 4.5 2_gnu",
|
| 167 |
+
"libnsl 2.0.1 hb9d3cd8_1",
|
| 168 |
+
"pycosat 0.6.6 py312h4c3975b_3",
|
| 169 |
+
"zstandard 0.25.0 py312h5253ce2_1",
|
| 170 |
+
"conda-index 0.7.0 pyhd8ed1ab_0",
|
| 171 |
+
"msgpack-python 1.1.2 py312hd9148b4_1",
|
| 172 |
+
"cpp-expected 1.3.1 h171cf75_0",
|
| 173 |
+
"ca-certificates 2025.11.12 hbd8a1cb_0",
|
| 174 |
+
"hpack 4.1.0 pyhd8ed1ab_0",
|
| 175 |
+
"beautifulsoup4 4.14.3 pyha770c72_0",
|
| 176 |
+
"conda-package-streaming 0.12.0 pyhd8ed1ab_0",
|
| 177 |
+
"lz4-c 1.10.0 h5888daf_1",
|
| 178 |
+
"typer-slim 0.20.0 pyhcf101f3_1",
|
| 179 |
+
"brotli-python 1.2.0 py312hdb49522_1",
|
| 180 |
+
"py-lief 0.16.6 py312h1289d80_1",
|
| 181 |
+
"libxml2 2.15.1 h26afc86_0",
|
| 182 |
+
"libpng 1.6.53 h421ea60_0",
|
| 183 |
+
"xz-tools 5.8.1 hb9d3cd8_2",
|
| 184 |
+
"backports.zstd 1.2.0 py312h90b7ffd_0",
|
| 185 |
+
"attrs 25.4.0 pyhcf101f3_1",
|
| 186 |
+
"pycparser 2.22 pyh29332c3_1",
|
| 187 |
+
"libiconv 1.18 h3b78370_2",
|
| 188 |
+
"libssh2 1.11.1 hcf80075_0",
|
| 189 |
+
"menuinst 2.4.2 py312h7900ff3_0",
|
| 190 |
+
"typing-extensions 4.15.0 h396c80c_0",
|
| 191 |
+
"shellingham 1.5.4 pyhd8ed1ab_2",
|
| 192 |
+
"pydantic-core 2.41.5 py312h868fb18_1",
|
| 193 |
+
"click 8.3.1 pyh8f84b5b_1",
|
| 194 |
+
"mdurl 0.1.2 pyhd8ed1ab_1",
|
| 195 |
+
"pcre2 10.47 haa7fec5_0",
|
| 196 |
+
"pydantic 2.12.5 pyhcf101f3_1",
|
| 197 |
+
"pydantic-settings 2.12.0 pyh3cfb1c2_0",
|
| 198 |
+
"packaging 25.0 pyh29332c3_1",
|
| 199 |
+
"liblzma 5.8.1 hb9d3cd8_2",
|
| 200 |
+
"libexpat 2.7.3 hecca717_0",
|
| 201 |
+
"nlohmann_json-abi 3.12.0 h0f90c79_1",
|
| 202 |
+
"tk 8.6.13 noxft_ha0e22de_103",
|
| 203 |
+
"jinja2 3.1.6 pyhcf101f3_1",
|
| 204 |
+
"colorama 0.4.6 pyhd8ed1ab_1",
|
| 205 |
+
"libsolv 0.7.35 h9463b59_0",
|
| 206 |
+
"libarchive 3.8.2 gpl_h7be2006_100",
|
| 207 |
+
"yaml-cpp 0.8.0 h59595ed_0",
|
| 208 |
+
"libffi 3.5.2 h9ec8514_0",
|
| 209 |
+
"pillow 12.0.0 py312h50c33e8_2",
|
| 210 |
+
"oniguruma 6.9.10 hb9d3cd8_0",
|
| 211 |
+
"jq 1.8.1 h73b1eb8_0",
|
| 212 |
+
"deprecated 1.3.1 pyhd8ed1ab_0",
|
| 213 |
+
"conda-oci-mirror 0.2.3 pyhd8ed1ab_0",
|
| 214 |
+
"conda-forge-metadata 0.12.0 pyhcf101f3_1",
|
| 215 |
+
"rattler-build 0.54.0 he64ecbb_0",
|
| 216 |
+
"oras-py 0.1.14 pyhd8ed1ab_0",
|
| 217 |
+
"conda-forge-ci-setup 4.23.2 py312hef7310e_100",
|
| 218 |
+
"conda-env 2.6.0 1",
|
| 219 |
+
"shyaml 0.6.2 pyhd3deb0d_0",
|
| 220 |
+
"wrapt 1.17.3 py312h4c3975b_1",
|
| 221 |
+
"rattler-build-conda-compat 1.4.10 pyhd8ed1ab_0",
|
| 222 |
+
"joblib 1.5.3 pyhd8ed1ab_0"
|
| 223 |
+
],
|
| 224 |
+
"summary": "Metapackage to select the BLAS variant. Use conda's pinning mechanism in your environment to control which variant you want.",
|
| 225 |
+
"tags": []
|
| 226 |
+
}
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/files
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
lib/libcblas.so
|
| 2 |
+
lib/libcblas.so.3
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/git
ADDED
|
File without changes
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/hash_input.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"channel_targets": "conda-forge main",
|
| 3 |
+
"libcblas": "3.9.* *netlib",
|
| 4 |
+
"blas_default_impl": "openblas",
|
| 5 |
+
"blas_impl_lib": "libopenblas.so.0",
|
| 6 |
+
"lapack_impl_lib": "libopenblas.so.0",
|
| 7 |
+
"blas_impl": "openblas",
|
| 8 |
+
"libblas": "3.9.* *netlib",
|
| 9 |
+
"target_platform": "linux-64"
|
| 10 |
+
}
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/index.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"arch": "x86_64",
|
| 3 |
+
"build": "5_h0358290_openblas",
|
| 4 |
+
"build_number": 5,
|
| 5 |
+
"constrains": [
|
| 6 |
+
"liblapacke 3.11.0 5*_openblas",
|
| 7 |
+
"blas 2.305 openblas",
|
| 8 |
+
"liblapack 3.11.0 5*_openblas"
|
| 9 |
+
],
|
| 10 |
+
"depends": [
|
| 11 |
+
"libblas 3.11.0 5_h4a7cf45_openblas"
|
| 12 |
+
],
|
| 13 |
+
"license": "BSD-3-Clause",
|
| 14 |
+
"name": "libcblas",
|
| 15 |
+
"platform": "linux",
|
| 16 |
+
"subdir": "linux-64",
|
| 17 |
+
"timestamp": 1765818837135,
|
| 18 |
+
"version": "3.11.0"
|
| 19 |
+
}
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/licenses/LICENSE.txt
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
BSD 3-clause license
|
| 2 |
+
Copyright (c) 2015-2019, conda-forge
|
| 3 |
+
All rights reserved.
|
| 4 |
+
|
| 5 |
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
| 6 |
+
|
| 7 |
+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
| 8 |
+
|
| 9 |
+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
| 10 |
+
|
| 11 |
+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
| 12 |
+
|
| 13 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/paths.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paths": [
|
| 3 |
+
{
|
| 4 |
+
"_path": "lib/libcblas.so",
|
| 5 |
+
"path_type": "softlink",
|
| 6 |
+
"sha256": "94d942d497d393cceb62aa5e5b237f3a3136dff823e2535e839209334ce5511e",
|
| 7 |
+
"size_in_bytes": 41424320
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"_path": "lib/libcblas.so.3",
|
| 11 |
+
"path_type": "softlink",
|
| 12 |
+
"sha256": "94d942d497d393cceb62aa5e5b237f3a3136dff823e2535e839209334ce5511e",
|
| 13 |
+
"size_in_bytes": 41424320
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"paths_version": 1
|
| 17 |
+
}
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/build_pkg.sh
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
if [[ "${PKG_NAME}" == "liblapack" || "${PKG_NAME}" == "liblapacke" ]]; then
|
| 2 |
+
impl_lib="${lapack_impl_lib}"
|
| 3 |
+
else
|
| 4 |
+
impl_lib="${blas_impl_lib}"
|
| 5 |
+
fi
|
| 6 |
+
|
| 7 |
+
if [[ "$blas_impl" == *"accelerate" && "${PKG_NAME}" == "libblas" ]]; then
|
| 8 |
+
cp $SRC_DIR/accelerate/* $PREFIX/lib/
|
| 9 |
+
fi
|
| 10 |
+
|
| 11 |
+
if [[ "$target_platform" == osx-* ]]; then
|
| 12 |
+
ln -s $PREFIX/lib/${impl_lib} $PREFIX/lib/${PKG_NAME}.${PKG_VERSION:0:1}.dylib
|
| 13 |
+
else
|
| 14 |
+
ln -s $PREFIX/lib/${impl_lib} $PREFIX/lib/${PKG_NAME}.so.${PKG_VERSION:0:1}
|
| 15 |
+
fi
|
| 16 |
+
ln -s $PREFIX/lib/${impl_lib} $PREFIX/lib/${PKG_NAME}${SHLIB_EXT}
|
| 17 |
+
|
| 18 |
+
if [[ "${blas_impl}" == "mkl" ]]; then
|
| 19 |
+
for CHANGE in "activate" "deactivate"
|
| 20 |
+
do
|
| 21 |
+
mkdir -p "${PREFIX}/etc/conda/${CHANGE}.d"
|
| 22 |
+
cp "${RECIPE_DIR}/libblas_mkl_${CHANGE}.sh" "${PREFIX}/etc/conda/${CHANGE}.d/libblas_mkl_${CHANGE}.sh"
|
| 23 |
+
done
|
| 24 |
+
fi
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/conda_build_config.yaml
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
CI: azure
|
| 2 |
+
blas_default_impl: openblas
|
| 3 |
+
blas_impl: openblas
|
| 4 |
+
blas_impl_lib: libopenblas.so.0
|
| 5 |
+
c_compiler: gcc
|
| 6 |
+
c_compiler_version: '14'
|
| 7 |
+
c_stdlib: sysroot
|
| 8 |
+
c_stdlib_version: '2.17'
|
| 9 |
+
channel_sources: conda-forge
|
| 10 |
+
channel_targets: conda-forge main
|
| 11 |
+
cpu_optimization_target: nocona
|
| 12 |
+
cran_mirror: https://cran.r-project.org
|
| 13 |
+
cxx_compiler: gxx
|
| 14 |
+
docker_image: quay.io/condaforge/linux-anvil-x86_64:alma9
|
| 15 |
+
extend_keys:
|
| 16 |
+
- extend_keys
|
| 17 |
+
- ignore_version
|
| 18 |
+
- ignore_build_only_deps
|
| 19 |
+
- pin_run_as_build
|
| 20 |
+
fortran_compiler: gfortran
|
| 21 |
+
fortran_compiler_version: '14'
|
| 22 |
+
ignore_build_only_deps:
|
| 23 |
+
- numpy
|
| 24 |
+
- python
|
| 25 |
+
lapack_impl_lib: libopenblas.so.0
|
| 26 |
+
libblas: 3.9.* *netlib
|
| 27 |
+
libcblas: 3.9.* *netlib
|
| 28 |
+
liblapack: 3.9.* *netlib
|
| 29 |
+
liblapacke: 3.9.* *netlib
|
| 30 |
+
lua: '5'
|
| 31 |
+
numpy: '2'
|
| 32 |
+
openblas: 0.3.*
|
| 33 |
+
perl: 5.26.2
|
| 34 |
+
pin_run_as_build:
|
| 35 |
+
python:
|
| 36 |
+
max_pin: x.x
|
| 37 |
+
min_pin: x.x
|
| 38 |
+
r-base:
|
| 39 |
+
max_pin: x.x
|
| 40 |
+
min_pin: x.x
|
| 41 |
+
python: '3.12'
|
| 42 |
+
r_base: '3.5'
|
| 43 |
+
target_platform: linux-64
|
| 44 |
+
zip_keys:
|
| 45 |
+
- - c_compiler_version
|
| 46 |
+
- fortran_compiler_version
|
| 47 |
+
- - blas_impl
|
| 48 |
+
- blas_impl_lib
|
| 49 |
+
- lapack_impl_lib
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/meta.yaml
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This file created by conda-build 25.11.1
|
| 2 |
+
# ------------------------------------------------
|
| 3 |
+
|
| 4 |
+
package:
|
| 5 |
+
name: libcblas
|
| 6 |
+
version: 3.11.0
|
| 7 |
+
source:
|
| 8 |
+
- url: https://github.com/Reference-LAPACK/lapack/archive/v3.11.0.tar.gz
|
| 9 |
+
sha256: 4b9ba79bfd4921ca820e83979db76ab3363155709444a787979e81c22285ffa9
|
| 10 |
+
patches:
|
| 11 |
+
- patches/0001-Test-BLAS-and-LAPACKE-in-addition-to-LAPACK.patch
|
| 12 |
+
- patches/0002-read-pipe-as-binary.patch
|
| 13 |
+
- patches/0003-add-DLL-import-export-machinery-for-RowMajorStrg.patch
|
| 14 |
+
- patches/0004-fixed-bug-in-array-bounds-in-complex-syl01-test.patch
|
| 15 |
+
- patches/0005-Use-dynamic-allocation-in-SYL01-tests.patch
|
| 16 |
+
- url: https://github.com/isuruf/vecLibFort/archive/99af8640e98c829b41c3235e3706760cd5696fe4.tar.gz
|
| 17 |
+
sha256: 80de7c6e83d1d84d016b4cb299f2c15f5a82b9d36865dd5c16bf221fe9a303ad
|
| 18 |
+
folder: vecLibFort
|
| 19 |
+
build:
|
| 20 |
+
string: 5_h0358290_openblas
|
| 21 |
+
run_exports:
|
| 22 |
+
- libcblas >=3.11.0,<4.0a0
|
| 23 |
+
track_features: null
|
| 24 |
+
number: 5
|
| 25 |
+
requirements:
|
| 26 |
+
host:
|
| 27 |
+
- _libgcc_mutex 0.1 conda_forge
|
| 28 |
+
- _openmp_mutex 4.5 2_gnu
|
| 29 |
+
- libblas 3.11.0 5*_openblas
|
| 30 |
+
- libgcc 15.2.0 he0feb66_16
|
| 31 |
+
- libgfortran 15.2.0 h69a702a_16
|
| 32 |
+
- libgfortran5 15.2.0 h68bc16d_16
|
| 33 |
+
- libgomp 15.2.0 he0feb66_16
|
| 34 |
+
- libopenblas 0.3.30 pthreads_h94d23a6_4
|
| 35 |
+
run:
|
| 36 |
+
- libblas 3.11.0 5_h4a7cf45_openblas
|
| 37 |
+
run_constrained:
|
| 38 |
+
- blas 2.305 openblas
|
| 39 |
+
- liblapack 3.11.0 5*_openblas
|
| 40 |
+
- liblapacke 3.11.0 5*_openblas
|
| 41 |
+
test:
|
| 42 |
+
commands:
|
| 43 |
+
- test -f $PREFIX/lib/libcblas.so.3
|
| 44 |
+
about:
|
| 45 |
+
home: https://github.com/conda-forge/blas-feedstock
|
| 46 |
+
license: BSD-3-Clause
|
| 47 |
+
license_file:
|
| 48 |
+
- LICENSE.txt
|
| 49 |
+
summary: Metapackage to select the BLAS variant. Use conda's pinning mechanism in
|
| 50 |
+
your environment to control which variant you want.
|
| 51 |
+
extra:
|
| 52 |
+
recipe-maintainers:
|
| 53 |
+
- h-vetinari
|
| 54 |
+
- isuruf
|
| 55 |
+
- jakirkham
|
| 56 |
+
- ocefpaf
|
| 57 |
+
- pelson
|
| 58 |
+
feedstock-name: blas
|
| 59 |
+
final: true
|
| 60 |
+
copy_test_source_files: true
|
| 61 |
+
flow_run_id: azure_20251215.1.1
|
| 62 |
+
remote_url: https://github.com/conda-forge/blas-feedstock
|
| 63 |
+
sha: 07336ee86d260d88e0a29df57c2fad3bfccee685
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/LICENSE.txt
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
BSD 3-clause license
|
| 2 |
+
Copyright (c) 2015-2019, conda-forge
|
| 3 |
+
All rights reserved.
|
| 4 |
+
|
| 5 |
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
| 6 |
+
|
| 7 |
+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
| 8 |
+
|
| 9 |
+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
| 10 |
+
|
| 11 |
+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
| 12 |
+
|
| 13 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/bld.bat
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@echo on
|
| 2 |
+
setlocal enabledelayedexpansion
|
| 3 |
+
|
| 4 |
+
:: delete existing LLVM setup in image that often gets higher precedence, see
|
| 5 |
+
:: https://github.com/conda-forge/conda-forge-ci-setup-feedstock/pull/408
|
| 6 |
+
rmdir /s /q "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm"
|
| 7 |
+
rmdir /s /q "C:\Program Files\LLVM\bin"
|
| 8 |
+
|
| 9 |
+
mkdir build
|
| 10 |
+
cd build
|
| 11 |
+
|
| 12 |
+
set "NEW_ENV=%cd%\_env"
|
| 13 |
+
|
| 14 |
+
set "LIBRARY_PREFIX=%NEW_ENV%\Library"
|
| 15 |
+
:: For finding cmake (not in NEW_ENV but actual build env)
|
| 16 |
+
set "PATH=%PATH%:%BUILD_PREFIX%\Library\bin"
|
| 17 |
+
|
| 18 |
+
set "CPATH=%LIBRARY_PREFIX%\include"
|
| 19 |
+
set "LIBRARY_PATH==%LIBRARY_PREFIX%\lib"
|
| 20 |
+
|
| 21 |
+
set "CFLAGS=-I%LIBRARY_PREFIX%\include %CFLAGS%"
|
| 22 |
+
set "FFLAGS=-I%LIBRARY_PREFIX%\include %FFLAGS%"
|
| 23 |
+
set "LDFLAGS=/LIBPATH:%LIBRARY_PREFIX%\lib %LDFLAGS%"
|
| 24 |
+
|
| 25 |
+
set "PYTHON_EXEC=%BUILD_PREFIX%\python.exe"
|
| 26 |
+
|
| 27 |
+
%MINIFORGE_HOME%\Scripts\conda.exe create -p %NEW_ENV% --yes --quiet ^
|
| 28 |
+
libblas=%PKG_VERSION%=*netlib ^
|
| 29 |
+
libcblas=%PKG_VERSION%=*netlib ^
|
| 30 |
+
liblapack=%PKG_VERSION%=*netlib ^
|
| 31 |
+
liblapacke=%PKG_VERSION%=*netlib ^
|
| 32 |
+
flang_win-64=%fortran_compiler_version%
|
| 33 |
+
if %ERRORLEVEL% neq 0 exit 1
|
| 34 |
+
|
| 35 |
+
:: default activation for clang-windows uses clang.exe, not clang-cl.exe, see
|
| 36 |
+
:: https://github.com/conda-forge/clang-win-activation-feedstock/pull/48
|
| 37 |
+
:: clang.exe cannot handle /LIBPATH: in LDFLAGS, but we need that for lld-link
|
| 38 |
+
set "CC=clang-cl.exe"
|
| 39 |
+
|
| 40 |
+
:: the list of allowed starting letters of the symbol is a crude way to filter out things like
|
| 41 |
+
:: fprintf, which should not have been exported in netlib libraries - probably a flang bug
|
| 42 |
+
set "FILTER=^[cdilsxzCRL]"
|
| 43 |
+
|
| 44 |
+
:: positional arguments are `create-forwarder-dll [input] [output]`; in our case, we have three libraries at play;
|
| 45 |
+
:: `input` is the netlib implementation in %NEW_ENV% which provides us the list of symbols we need to replicate
|
| 46 |
+
:: (modulo the filter above), `output` is the DLL forwarder we're creating, and the actual implementation of those
|
| 47 |
+
:: symbols (which we need to encode in the forwarder) is the `--implementing-dll-name` that varies per flavour
|
| 48 |
+
create-forwarder-dll "%NEW_ENV%\Library\bin\libblas.dll" "%LIBRARY_BIN%\libblas.dll" --implementing-dll-name=%blas_impl_lib% --no-temp-dir --symbol-filter-regex="%FILTER%"
|
| 49 |
+
if %ERRORLEVEL% neq 0 exit 1
|
| 50 |
+
create-forwarder-dll "%NEW_ENV%\Library\bin\libcblas.dll" "%LIBRARY_BIN%\libcblas.dll" --implementing-dll-name=%blas_impl_lib% --no-temp-dir --symbol-filter-regex="%FILTER%"
|
| 51 |
+
if %ERRORLEVEL% neq 0 exit 1
|
| 52 |
+
if not "%lapack_impl_lib%"=="notapplicable" (
|
| 53 |
+
create-forwarder-dll "%NEW_ENV%\Library\bin\liblapack.dll" "%LIBRARY_BIN%\liblapack.dll" --implementing-dll-name=%lapack_impl_lib% --no-temp-dir --symbol-filter-regex="%FILTER%"
|
| 54 |
+
REM needs delayed expansion to work correctly
|
| 55 |
+
if !ERRORLEVEL! neq 0 exit 1
|
| 56 |
+
create-forwarder-dll "%NEW_ENV%\Library\bin\liblapacke.dll" "%LIBRARY_BIN%\liblapacke.dll" --implementing-dll-name=%lapack_impl_lib% --no-temp-dir --symbol-filter-regex="%FILTER%"
|
| 57 |
+
if !ERRORLEVEL! neq 0 exit 1
|
| 58 |
+
)
|
| 59 |
+
|
| 60 |
+
:: Link against the netlib libraries
|
| 61 |
+
cmake -LAH -G Ninja .. ^
|
| 62 |
+
"-DBLAS_LIBRARIES=blas.lib;cblas.lib" ^
|
| 63 |
+
"-DLAPACK_LIBRARIES=lapack.lib;lapacke.lib" ^
|
| 64 |
+
-DBUILD_TESTING=yes ^
|
| 65 |
+
-DPYTHON_EXECUTABLE=%PYTHON_EXEC% ^
|
| 66 |
+
-DCMAKE_BUILD_TYPE=Release
|
| 67 |
+
if %ERRORLEVEL% neq 0 (type .\CMakeFiles\CMakeError.log && type .\CMakeFiles\CMakeOutput.log && exit 1)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+
|
| 4 |
+
mkdir build
|
| 5 |
+
cd build
|
| 6 |
+
|
| 7 |
+
export NEW_ENV=`pwd`/_env
|
| 8 |
+
export LIBRARY_PREFIX=$NEW_ENV
|
| 9 |
+
|
| 10 |
+
export FFLAGS="-I${LIBRARY_PREFIX}/include $FFLAGS"
|
| 11 |
+
export LDFLAGS="-L${LIBRARY_PREFIX}/lib -Wl,-rpath,${LIBRARY_PREFIX}/lib $LDFLAGS"
|
| 12 |
+
|
| 13 |
+
export CPATH="${LIBRARY_PREFIX}/include"
|
| 14 |
+
export LIBRARY_PATH="${LIBRARY_PREFIX}/lib"
|
| 15 |
+
|
| 16 |
+
export PYTHON_EXEC=$BUILD_PREFIX/bin/python
|
| 17 |
+
|
| 18 |
+
export CONDA_SUBDIR="${target_platform}"
|
| 19 |
+
conda create -p ${NEW_ENV} --yes --quiet \
|
| 20 |
+
libblas=${PKG_VERSION}=*netlib \
|
| 21 |
+
libcblas=${PKG_VERSION}=*netlib \
|
| 22 |
+
liblapack=${PKG_VERSION}=*netlib \
|
| 23 |
+
liblapacke=${PKG_VERSION}=*netlib \
|
| 24 |
+
${fortran_compiler}_${target_platform}=${fortran_compiler_version}
|
| 25 |
+
unset CONDA_SUBDIR
|
| 26 |
+
|
| 27 |
+
# Link against the netlib libraries
|
| 28 |
+
cmake ${CMAKE_ARGS} -LAH -G "${CMAKE_GENERATOR}" .. \
|
| 29 |
+
"-DBLAS_LIBRARIES=libblas${SHLIB_EXT};libcblas${SHLIB_EXT}" \
|
| 30 |
+
"-DLAPACK_LIBRARIES=liblapack${SHLIB_EXT};liblapacke${SHLIB_EXT}" \
|
| 31 |
+
-DBUILD_TESTING=yes \
|
| 32 |
+
-DPYTHON_EXECUTABLE=$PYTHON_EXEC \
|
| 33 |
+
-DCMAKE_BUILD_TYPE=Release \
|
| 34 |
+
|| (cat $SRC_DIR/build/CMakeFiles/CMakeError.log && $SRC_DIR/build/CMakeFiles/CMakeOutput.log && exit 1)
|
| 35 |
+
|
| 36 |
+
cmake --build . --config Release --parallel ${CPU_COUNT}
|
| 37 |
+
|
| 38 |
+
if [[ "$blas_impl" == "accelerate" ]]; then
|
| 39 |
+
mkdir -p $SRC_DIR/accelerate
|
| 40 |
+
cp $NEW_ENV/lib/liblapack.dylib $SRC_DIR/accelerate/liblapack-netlib.${PKG_VERSION}.dylib
|
| 41 |
+
cp $NEW_ENV/lib/liblapacke.dylib $SRC_DIR/accelerate/liblapacke-netlib.${PKG_VERSION}.dylib
|
| 42 |
+
$INSTALL_NAME_TOOL -id "@rpath/liblapack-netlib.${PKG_VERSION}.dylib" $SRC_DIR/accelerate/liblapack-netlib.${PKG_VERSION}.dylib
|
| 43 |
+
$INSTALL_NAME_TOOL -id "@rpath/liblapacke-netlib.${PKG_VERSION}.dylib" $SRC_DIR/accelerate/liblapacke-netlib.${PKG_VERSION}.dylib
|
| 44 |
+
|
| 45 |
+
veclib_loc=$SDKROOT/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A
|
| 46 |
+
if [[ -f ${veclib_loc}/libBLAS.dylib ]]; then
|
| 47 |
+
veclib_libblas="${veclib_loc}/libBLAS.dylib"
|
| 48 |
+
else
|
| 49 |
+
veclib_libblas="${veclib_loc}/libBLAS.tbd"
|
| 50 |
+
fi
|
| 51 |
+
|
| 52 |
+
export LDFLAGS="${LDFLAGS/-Wl,-dead_strip_dylibs/}"
|
| 53 |
+
|
| 54 |
+
$CC ${CFLAGS} -O3 -c -o vecLibFort.o $SRC_DIR/vecLibFort/vecLibFort.c
|
| 55 |
+
$CC -shared -o libvecLibFort-ng.dylib \
|
| 56 |
+
vecLibFort.o \
|
| 57 |
+
${LDFLAGS} \
|
| 58 |
+
-Wl,-reexport_library,${veclib_libblas} \
|
| 59 |
+
-Wl,-reexport_library,$SRC_DIR/accelerate/liblapack-netlib.${PKG_VERSION}.dylib \
|
| 60 |
+
-Wl,-reexport_library,$SRC_DIR/accelerate/liblapacke-netlib.${PKG_VERSION}.dylib
|
| 61 |
+
|
| 62 |
+
cp libvecLibFort-ng.dylib $SRC_DIR/accelerate/
|
| 63 |
+
|
| 64 |
+
elif [[ "$blas_impl" == "newaccelerate" ]]; then
|
| 65 |
+
# New Accelerate libraries have all symbols in BLAS, CBLAS, LAPACK with $NEWLAPACK
|
| 66 |
+
# name appended to all the symbol names. Therefore we create a library that dispatches
|
| 67 |
+
# eg: _dgemm -> _dgemm$NEWLAPACK with aliases.txt
|
| 68 |
+
#
|
| 69 |
+
# One exception to this is {c,z}dot{u,c}_ symbols which have different signatures.
|
| 70 |
+
# We use wrap_accelerate.c to fix those.
|
| 71 |
+
#
|
| 72 |
+
# For LAPACKE symbols, we use the LAPACKE wrappers from netlib which will call
|
| 73 |
+
# the LAPACK symbols from Accelerate.
|
| 74 |
+
#
|
| 75 |
+
# All of these are exported from libblas_reexport.dylib
|
| 76 |
+
|
| 77 |
+
mkdir -p $SRC_DIR/accelerate
|
| 78 |
+
cp $NEW_ENV/lib/liblapacke.dylib $SRC_DIR/accelerate/liblapacke-netlib.${PKG_VERSION}.dylib
|
| 79 |
+
$INSTALL_NAME_TOOL -id "@rpath/liblapacke-netlib.${PKG_VERSION}.dylib" $SRC_DIR/accelerate/liblapacke-netlib.${PKG_VERSION}.dylib
|
| 80 |
+
|
| 81 |
+
veclib_loc=$SDKROOT/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A
|
| 82 |
+
veclib_libblas="${veclib_loc}/libBLAS.tbd"
|
| 83 |
+
veclib_liblapack="${veclib_loc}/libLAPACK.tbd"
|
| 84 |
+
if [[ ! -f ${veclib_loc}/libLAPACK.tbd ]]; then
|
| 85 |
+
echo "could not find TBD file ${veclib_loc}/libLAPACK.tbd"
|
| 86 |
+
exit 1
|
| 87 |
+
fi
|
| 88 |
+
|
| 89 |
+
export LDFLAGS="${LDFLAGS/-Wl,-dead_strip_dylibs/}"
|
| 90 |
+
|
| 91 |
+
for f in $veclib_libblas $veclib_liblapack; do
|
| 92 |
+
symbols=$(cat $f | grep -o '[a-z0-9_]*$NEWLAPACK' | rev | cut -b 11- | rev | sort | uniq)
|
| 93 |
+
for symbol in $symbols; do
|
| 94 |
+
if [[ "$symbol" != "_appleblas"* && "$symbol" != "_catlas"* && "$symbol" != "roc" && "$symbol" != "_cdot"* && "$symbol" != "_zdot"* ]]; then
|
| 95 |
+
echo $symbol'$NEWLAPACK' ${symbol} >> aliases.txt
|
| 96 |
+
if [[ "$symbol" != "cblas"* ]]; then
|
| 97 |
+
# Add _dgemm_ alias in addition to _dgemm
|
| 98 |
+
echo $symbol'$NEWLAPACK' ${symbol}_ >> aliases.txt
|
| 99 |
+
fi
|
| 100 |
+
fi
|
| 101 |
+
done
|
| 102 |
+
done
|
| 103 |
+
# These are defined in wrap_accelerate.c. Add a alias with the trailing underscore.
|
| 104 |
+
# Leading underscore is because of C name mangling in macOS.
|
| 105 |
+
echo _cdotu _cdotu_ >> aliases.txt
|
| 106 |
+
echo _cdotc _cdotc_ >> aliases.txt
|
| 107 |
+
echo _zdotu _zdotu_ >> aliases.txt
|
| 108 |
+
echo _zdotc _zdotc_ >> aliases.txt
|
| 109 |
+
echo _cladiv _cladiv_ >> aliases.txt
|
| 110 |
+
echo _zladiv _zladiv_ >> aliases.txt
|
| 111 |
+
cat aliases.txt
|
| 112 |
+
|
| 113 |
+
$CC ${CFLAGS} -O3 -c -o wrap_accelerate.o ${RECIPE_DIR}/wrap_accelerate.c
|
| 114 |
+
OBJECTS="wrap_accelerate.o"
|
| 115 |
+
# These timing utility functions, lsame, dcabs1 are not in accelerate
|
| 116 |
+
for utilf in INSTALL/second_INT_ETIME.f INSTALL/dsecnd_INT_ETIME.f BLAS/SRC/lsame.f BLAS/SRC/dcabs1.f SRC/xerbla_array.f; do
|
| 117 |
+
$FC ${FFLAGS} -O3 -c ${SRC_DIR}/${utilf} -o util_$(basename ${utilf}).o
|
| 118 |
+
OBJECTS="${OBJECTS} util_$(basename $utilf).o"
|
| 119 |
+
done
|
| 120 |
+
$CC -shared -o libblas_reexport.dylib \
|
| 121 |
+
${OBJECTS} \
|
| 122 |
+
${LDFLAGS} \
|
| 123 |
+
-lgfortran \
|
| 124 |
+
-Wl,-alias_list,${PWD}/aliases.txt \
|
| 125 |
+
-Wl,-reexport_library,$SRC_DIR/accelerate/liblapacke-netlib.${PKG_VERSION}.dylib \
|
| 126 |
+
-framework Accelerate
|
| 127 |
+
|
| 128 |
+
cp libblas_reexport.dylib $SRC_DIR/accelerate/
|
| 129 |
+
fi
|
| 130 |
+
|
| 131 |
+
rm -rf ${NEW_ENV}
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/build_pkg.bat
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
copy "%SRC_DIR%\\build\\%PKG_NAME%.dll" "%LIBRARY_BIN%\\%PKG_NAME%.dll"
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/build_pkg.sh
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
if [[ "${PKG_NAME}" == "liblapack" || "${PKG_NAME}" == "liblapacke" ]]; then
|
| 2 |
+
impl_lib="${lapack_impl_lib}"
|
| 3 |
+
else
|
| 4 |
+
impl_lib="${blas_impl_lib}"
|
| 5 |
+
fi
|
| 6 |
+
|
| 7 |
+
if [[ "$blas_impl" == *"accelerate" && "${PKG_NAME}" == "libblas" ]]; then
|
| 8 |
+
cp $SRC_DIR/accelerate/* $PREFIX/lib/
|
| 9 |
+
fi
|
| 10 |
+
|
| 11 |
+
if [[ "$target_platform" == osx-* ]]; then
|
| 12 |
+
ln -s $PREFIX/lib/${impl_lib} $PREFIX/lib/${PKG_NAME}.${PKG_VERSION:0:1}.dylib
|
| 13 |
+
else
|
| 14 |
+
ln -s $PREFIX/lib/${impl_lib} $PREFIX/lib/${PKG_NAME}.so.${PKG_VERSION:0:1}
|
| 15 |
+
fi
|
| 16 |
+
ln -s $PREFIX/lib/${impl_lib} $PREFIX/lib/${PKG_NAME}${SHLIB_EXT}
|
| 17 |
+
|
| 18 |
+
if [[ "${blas_impl}" == "mkl" ]]; then
|
| 19 |
+
for CHANGE in "activate" "deactivate"
|
| 20 |
+
do
|
| 21 |
+
mkdir -p "${PREFIX}/etc/conda/${CHANGE}.d"
|
| 22 |
+
cp "${RECIPE_DIR}/libblas_mkl_${CHANGE}.sh" "${PREFIX}/etc/conda/${CHANGE}.d/libblas_mkl_${CHANGE}.sh"
|
| 23 |
+
done
|
| 24 |
+
fi
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/conda_build_config.yaml
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
c_compiler: # [win]
|
| 2 |
+
- clang # [win]
|
| 3 |
+
cxx_compiler: # [win]
|
| 4 |
+
- clangxx # [win]
|
| 5 |
+
|
| 6 |
+
blas_impl:
|
| 7 |
+
- openblas
|
| 8 |
+
- openblas # [win]
|
| 9 |
+
- mkl # [x86_64 and not osx]
|
| 10 |
+
- blis # [x86_64]
|
| 11 |
+
- accelerate # [osx]
|
| 12 |
+
- newaccelerate # [osx]
|
| 13 |
+
- nvpl # [linux and aarch64]
|
| 14 |
+
|
| 15 |
+
blas_impl_lib:
|
| 16 |
+
- libopenblas.so.0 # [linux]
|
| 17 |
+
- libopenblas.0.dylib # [osx]
|
| 18 |
+
- openblas.dll # [win]
|
| 19 |
+
- openblas.dll # [win]
|
| 20 |
+
|
| 21 |
+
- libmkl_rt.so # [linux64]
|
| 22 |
+
- mkl_rt.2.dll # [win64]
|
| 23 |
+
|
| 24 |
+
- libblis.so.4 # [linux64]
|
| 25 |
+
- libblis.4.dylib # [osx and x86_64]
|
| 26 |
+
- libblis.4.dll # [win64]
|
| 27 |
+
|
| 28 |
+
- libvecLibFort-ng.dylib # [osx]
|
| 29 |
+
- libblas_reexport.dylib # [osx]
|
| 30 |
+
|
| 31 |
+
# An ilp64 NVPL ABIs is available, but not compatible with this package (lp64).
|
| 32 |
+
- libnvpl_blas_lp64_gomp.so.0 # [linux and aarch64]
|
| 33 |
+
|
| 34 |
+
lapack_impl_lib:
|
| 35 |
+
- libopenblas.so.0 # [linux]
|
| 36 |
+
- libopenblas.0.dylib # [osx]
|
| 37 |
+
- openblas.dll # [win]
|
| 38 |
+
- openblas.dll # [win]
|
| 39 |
+
|
| 40 |
+
- libmkl_rt.so # [linux64]
|
| 41 |
+
- mkl_rt.2.dll # [win64]
|
| 42 |
+
|
| 43 |
+
- notapplicable # [linux64]
|
| 44 |
+
- notapplicable # [osx and x86_64]
|
| 45 |
+
- notapplicable # [win64]
|
| 46 |
+
|
| 47 |
+
- libvecLibFort-ng.dylib # [osx]
|
| 48 |
+
- libblas_reexport.dylib # [osx]
|
| 49 |
+
|
| 50 |
+
# An ilp64 NVPL ABIs is available, but not compatible with this package (lp64).
|
| 51 |
+
- libnvpl_lapack_lp64_gomp.so.0 # [linux and aarch64]
|
| 52 |
+
|
| 53 |
+
blas_default_impl:
|
| 54 |
+
- openblas # [not win]
|
| 55 |
+
- mkl # [win]
|
| 56 |
+
|
| 57 |
+
MACOSX_SDK_VERSION:
|
| 58 |
+
# openblas
|
| 59 |
+
- 10.13 # [osx and x86_64]
|
| 60 |
+
- 11.0 # [osx and arm64]
|
| 61 |
+
# blis
|
| 62 |
+
- 10.13 # [osx and x86_64]
|
| 63 |
+
# accelerate
|
| 64 |
+
- 10.13 # [osx and x86_64]
|
| 65 |
+
- 11.0 # [osx and arm64]
|
| 66 |
+
# newaccelerate
|
| 67 |
+
- 15.5 # [osx]
|
| 68 |
+
|
| 69 |
+
zip_keys:
|
| 70 |
+
-
|
| 71 |
+
- blas_impl
|
| 72 |
+
- blas_impl_lib
|
| 73 |
+
- lapack_impl_lib
|
| 74 |
+
- MACOSX_SDK_VERSION # [osx]
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/install_blas_devel.sh
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
if [[ "$blas_impl" == "openblas" ]]; then
|
| 2 |
+
ln -s $PREFIX/lib/pkgconfig/openblas.pc $PREFIX/lib/pkgconfig/blas.pc
|
| 3 |
+
ln -s $PREFIX/lib/pkgconfig/openblas.pc $PREFIX/lib/pkgconfig/cblas.pc
|
| 4 |
+
ln -s $PREFIX/lib/pkgconfig/openblas.pc $PREFIX/lib/pkgconfig/lapack.pc
|
| 5 |
+
fi
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/libblas_mkl_activate.sh
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export CONDA_MKL_INTERFACE_LAYER_BACKUP=${MKL_INTERFACE_LAYER-}
|
| 2 |
+
export MKL_INTERFACE_LAYER=LP64,GNU
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/libblas_mkl_deactivate.sh
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
if [ "${CONDA_MKL_INTERFACE_LAYER_BACKUP}" = "" ]
|
| 2 |
+
then
|
| 3 |
+
unset MKL_INTERFACE_LAYER
|
| 4 |
+
else
|
| 5 |
+
export MKL_INTERFACE_LAYER=${CONDA_MKL_INTERFACE_LAYER_BACKUP}
|
| 6 |
+
fi
|
| 7 |
+
unset CONDA_MKL_INTERFACE_LAYER_BACKUP
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/meta.yaml
ADDED
|
@@ -0,0 +1,340 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% set version = "3.11.0" %}
|
| 2 |
+
# if build_num is reset to 0 (for new version), update increment for blas_minor below
|
| 3 |
+
{% set build_num = 5 %}
|
| 4 |
+
|
| 5 |
+
{% set version_major = version.split(".")[0] %}
|
| 6 |
+
{% set version_minor = version.split(".")[1] %}
|
| 7 |
+
# blas_major denotes major infrastructural change to how blas is managed
|
| 8 |
+
{% set blas_major = "2" %}
|
| 9 |
+
# make sure we do not create colliding version strings of output "blas"
|
| 10 |
+
# for builds across lapack-versions within the same blas_major
|
| 11 |
+
{% set blas_minor = build_num + (version_minor|int - 8) * 100 %}
|
| 12 |
+
|
| 13 |
+
# versions of pinned blas implementation flavours
|
| 14 |
+
{% set blis_version = "2.0" %}
|
| 15 |
+
{% set mkl_version = "2025.3" %}
|
| 16 |
+
{% set openblas_version = "0.3.30" %}
|
| 17 |
+
# NOTE: aarch64 compatibility tests are skipped in CI; run locally before merging
|
| 18 |
+
{% set nvpl_version = "25.11.0.*" %}
|
| 19 |
+
# MKL uses the yyyy-portion of CalVer also as the major version indicating API/ABI stability, see
|
| 20 |
+
# https://github.com/conda-forge/intel_repack-feedstock/issues/81
|
| 21 |
+
# to avoid tempting the solver into switching the underlying blas flavour "just" to update MKL,
|
| 22 |
+
# we add a constraint on the MKL-version across all flavours. This means (essentially) that any
|
| 23 |
+
# new MKL major version must first pass the tests on this feedstock
|
| 24 |
+
{% set mkl_next = mkl_version.split(".")[0]|int + 1 %}
|
| 25 |
+
|
| 26 |
+
{% if blas_impl is not defined %}
|
| 27 |
+
{% set blas_impl = "openblas" %}
|
| 28 |
+
{% endif %}
|
| 29 |
+
|
| 30 |
+
package:
|
| 31 |
+
name: blas-split
|
| 32 |
+
version: "{{ version }}"
|
| 33 |
+
|
| 34 |
+
source:
|
| 35 |
+
- url: https://github.com/Reference-LAPACK/lapack/archive/v{{ version }}.tar.gz
|
| 36 |
+
sha256: 4b9ba79bfd4921ca820e83979db76ab3363155709444a787979e81c22285ffa9
|
| 37 |
+
patches:
|
| 38 |
+
# Test BLAS and LAPACKE in addition to LAPACK
|
| 39 |
+
- patches/0001-Test-BLAS-and-LAPACKE-in-addition-to-LAPACK.patch
|
| 40 |
+
# avoid corruption of characters through implicit decode
|
| 41 |
+
- patches/0002-read-pipe-as-binary.patch
|
| 42 |
+
# make symbol RowMajorStrg visible through DLL boundary
|
| 43 |
+
- patches/0003-add-DLL-import-export-machinery-for-RowMajorStrg.patch
|
| 44 |
+
# backport https://github.com/Reference-LAPACK/lapack/pull/758, can be dropped for 3.12
|
| 45 |
+
- patches/0004-fixed-bug-in-array-bounds-in-complex-syl01-test.patch
|
| 46 |
+
# backport https://github.com/Reference-LAPACK/lapack/pull/854, can be dropped for 3.12
|
| 47 |
+
- patches/0005-Use-dynamic-allocation-in-SYL01-tests.patch
|
| 48 |
+
|
| 49 |
+
- url: https://github.com/isuruf/vecLibFort/archive/99af8640e98c829b41c3235e3706760cd5696fe4.tar.gz
|
| 50 |
+
sha256: 80de7c6e83d1d84d016b4cb299f2c15f5a82b9d36865dd5c16bf221fe9a303ad
|
| 51 |
+
folder: vecLibFort
|
| 52 |
+
|
| 53 |
+
build:
|
| 54 |
+
number: "{{ build_num }}"
|
| 55 |
+
|
| 56 |
+
requirements:
|
| 57 |
+
build:
|
| 58 |
+
- {{ stdlib("c") }}
|
| 59 |
+
- {{ compiler("c") }}
|
| 60 |
+
- {{ compiler("fortran") }}
|
| 61 |
+
- cmake <4
|
| 62 |
+
- make # [not win]
|
| 63 |
+
- ninja # [win]
|
| 64 |
+
- create-forwarder-dll # [win]
|
| 65 |
+
# in testing we end up calling a python script, see
|
| 66 |
+
# https://github.com/Reference-LAPACK/lapack/blame/master/lapack_testing.py
|
| 67 |
+
- python *
|
| 68 |
+
# The following are actual build dependencies of this recipe; however, they
|
| 69 |
+
# only get installed by the build scripts, since they must be installed in a
|
| 70 |
+
# different environment (otherwise there'd be a variant collision)! The build
|
| 71 |
+
# script will link to those netlib libraries and set up the netlib test suite.
|
| 72 |
+
# For the different blas variants, build_pkg.{sh|bat} will then point those
|
| 73 |
+
# links to the respective libraries of the desired variant, and *then* run
|
| 74 |
+
# the test suite (in test_blas.{sh|bat}) to see that everything works correctly.
|
| 75 |
+
# Note: These libraries are built in the lapack-feedstock.
|
| 76 |
+
# - libblas {{ version }} *netlib
|
| 77 |
+
# - libcblas {{ version }} *netlib
|
| 78 |
+
# - liblapack {{ version }} *netlib
|
| 79 |
+
# - liblapacke {{ version }} *netlib
|
| 80 |
+
|
| 81 |
+
outputs:
|
| 82 |
+
- name: libblas
|
| 83 |
+
script: build_pkg.sh # [unix]
|
| 84 |
+
script: build_pkg.bat # [win]
|
| 85 |
+
build:
|
| 86 |
+
string: {{ build_num }}_h{{ PKG_HASH }}_{{ blas_impl }}
|
| 87 |
+
run_exports:
|
| 88 |
+
- {{ pin_subpackage("libblas", max_pin="x") }}
|
| 89 |
+
track_features:
|
| 90 |
+
- blas_{{ blas_impl }} # [blas_impl != blas_default_impl]
|
| 91 |
+
- blas_{{ blas_impl }}_2 # [blas_impl != blas_default_impl]
|
| 92 |
+
requirements:
|
| 93 |
+
build:
|
| 94 |
+
- {{ compiler("fortran") }} # [blas_impl in ('accelerate', 'newaccelerate')]
|
| 95 |
+
# need to compile wrapper code, see build.sh
|
| 96 |
+
- {{ compiler('c') }} # [blas_impl == 'newaccelerate']
|
| 97 |
+
- {{ stdlib('c') }} # [blas_impl in ('accelerate', 'newaccelerate')]
|
| 98 |
+
host:
|
| 99 |
+
- blis {{ blis_version }} # [blas_impl == 'blis']
|
| 100 |
+
# from https://github.com/conda-forge/intel_repack-feedstock/
|
| 101 |
+
- libopenblas {{ openblas_version }} # [blas_impl == 'openblas']
|
| 102 |
+
- mkl-devel {{ mkl_version }} # [blas_impl == 'mkl']
|
| 103 |
+
- _nvpl_dev_mutex {{ nvpl_version }} # [(blas_impl or '').startswith('nvpl')]
|
| 104 |
+
- libnvpl-blas-dev # [(blas_impl or '').startswith('nvpl')]
|
| 105 |
+
- libnvpl-blas0 # [(blas_impl or '').startswith('nvpl')]
|
| 106 |
+
run:
|
| 107 |
+
- {{ pin_compatible("blis", max_pin="x.x.x") }} # [blas_impl == 'blis']
|
| 108 |
+
- {{ pin_compatible("mkl", max_pin="x") }} # [blas_impl == 'mkl']
|
| 109 |
+
- {{ pin_compatible("libopenblas", max_pin="x.x.x") }} # [blas_impl == 'openblas']
|
| 110 |
+
- {{ pin_compatible("libnvpl-blas0", max_pin="x.x.x") }} # [(blas_impl or '').startswith('nvpl')]
|
| 111 |
+
- __osx >=15.5 # [blas_impl == 'newaccelerate']
|
| 112 |
+
run_constrained:
|
| 113 |
+
# cannot pin exactly due to https://github.com/conda/conda-build/issues/5572
|
| 114 |
+
- libcblas {{ version }} {{ build_num }}*_{{ blas_impl }}
|
| 115 |
+
- liblapack {{ version }} {{ build_num }}*_{{ blas_impl }} # [blas_impl != 'blis']
|
| 116 |
+
- liblapacke {{ version }} {{ build_num }}*_{{ blas_impl }} # [blas_impl != 'blis']
|
| 117 |
+
- blas {{ blas_major }}.{{ blas_minor }} {{ blas_impl }}
|
| 118 |
+
# for run_constrained across all flavours, see comment at the top
|
| 119 |
+
- mkl <{{ mkl_next }} # [blas_impl != 'mkl']
|
| 120 |
+
files:
|
| 121 |
+
- lib/libblas.so # [linux]
|
| 122 |
+
- lib/libblas.dylib # [osx]
|
| 123 |
+
- lib/libblas.so.{{ version_major }} # [linux]
|
| 124 |
+
- lib/libblas.{{ version_major }}.dylib # [osx]
|
| 125 |
+
- Library/bin/libblas.dll # [win]
|
| 126 |
+
- lib/libblas_reexport.dylib # [blas_impl == 'newaccelerate']
|
| 127 |
+
- lib/liblapacke-netlib.*.dylib # [blas_impl == 'newaccelerate']
|
| 128 |
+
- lib/libvecLibFort-ng.dylib # [blas_impl == 'accelerate']
|
| 129 |
+
- lib/liblapack-netlib.*.dylib # [blas_impl == 'accelerate']
|
| 130 |
+
- lib/liblapacke-netlib.*.dylib # [blas_impl == 'accelerate']
|
| 131 |
+
- etc/conda/activate.d/libblas_mkl_* # [blas_impl == 'mkl']
|
| 132 |
+
- etc/conda/deactivate.d/libblas_mkl_* # [blas_impl == 'mkl']
|
| 133 |
+
test:
|
| 134 |
+
commands:
|
| 135 |
+
# Following two lines are just to help conda-build's used variables detection
|
| 136 |
+
- echo hello # [blas_impl_lib == 'blas']
|
| 137 |
+
- echo hello # [lapack_impl_lib == 'blas']
|
| 138 |
+
- test -f $PREFIX/lib/libblas.so.{{ version_major }} # [linux]
|
| 139 |
+
- test -f $PREFIX/lib/libblas.{{ version_major }}.dylib # [osx]
|
| 140 |
+
- if not exist %LIBRARY_BIN%/libblas.dll exit 1 # [win]
|
| 141 |
+
|
| 142 |
+
- name: libcblas
|
| 143 |
+
script: build_pkg.sh # [unix]
|
| 144 |
+
script: build_pkg.bat # [win]
|
| 145 |
+
build:
|
| 146 |
+
string: {{ build_num }}_h{{ PKG_HASH }}_{{ blas_impl }}
|
| 147 |
+
run_exports:
|
| 148 |
+
- {{ pin_subpackage("libcblas", max_pin="x") }}
|
| 149 |
+
track_features:
|
| 150 |
+
- blas_{{ blas_impl }} # [blas_impl != blas_default_impl]
|
| 151 |
+
requirements:
|
| 152 |
+
host:
|
| 153 |
+
# cannot pin exactly due to https://github.com/conda/conda-build/issues/5573
|
| 154 |
+
- libblas {{ version }} {{ build_num }}*_{{ blas_impl }}
|
| 155 |
+
run:
|
| 156 |
+
- {{ pin_subpackage("libblas", exact=True) }}
|
| 157 |
+
run_constrained:
|
| 158 |
+
# cannot pin exactly due to https://github.com/conda/conda-build/issues/5572
|
| 159 |
+
- liblapack {{ version }} {{ build_num }}*_{{ blas_impl }} # [blas_impl != 'blis']
|
| 160 |
+
- liblapacke {{ version }} {{ build_num }}*_{{ blas_impl }} # [blas_impl != 'blis']
|
| 161 |
+
- blas {{ blas_major }}.{{ blas_minor }} {{ blas_impl }}
|
| 162 |
+
files:
|
| 163 |
+
- lib/libcblas.so # [linux]
|
| 164 |
+
- lib/libcblas.dylib # [osx]
|
| 165 |
+
- lib/libcblas.so.{{ version_major }} # [linux]
|
| 166 |
+
- lib/libcblas.{{ version_major }}.dylib # [osx]
|
| 167 |
+
- Library/bin/libcblas.dll # [win]
|
| 168 |
+
test:
|
| 169 |
+
commands:
|
| 170 |
+
- test -f $PREFIX/lib/libcblas.so.{{ version_major }} # [linux]
|
| 171 |
+
- test -f $PREFIX/lib/libcblas.{{ version_major }}.dylib # [osx]
|
| 172 |
+
- if not exist %LIBRARY_BIN%/libcblas.dll exit 1 # [win]
|
| 173 |
+
|
| 174 |
+
- name: liblapack
|
| 175 |
+
script: build_pkg.sh # [unix]
|
| 176 |
+
script: build_pkg.bat # [win]
|
| 177 |
+
build:
|
| 178 |
+
skip: true # [blas_impl == 'blis']
|
| 179 |
+
string: {{ build_num }}_h{{ PKG_HASH }}_{{ blas_impl }}
|
| 180 |
+
run_exports:
|
| 181 |
+
- {{ pin_subpackage("liblapack", max_pin="x.x") }}
|
| 182 |
+
track_features:
|
| 183 |
+
- blas_{{ blas_impl }} # [blas_impl != blas_default_impl]
|
| 184 |
+
requirements:
|
| 185 |
+
host:
|
| 186 |
+
- {{ pin_subpackage("libblas", exact=True) }}
|
| 187 |
+
- _nvpl_dev_mutex {{ nvpl_version }} # [(blas_impl or '').startswith('nvpl')]
|
| 188 |
+
- libnvpl-lapack-dev # [(blas_impl or '').startswith('nvpl')]
|
| 189 |
+
- libnvpl-lapack0 # [(blas_impl or '').startswith('nvpl')]
|
| 190 |
+
run:
|
| 191 |
+
- {{ pin_compatible("libnvpl-lapack0", max_pin="x.x.x") }} # [(blas_impl or '').startswith('nvpl')]
|
| 192 |
+
- {{ pin_subpackage("libblas", exact=True) }}
|
| 193 |
+
run_constrained:
|
| 194 |
+
# cannot pin exactly due to https://github.com/conda/conda-build/issues/5572
|
| 195 |
+
- libcblas {{ version }} {{ build_num }}*_{{ blas_impl }}
|
| 196 |
+
- liblapacke {{ version }} {{ build_num }}*_{{ blas_impl }}
|
| 197 |
+
- blas {{ blas_major }}.{{ blas_minor }} {{ blas_impl }}
|
| 198 |
+
files:
|
| 199 |
+
- lib/liblapack.so # [linux]
|
| 200 |
+
- lib/liblapack.dylib # [osx]
|
| 201 |
+
- lib/liblapack.so.{{ version_major }} # [linux]
|
| 202 |
+
- lib/liblapack.{{ version_major }}.dylib # [osx]
|
| 203 |
+
- Library/bin/liblapack.dll # [win]
|
| 204 |
+
test:
|
| 205 |
+
commands:
|
| 206 |
+
- test -f $PREFIX/lib/liblapack.so.{{ version_major }} # [linux]
|
| 207 |
+
- test -f $PREFIX/lib/liblapack.{{ version_major }}.dylib # [osx]
|
| 208 |
+
- if not exist %LIBRARY_BIN%/liblapack.dll exit 1 # [win]
|
| 209 |
+
|
| 210 |
+
- name: liblapacke
|
| 211 |
+
script: build_pkg.sh # [unix]
|
| 212 |
+
script: build_pkg.bat # [win]
|
| 213 |
+
build:
|
| 214 |
+
skip: true # [blas_impl == 'blis']
|
| 215 |
+
string: {{ build_num }}_h{{ PKG_HASH }}_{{ blas_impl }}
|
| 216 |
+
run_exports:
|
| 217 |
+
- {{ pin_subpackage("liblapacke", max_pin="x.x") }}
|
| 218 |
+
track_features:
|
| 219 |
+
- blas_{{ blas_impl }} # [blas_impl != blas_default_impl]
|
| 220 |
+
requirements:
|
| 221 |
+
host:
|
| 222 |
+
- {{ pin_subpackage("libblas", exact=True) }}
|
| 223 |
+
- {{ pin_subpackage("libcblas", exact=True) }}
|
| 224 |
+
- {{ pin_subpackage("liblapack", exact=True) }}
|
| 225 |
+
run:
|
| 226 |
+
- {{ pin_subpackage("libblas", exact=True) }}
|
| 227 |
+
- {{ pin_subpackage("libcblas", exact=True) }}
|
| 228 |
+
- {{ pin_subpackage("liblapack", exact=True) }}
|
| 229 |
+
run_constrained:
|
| 230 |
+
- blas {{ blas_major }}.{{ blas_minor }} {{ blas_impl }}
|
| 231 |
+
files:
|
| 232 |
+
- lib/liblapacke.so # [linux]
|
| 233 |
+
- lib/liblapacke.dylib # [osx]
|
| 234 |
+
- lib/liblapacke.so.{{ version_major }} # [linux]
|
| 235 |
+
- lib/liblapacke.{{ version_major }}.dylib # [osx]
|
| 236 |
+
- Library/bin/liblapacke.dll # [win]
|
| 237 |
+
test:
|
| 238 |
+
commands:
|
| 239 |
+
- test -f $PREFIX/lib/liblapacke.so.{{ version_major }} # [linux]
|
| 240 |
+
- test -f $PREFIX/lib/liblapacke.{{ version_major }}.dylib # [osx]
|
| 241 |
+
- if not exist %LIBRARY_BIN%/liblapacke.dll exit 1 # [win]
|
| 242 |
+
|
| 243 |
+
- name: blas-devel
|
| 244 |
+
# uses lapack {{ version }}, not {{ blas_major }}
|
| 245 |
+
script: install_blas_devel.sh # [unix]
|
| 246 |
+
build:
|
| 247 |
+
string: {{ build_num }}_h{{ PKG_HASH }}_{{ blas_impl }}
|
| 248 |
+
requirements:
|
| 249 |
+
host:
|
| 250 |
+
- blis {{ blis_version }} # [blas_impl == "blis"]
|
| 251 |
+
- mkl-devel {{ mkl_version }} # [blas_impl == "mkl"]
|
| 252 |
+
- openblas {{ openblas_version }} # [blas_impl == "openblas"]
|
| 253 |
+
- _nvpl_dev_mutex {{ nvpl_version }} # [(blas_impl or '').startswith('nvpl')]
|
| 254 |
+
- libnvpl-lapack-dev # [(blas_impl or '').startswith('nvpl')]
|
| 255 |
+
- libnvpl-blas-dev # [(blas_impl or '').startswith('nvpl')]
|
| 256 |
+
run:
|
| 257 |
+
- blis {{ blis_version }} # [blas_impl == "blis"]
|
| 258 |
+
- mkl-devel {{ mkl_version }} # [blas_impl == "mkl"]
|
| 259 |
+
- openblas {{ openblas_version }} # [blas_impl == "openblas"]
|
| 260 |
+
- _nvpl_dev_mutex {{ nvpl_version }} # [(blas_impl or '').startswith('nvpl')]
|
| 261 |
+
- libnvpl-lapack-dev # [(blas_impl or '').startswith('nvpl')]
|
| 262 |
+
- libnvpl-blas-dev # [(blas_impl or '').startswith('nvpl')]
|
| 263 |
+
- {{ pin_subpackage("libblas", exact=True) }}
|
| 264 |
+
- {{ pin_subpackage("libcblas", exact=True) }}
|
| 265 |
+
- {{ pin_subpackage("liblapack", exact=True) }} # [blas_impl != 'blis']
|
| 266 |
+
- {{ pin_subpackage("liblapacke", exact=True) }} # [blas_impl != 'blis']
|
| 267 |
+
# netlib variants don't have the same build number
|
| 268 |
+
- liblapack {{ version }} *_netlib # [blas_impl == 'blis']
|
| 269 |
+
- liblapacke {{ version }} *_netlib # [blas_impl == 'blis']
|
| 270 |
+
test:
|
| 271 |
+
commands:
|
| 272 |
+
- test -f $PREFIX/lib/pkgconfig/blas.pc # [unix and blas_impl == "openblas"]
|
| 273 |
+
- test -f $PREFIX/lib/cmake/nvpl_blas/nvpl_blas-config.cmake # [(blas_impl or '').startswith('nvpl')]
|
| 274 |
+
- test -f $PREFIX/lib/cmake/nvpl_lapack/nvpl_lapack-config-version.cmake # [(blas_impl or '').startswith('nvpl')]
|
| 275 |
+
- test -f $PREFIX/lib/liblapack.so # [linux]
|
| 276 |
+
- test -f $PREFIX/lib/liblapack.dylib # [osx]
|
| 277 |
+
- test -f $PREFIX/lib/liblapacke.so # [linux]
|
| 278 |
+
- test -f $PREFIX/lib/liblapacke.so.{{ version_major }} # [linux]
|
| 279 |
+
- test -f $PREFIX/lib/liblapacke.dylib # [osx]
|
| 280 |
+
- test -f $PREFIX/lib/liblapacke.{{ version_major }}.dylib # [osx]
|
| 281 |
+
- if not exist %LIBRARY_BIN%/liblapack.dll exit 1 # [win]
|
| 282 |
+
- if not exist %LIBRARY_BIN%/liblapacke.dll exit 1 # [win]
|
| 283 |
+
|
| 284 |
+
# For compatiblity
|
| 285 |
+
- name: blas
|
| 286 |
+
version: "{{ blas_major }}.{{ blas_minor }}"
|
| 287 |
+
script: test_blas.sh # [unix]
|
| 288 |
+
script: test_blas.bat # [win]
|
| 289 |
+
build:
|
| 290 |
+
string: {{ blas_impl }}
|
| 291 |
+
activate_in_script: True
|
| 292 |
+
ignore_run_exports_from:
|
| 293 |
+
# this is a metapackage; ignore the run-exports from the build environment
|
| 294 |
+
- {{ stdlib("c") }}
|
| 295 |
+
- {{ compiler("c") }}
|
| 296 |
+
- {{ compiler("fortran") }}
|
| 297 |
+
- llvm-openmp
|
| 298 |
+
requirements:
|
| 299 |
+
build:
|
| 300 |
+
- {{ stdlib("c") }}
|
| 301 |
+
- {{ compiler("c") }}
|
| 302 |
+
- {{ compiler("fortran") }}
|
| 303 |
+
- cmake <4
|
| 304 |
+
- ninja # [win]
|
| 305 |
+
# we end up calling a python script, see
|
| 306 |
+
# https://github.com/Reference-LAPACK/lapack/blame/master/lapack_testing.py
|
| 307 |
+
- python *
|
| 308 |
+
- llvm-openmp # [linux and ((blas_impl == "openblas") or (blas_impl == "mkl"))]
|
| 309 |
+
host:
|
| 310 |
+
- blas-devel {{ version }} {{ build_num }}*_{{ blas_impl }}
|
| 311 |
+
run:
|
| 312 |
+
- blas-devel {{ version }} {{ build_num }}*_{{ blas_impl }}
|
| 313 |
+
test:
|
| 314 |
+
requires:
|
| 315 |
+
- numpy
|
| 316 |
+
imports:
|
| 317 |
+
# test that importing numpy works with LAPACK variant being built here
|
| 318 |
+
- numpy
|
| 319 |
+
commands:
|
| 320 |
+
- test -f $PREFIX/lib/liblapacke.so # [linux]
|
| 321 |
+
- test -f $PREFIX/lib/liblapacke.so.{{ version_major }} # [linux]
|
| 322 |
+
- test -f $PREFIX/lib/liblapacke.dylib # [osx]
|
| 323 |
+
- test -f $PREFIX/lib/liblapacke.{{ version_major }}.dylib # [osx]
|
| 324 |
+
- if not exist %LIBRARY_BIN%/liblapacke.dll exit 1 # [win]
|
| 325 |
+
|
| 326 |
+
about:
|
| 327 |
+
home: https://github.com/conda-forge/blas-feedstock
|
| 328 |
+
license: BSD-3-Clause
|
| 329 |
+
license_file:
|
| 330 |
+
- LICENSE.txt
|
| 331 |
+
summary: Metapackage to select the BLAS variant. Use conda's pinning mechanism in your environment to control which variant you want.
|
| 332 |
+
|
| 333 |
+
extra:
|
| 334 |
+
recipe-maintainers:
|
| 335 |
+
- jakirkham
|
| 336 |
+
- pelson
|
| 337 |
+
- isuruf
|
| 338 |
+
- ocefpaf
|
| 339 |
+
- h-vetinari
|
| 340 |
+
feedstock-name: blas
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/patches/0001-Test-BLAS-and-LAPACKE-in-addition-to-LAPACK.patch
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
From 31cf871fc5670c90dc76ab8aba508458f90da46f Mon Sep 17 00:00:00 2001
|
| 2 |
+
From: Isuru Fernando <isuruf@gmail.com>
|
| 3 |
+
Date: Mon, 7 Jan 2019 00:23:59 -0600
|
| 4 |
+
Subject: [PATCH 1/5] Test BLAS and LAPACKE in addition to LAPACK
|
| 5 |
+
|
| 6 |
+
---
|
| 7 |
+
CMakeLists.txt | 2 ++
|
| 8 |
+
1 file changed, 2 insertions(+)
|
| 9 |
+
|
| 10 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
| 11 |
+
index 68a7767b8..91047636e 100644
|
| 12 |
+
--- a/CMakeLists.txt
|
| 13 |
+
+++ b/CMakeLists.txt
|
| 14 |
+
@@ -394,6 +394,8 @@ endif()
|
| 15 |
+
|
| 16 |
+
if(BUILD_TESTING)
|
| 17 |
+
add_subdirectory(TESTING)
|
| 18 |
+
+ add_subdirectory(BLAS/TESTING)
|
| 19 |
+
+ add_subdirectory(LAPACKE/example)
|
| 20 |
+
endif()
|
| 21 |
+
|
| 22 |
+
# --------------------------------------------------
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/patches/0002-read-pipe-as-binary.patch
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
From 3430230d700e7f34e70d727d9b21508728081a0c Mon Sep 17 00:00:00 2001
|
| 2 |
+
From: "H. Vetinari" <h.vetinari@gmx.com>
|
| 3 |
+
Date: Sun, 18 Aug 2024 14:03:42 +1100
|
| 4 |
+
Subject: [PATCH 2/5] read pipe as binary
|
| 5 |
+
|
| 6 |
+
---
|
| 7 |
+
lapack_testing.py | 16 ++++++++--------
|
| 8 |
+
1 file changed, 8 insertions(+), 8 deletions(-)
|
| 9 |
+
|
| 10 |
+
diff --git a/lapack_testing.py b/lapack_testing.py
|
| 11 |
+
index abda36898..b638e7662 100755
|
| 12 |
+
--- a/lapack_testing.py
|
| 13 |
+
+++ b/lapack_testing.py
|
| 14 |
+
@@ -110,7 +110,7 @@ def run_summary_test( f, cmdline, short_summary):
|
| 15 |
+
r=1
|
| 16 |
+
if short_summary: return [nb_test_run,nb_test_fail,nb_test_illegal,nb_test_info]
|
| 17 |
+
else:
|
| 18 |
+
- pipe = open(cmdline,'r')
|
| 19 |
+
+ pipe = open(cmdline,'rb')
|
| 20 |
+
r=0
|
| 21 |
+
else:
|
| 22 |
+
cmdline = os.path.join(abs_bin_dir, cmdline)
|
| 23 |
+
@@ -121,7 +121,7 @@ def run_summary_test( f, cmdline, short_summary):
|
| 24 |
+
p.wait()
|
| 25 |
+
#pipe.close()
|
| 26 |
+
r=p.returncode
|
| 27 |
+
- pipe = open(outfile,'r')
|
| 28 |
+
+ pipe = open(outfile,'rb')
|
| 29 |
+
error_message=cmdline+" did not work"
|
| 30 |
+
|
| 31 |
+
if r != 0 and not with_file:
|
| 32 |
+
@@ -136,18 +136,18 @@ def run_summary_test( f, cmdline, short_summary):
|
| 33 |
+
for line in pipe.readlines():
|
| 34 |
+
f.write(str(line))
|
| 35 |
+
words_in_line=line.split()
|
| 36 |
+
- if (line.find("run")!=-1):
|
| 37 |
+
+ if (line.find(b"run")!=-1):
|
| 38 |
+
# print line
|
| 39 |
+
- whereisrun=words_in_line.index("run)")
|
| 40 |
+
+ whereisrun=words_in_line.index(b"run)")
|
| 41 |
+
nb_test_run+=int(words_in_line[whereisrun-2])
|
| 42 |
+
- if (line.find("out of")!=-1):
|
| 43 |
+
+ if (line.find(b"out of")!=-1):
|
| 44 |
+
if not short_summary: print(line, end=' ')
|
| 45 |
+
- whereisout= words_in_line.index("out")
|
| 46 |
+
+ whereisout= words_in_line.index(b"out")
|
| 47 |
+
nb_test_fail+=int(words_in_line[whereisout-1])
|
| 48 |
+
- if ((line.find("illegal")!=-1) or (line.find("Illegal")!=-1)):
|
| 49 |
+
+ if ((line.find(b"illegal")!=-1) or (line.find(b"Illegal")!=-1)):
|
| 50 |
+
if not short_summary: print(line, end=' ')
|
| 51 |
+
nb_test_illegal+=1
|
| 52 |
+
- if (line.find(" INFO")!=-1):
|
| 53 |
+
+ if (line.find(b" INFO")!=-1):
|
| 54 |
+
if not short_summary: print(line, end=' ')
|
| 55 |
+
nb_test_info+=1
|
| 56 |
+
if with_file:
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/patches/0003-add-DLL-import-export-machinery-for-RowMajorStrg.patch
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
From 1a0a390be48a415b08103672f3b2d3d76865d23c Mon Sep 17 00:00:00 2001
|
| 2 |
+
From: "H. Vetinari" <h.vetinari@gmx.com>
|
| 3 |
+
Date: Fri, 8 Nov 2024 14:35:19 +1100
|
| 4 |
+
Subject: [PATCH 3/5] add DLL import/export machinery for RowMajorStrg
|
| 5 |
+
|
| 6 |
+
Suggested-By: Isuru Fernando <isuruf@gmail.com>
|
| 7 |
+
---
|
| 8 |
+
CBLAS/include/cblas.h | 9 +++++++++
|
| 9 |
+
CBLAS/src/CMakeLists.txt | 3 +++
|
| 10 |
+
CBLAS/src/cblas_globals.c | 10 ++++++++--
|
| 11 |
+
3 files changed, 20 insertions(+), 2 deletions(-)
|
| 12 |
+
|
| 13 |
+
diff --git a/CBLAS/include/cblas.h b/CBLAS/include/cblas.h
|
| 14 |
+
index f7d411571..4ac2d7793 100644
|
| 15 |
+
--- a/CBLAS/include/cblas.h
|
| 16 |
+
+++ b/CBLAS/include/cblas.h
|
| 17 |
+
@@ -4,6 +4,15 @@
|
| 18 |
+
#include <stdint.h>
|
| 19 |
+
#include <inttypes.h>
|
| 20 |
+
|
| 21 |
+
+#ifdef _MSC_VER
|
| 22 |
+
+# ifdef CBLAS_BUILDING_DLL
|
| 23 |
+
+# define CBLAS_DLL __declspec(dllexport)
|
| 24 |
+
+# else
|
| 25 |
+
+# define CBLAS_DLL __declspec(dllimport)
|
| 26 |
+
+# endif
|
| 27 |
+
+#else
|
| 28 |
+
+# define CBLAS_DLL
|
| 29 |
+
+#endif
|
| 30 |
+
|
| 31 |
+
#ifdef __cplusplus
|
| 32 |
+
extern "C" { /* Assume C declarations for C++ */
|
| 33 |
+
diff --git a/CBLAS/src/CMakeLists.txt b/CBLAS/src/CMakeLists.txt
|
| 34 |
+
index a8152297a..e75d1e51d 100644
|
| 35 |
+
--- a/CBLAS/src/CMakeLists.txt
|
| 36 |
+
+++ b/CBLAS/src/CMakeLists.txt
|
| 37 |
+
@@ -124,6 +124,9 @@ set_target_properties(
|
| 38 |
+
VERSION ${LAPACK_VERSION}
|
| 39 |
+
SOVERSION ${LAPACK_MAJOR_VERSION}
|
| 40 |
+
)
|
| 41 |
+
+if(BUILD_SHARED_LIBS)
|
| 42 |
+
+ target_compile_definitions(cblas PRIVATE CBLAS_BUILDING_DLL)
|
| 43 |
+
+endif()
|
| 44 |
+
if(HAS_ATTRIBUTE_WEAK_SUPPORT)
|
| 45 |
+
target_compile_definitions(${CBLASLIB} PRIVATE HAS_ATTRIBUTE_WEAK_SUPPORT)
|
| 46 |
+
endif()
|
| 47 |
+
diff --git a/CBLAS/src/cblas_globals.c b/CBLAS/src/cblas_globals.c
|
| 48 |
+
index 5d91a18c9..b7bf74e23 100644
|
| 49 |
+
--- a/CBLAS/src/cblas_globals.c
|
| 50 |
+
+++ b/CBLAS/src/cblas_globals.c
|
| 51 |
+
@@ -1,2 +1,8 @@
|
| 52 |
+
- int CBLAS_CallFromC=0;
|
| 53 |
+
- int RowMajorStrg=0;
|
| 54 |
+
+#ifdef _MSC_VER
|
| 55 |
+
+# define CBLAS_DLL __declspec(dllexport)
|
| 56 |
+
+#else
|
| 57 |
+
+# define CBLAS_DLL
|
| 58 |
+
+#endif
|
| 59 |
+
+
|
| 60 |
+
+CBLAS_DLL int CBLAS_CallFromC=0;
|
| 61 |
+
+CBLAS_DLL int RowMajorStrg=0;
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/patches/0004-fixed-bug-in-array-bounds-in-complex-syl01-test.patch
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
From b7907197993a58a29a33bb88a51e1912d7f9fc1e Mon Sep 17 00:00:00 2001
|
| 2 |
+
From: Dmitry Klyuchinsky <dmitriy_klyuchinskiy@mail.ru>
|
| 3 |
+
Date: Fri, 18 Nov 2022 17:58:06 +0700
|
| 4 |
+
Subject: [PATCH 4/5] fixed bug in array bounds in complex syl01 test
|
| 5 |
+
|
| 6 |
+
---
|
| 7 |
+
TESTING/EIG/csyl01.f | 2 +-
|
| 8 |
+
TESTING/EIG/zsyl01.f | 2 +-
|
| 9 |
+
2 files changed, 2 insertions(+), 2 deletions(-)
|
| 10 |
+
|
| 11 |
+
diff --git a/TESTING/EIG/csyl01.f b/TESTING/EIG/csyl01.f
|
| 12 |
+
index e21f1a7a0..82d790daa 100644
|
| 13 |
+
--- a/TESTING/EIG/csyl01.f
|
| 14 |
+
+++ b/TESTING/EIG/csyl01.f
|
| 15 |
+
@@ -124,7 +124,7 @@
|
| 16 |
+
$ C( MAXM, MAXN ), CC( MAXM, MAXN ),
|
| 17 |
+
$ X( MAXM, MAXN ),
|
| 18 |
+
$ DUML( MAXM ), DUMR( MAXN ),
|
| 19 |
+
- $ D( MIN( MAXM, MAXN ) )
|
| 20 |
+
+ $ D( MAX( MAXM, MAXN ) )
|
| 21 |
+
REAL SWORK( LDSWORK, 54 ), DUM( MAXN ), VM( 2 )
|
| 22 |
+
INTEGER ISEED( 4 ), IWORK( MAXM + MAXN + 2 )
|
| 23 |
+
* ..
|
| 24 |
+
diff --git a/TESTING/EIG/zsyl01.f b/TESTING/EIG/zsyl01.f
|
| 25 |
+
index 1e8619a34..329f39dc4 100644
|
| 26 |
+
--- a/TESTING/EIG/zsyl01.f
|
| 27 |
+
+++ b/TESTING/EIG/zsyl01.f
|
| 28 |
+
@@ -124,7 +124,7 @@
|
| 29 |
+
$ C( MAXM, MAXN ), CC( MAXM, MAXN ),
|
| 30 |
+
$ X( MAXM, MAXN ),
|
| 31 |
+
$ DUML( MAXM ), DUMR( MAXN ),
|
| 32 |
+
- $ D( MIN( MAXM, MAXN ) )
|
| 33 |
+
+ $ D( MAX( MAXM, MAXN ) )
|
| 34 |
+
DOUBLE PRECISION SWORK( LDSWORK, 103 ), DUM( MAXN ), VM( 2 )
|
| 35 |
+
INTEGER ISEED( 4 ), IWORK( MAXM + MAXN + 2 )
|
| 36 |
+
* ..
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/patches/0005-Use-dynamic-allocation-in-SYL01-tests.patch
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
From 9509026e0f00c4ad2c3398207a5368baf4a57df0 Mon Sep 17 00:00:00 2001
|
| 2 |
+
From: Angelika Schwarz <angies@cs.umu.se>
|
| 3 |
+
Date: Sat, 17 Jun 2023 10:51:33 +0200
|
| 4 |
+
Subject: [PATCH 5/5] Use dynamic allocation in SYL01 tests
|
| 5 |
+
|
| 6 |
+
---
|
| 7 |
+
TESTING/EIG/csyl01.f | 33 ++++++++++++++++++++++++++++-----
|
| 8 |
+
TESTING/EIG/dsyl01.f | 35 +++++++++++++++++++++++++++++------
|
| 9 |
+
TESTING/EIG/ssyl01.f | 35 +++++++++++++++++++++++++++++------
|
| 10 |
+
TESTING/EIG/zsyl01.f | 33 ++++++++++++++++++++++++++++-----
|
| 11 |
+
4 files changed, 114 insertions(+), 22 deletions(-)
|
| 12 |
+
|
| 13 |
+
diff --git a/TESTING/EIG/csyl01.f b/TESTING/EIG/csyl01.f
|
| 14 |
+
index 82d790daa..8a3cd1ae5 100644
|
| 15 |
+
--- a/TESTING/EIG/csyl01.f
|
| 16 |
+
+++ b/TESTING/EIG/csyl01.f
|
| 17 |
+
@@ -120,14 +120,16 @@
|
| 18 |
+
COMPLEX RMUL
|
| 19 |
+
* ..
|
| 20 |
+
* .. Local Arrays ..
|
| 21 |
+
- COMPLEX A( MAXM, MAXM ), B( MAXN, MAXN ),
|
| 22 |
+
- $ C( MAXM, MAXN ), CC( MAXM, MAXN ),
|
| 23 |
+
- $ X( MAXM, MAXN ),
|
| 24 |
+
- $ DUML( MAXM ), DUMR( MAXN ),
|
| 25 |
+
+ COMPLEX DUML( MAXM ), DUMR( MAXN ),
|
| 26 |
+
$ D( MAX( MAXM, MAXN ) )
|
| 27 |
+
- REAL SWORK( LDSWORK, 54 ), DUM( MAXN ), VM( 2 )
|
| 28 |
+
+ REAL DUM( MAXN ), VM( 2 )
|
| 29 |
+
INTEGER ISEED( 4 ), IWORK( MAXM + MAXN + 2 )
|
| 30 |
+
* ..
|
| 31 |
+
+* .. Allocatable Arrays ..
|
| 32 |
+
+ INTEGER AllocateStatus
|
| 33 |
+
+ COMPLEX, DIMENSION(:,:), ALLOCATABLE :: A, B, C, CC, X
|
| 34 |
+
+ REAL, DIMENSION(:,:), ALLOCATABLE :: SWORK
|
| 35 |
+
+* ..
|
| 36 |
+
* .. External Functions ..
|
| 37 |
+
LOGICAL SISNAN
|
| 38 |
+
REAL SLAMCH, CLANGE
|
| 39 |
+
@@ -139,6 +141,20 @@
|
| 40 |
+
* .. Intrinsic Functions ..
|
| 41 |
+
INTRINSIC ABS, REAL, MAX
|
| 42 |
+
* ..
|
| 43 |
+
+* .. Allocate memory dynamically ..
|
| 44 |
+
+ ALLOCATE ( A( MAXM, MAXM ), STAT = AllocateStatus )
|
| 45 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 46 |
+
+ ALLOCATE ( B( MAXN, MAXN ), STAT = AllocateStatus )
|
| 47 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 48 |
+
+ ALLOCATE ( C( MAXM, MAXN ), STAT = AllocateStatus )
|
| 49 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 50 |
+
+ ALLOCATE ( CC( MAXM, MAXN ), STAT = AllocateStatus )
|
| 51 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 52 |
+
+ ALLOCATE ( X( MAXM, MAXN ), STAT = AllocateStatus )
|
| 53 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 54 |
+
+ ALLOCATE ( SWORK( LDSWORK, 54 ), STAT = AllocateStatus )
|
| 55 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 56 |
+
+* ..
|
| 57 |
+
* .. Executable Statements ..
|
| 58 |
+
*
|
| 59 |
+
* Get machine parameters
|
| 60 |
+
@@ -286,6 +302,13 @@
|
| 61 |
+
END DO
|
| 62 |
+
END DO
|
| 63 |
+
END DO
|
| 64 |
+
+*
|
| 65 |
+
+ DEALLOCATE (A, STAT = AllocateStatus)
|
| 66 |
+
+ DEALLOCATE (B, STAT = AllocateStatus)
|
| 67 |
+
+ DEALLOCATE (C, STAT = AllocateStatus)
|
| 68 |
+
+ DEALLOCATE (CC, STAT = AllocateStatus)
|
| 69 |
+
+ DEALLOCATE (X, STAT = AllocateStatus)
|
| 70 |
+
+ DEALLOCATE (SWORK, STAT = AllocateStatus)
|
| 71 |
+
*
|
| 72 |
+
RETURN
|
| 73 |
+
*
|
| 74 |
+
diff --git a/TESTING/EIG/dsyl01.f b/TESTING/EIG/dsyl01.f
|
| 75 |
+
index 782d2cd42..0ea481382 100644
|
| 76 |
+
--- a/TESTING/EIG/dsyl01.f
|
| 77 |
+
+++ b/TESTING/EIG/dsyl01.f
|
| 78 |
+
@@ -117,13 +117,15 @@
|
| 79 |
+
$ SCALE, SCALE3, SMLNUM, TNRM, XNRM
|
| 80 |
+
* ..
|
| 81 |
+
* .. Local Arrays ..
|
| 82 |
+
- DOUBLE PRECISION A( MAXM, MAXM ), B( MAXN, MAXN ),
|
| 83 |
+
- $ C( MAXM, MAXN ), CC( MAXM, MAXN ),
|
| 84 |
+
- $ X( MAXM, MAXN ),
|
| 85 |
+
- $ DUML( MAXM ), DUMR( MAXN ),
|
| 86 |
+
+ DOUBLE PRECISION DUML( MAXM ), DUMR( MAXN ),
|
| 87 |
+
$ D( MAX( MAXM, MAXN ) ), DUM( MAXN ),
|
| 88 |
+
- $ SWORK( LDSWORK, 126 ), VM( 2 )
|
| 89 |
+
- INTEGER ISEED( 4 ), IWORK( MAXM + MAXN + 2 ), IDUM( 2 )
|
| 90 |
+
+ $ VM( 2 )
|
| 91 |
+
+ INTEGER ISEED( 4 ), IWORK( MAXM + MAXN + 2 )
|
| 92 |
+
+* ..
|
| 93 |
+
+* .. Allocatable Arrays ..
|
| 94 |
+
+ INTEGER AllocateStatus
|
| 95 |
+
+ DOUBLE PRECISION, DIMENSION(:,:), ALLOCATABLE :: A, B, C, CC, X,
|
| 96 |
+
+ $ SWORK
|
| 97 |
+
* ..
|
| 98 |
+
* .. External Functions ..
|
| 99 |
+
LOGICAL DISNAN
|
| 100 |
+
@@ -136,6 +138,20 @@
|
| 101 |
+
* .. Intrinsic Functions ..
|
| 102 |
+
INTRINSIC ABS, DBLE, MAX
|
| 103 |
+
* ..
|
| 104 |
+
+* .. Allocate memory dynamically ..
|
| 105 |
+
+ ALLOCATE ( A( MAXM, MAXM ), STAT = AllocateStatus )
|
| 106 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 107 |
+
+ ALLOCATE ( B( MAXN, MAXN ), STAT = AllocateStatus )
|
| 108 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 109 |
+
+ ALLOCATE ( C( MAXM, MAXN ), STAT = AllocateStatus )
|
| 110 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 111 |
+
+ ALLOCATE ( CC( MAXM, MAXN ), STAT = AllocateStatus )
|
| 112 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 113 |
+
+ ALLOCATE ( X( MAXM, MAXN ), STAT = AllocateStatus )
|
| 114 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 115 |
+
+ ALLOCATE ( SWORK( LDSWORK, 126 ), STAT = AllocateStatus )
|
| 116 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 117 |
+
+* ..
|
| 118 |
+
* .. Executable Statements ..
|
| 119 |
+
*
|
| 120 |
+
* Get machine parameters
|
| 121 |
+
@@ -280,6 +296,13 @@
|
| 122 |
+
END DO
|
| 123 |
+
END DO
|
| 124 |
+
END DO
|
| 125 |
+
+*
|
| 126 |
+
+ DEALLOCATE (A, STAT = AllocateStatus)
|
| 127 |
+
+ DEALLOCATE (B, STAT = AllocateStatus)
|
| 128 |
+
+ DEALLOCATE (C, STAT = AllocateStatus)
|
| 129 |
+
+ DEALLOCATE (CC, STAT = AllocateStatus)
|
| 130 |
+
+ DEALLOCATE (X, STAT = AllocateStatus)
|
| 131 |
+
+ DEALLOCATE (SWORK, STAT = AllocateStatus)
|
| 132 |
+
*
|
| 133 |
+
RETURN
|
| 134 |
+
*
|
| 135 |
+
diff --git a/TESTING/EIG/ssyl01.f b/TESTING/EIG/ssyl01.f
|
| 136 |
+
index 22d089dc8..fda30a3c0 100644
|
| 137 |
+
--- a/TESTING/EIG/ssyl01.f
|
| 138 |
+
+++ b/TESTING/EIG/ssyl01.f
|
| 139 |
+
@@ -117,13 +117,15 @@
|
| 140 |
+
$ SCALE, SCALE3, SMLNUM, TNRM, XNRM
|
| 141 |
+
* ..
|
| 142 |
+
* .. Local Arrays ..
|
| 143 |
+
- REAL A( MAXM, MAXM ), B( MAXN, MAXN ),
|
| 144 |
+
- $ C( MAXM, MAXN ), CC( MAXM, MAXN ),
|
| 145 |
+
- $ X( MAXM, MAXN ),
|
| 146 |
+
- $ DUML( MAXM ), DUMR( MAXN ),
|
| 147 |
+
+ REAL DUML( MAXM ), DUMR( MAXN ),
|
| 148 |
+
$ D( MAX( MAXM, MAXN ) ), DUM( MAXN ),
|
| 149 |
+
- $ SWORK( LDSWORK, 54 ), VM( 2 )
|
| 150 |
+
- INTEGER ISEED( 4 ), IWORK( MAXM + MAXN + 2 ), IDUM( 2 )
|
| 151 |
+
+ $ VM( 2 )
|
| 152 |
+
+ INTEGER ISEED( 4 ), IWORK( MAXM + MAXN + 2 )
|
| 153 |
+
+* ..
|
| 154 |
+
+* .. Allocatable Arrays ..
|
| 155 |
+
+ INTEGER AllocateStatus
|
| 156 |
+
+ REAL, DIMENSION(:,:), ALLOCATABLE :: A, B, C, CC, X,
|
| 157 |
+
+ $ SWORK
|
| 158 |
+
* ..
|
| 159 |
+
* .. External Functions ..
|
| 160 |
+
LOGICAL SISNAN
|
| 161 |
+
@@ -136,6 +138,20 @@
|
| 162 |
+
* .. Intrinsic Functions ..
|
| 163 |
+
INTRINSIC ABS, REAL, MAX
|
| 164 |
+
* ..
|
| 165 |
+
+* .. Allocate memory dynamically ..
|
| 166 |
+
+ ALLOCATE ( A( MAXM, MAXM ), STAT = AllocateStatus )
|
| 167 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 168 |
+
+ ALLOCATE ( B( MAXN, MAXN ), STAT = AllocateStatus )
|
| 169 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 170 |
+
+ ALLOCATE ( C( MAXM, MAXN ), STAT = AllocateStatus )
|
| 171 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 172 |
+
+ ALLOCATE ( CC( MAXM, MAXN ), STAT = AllocateStatus )
|
| 173 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 174 |
+
+ ALLOCATE ( X( MAXM, MAXN ), STAT = AllocateStatus )
|
| 175 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 176 |
+
+ ALLOCATE ( SWORK( LDSWORK, 54 ), STAT = AllocateStatus )
|
| 177 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 178 |
+
+* ..
|
| 179 |
+
* .. Executable Statements ..
|
| 180 |
+
*
|
| 181 |
+
* Get machine parameters
|
| 182 |
+
@@ -280,6 +296,13 @@
|
| 183 |
+
END DO
|
| 184 |
+
END DO
|
| 185 |
+
END DO
|
| 186 |
+
+*
|
| 187 |
+
+ DEALLOCATE (A, STAT = AllocateStatus)
|
| 188 |
+
+ DEALLOCATE (B, STAT = AllocateStatus)
|
| 189 |
+
+ DEALLOCATE (C, STAT = AllocateStatus)
|
| 190 |
+
+ DEALLOCATE (CC, STAT = AllocateStatus)
|
| 191 |
+
+ DEALLOCATE (X, STAT = AllocateStatus)
|
| 192 |
+
+ DEALLOCATE (SWORK, STAT = AllocateStatus)
|
| 193 |
+
*
|
| 194 |
+
RETURN
|
| 195 |
+
*
|
| 196 |
+
diff --git a/TESTING/EIG/zsyl01.f b/TESTING/EIG/zsyl01.f
|
| 197 |
+
index 329f39dc4..5d26d494c 100644
|
| 198 |
+
--- a/TESTING/EIG/zsyl01.f
|
| 199 |
+
+++ b/TESTING/EIG/zsyl01.f
|
| 200 |
+
@@ -120,14 +120,16 @@
|
| 201 |
+
COMPLEX*16 RMUL
|
| 202 |
+
* ..
|
| 203 |
+
* .. Local Arrays ..
|
| 204 |
+
- COMPLEX*16 A( MAXM, MAXM ), B( MAXN, MAXN ),
|
| 205 |
+
- $ C( MAXM, MAXN ), CC( MAXM, MAXN ),
|
| 206 |
+
- $ X( MAXM, MAXN ),
|
| 207 |
+
- $ DUML( MAXM ), DUMR( MAXN ),
|
| 208 |
+
+ COMPLEX*16 DUML( MAXM ), DUMR( MAXN ),
|
| 209 |
+
$ D( MAX( MAXM, MAXN ) )
|
| 210 |
+
- DOUBLE PRECISION SWORK( LDSWORK, 103 ), DUM( MAXN ), VM( 2 )
|
| 211 |
+
+ DOUBLE PRECISION DUM( MAXN ), VM( 2 )
|
| 212 |
+
INTEGER ISEED( 4 ), IWORK( MAXM + MAXN + 2 )
|
| 213 |
+
* ..
|
| 214 |
+
+* .. Allocatable Arrays ..
|
| 215 |
+
+ INTEGER AllocateStatus
|
| 216 |
+
+ COMPLEX*16, DIMENSION(:,:), ALLOCATABLE :: A, B, C, CC, X
|
| 217 |
+
+ DOUBLE PRECISION, DIMENSION(:,:), ALLOCATABLE :: SWORK
|
| 218 |
+
+* ..
|
| 219 |
+
* .. External Functions ..
|
| 220 |
+
LOGICAL DISNAN
|
| 221 |
+
DOUBLE PRECISION DLAMCH, ZLANGE
|
| 222 |
+
@@ -139,6 +141,20 @@
|
| 223 |
+
* .. Intrinsic Functions ..
|
| 224 |
+
INTRINSIC ABS, DBLE, MAX, SQRT
|
| 225 |
+
* ..
|
| 226 |
+
+* .. Allocate memory dynamically ..
|
| 227 |
+
+ ALLOCATE ( A( MAXM, MAXM ), STAT = AllocateStatus )
|
| 228 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 229 |
+
+ ALLOCATE ( B( MAXN, MAXN ), STAT = AllocateStatus )
|
| 230 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 231 |
+
+ ALLOCATE ( C( MAXM, MAXN ), STAT = AllocateStatus )
|
| 232 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 233 |
+
+ ALLOCATE ( CC( MAXM, MAXN ), STAT = AllocateStatus )
|
| 234 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 235 |
+
+ ALLOCATE ( X( MAXM, MAXN ), STAT = AllocateStatus )
|
| 236 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 237 |
+
+ ALLOCATE ( SWORK( LDSWORK, 103 ), STAT = AllocateStatus )
|
| 238 |
+
+ IF( AllocateStatus /= 0 ) STOP "*** Not enough memory ***"
|
| 239 |
+
+* ..
|
| 240 |
+
* .. Executable Statements ..
|
| 241 |
+
*
|
| 242 |
+
* Get machine parameters
|
| 243 |
+
@@ -286,6 +302,13 @@
|
| 244 |
+
END DO
|
| 245 |
+
END DO
|
| 246 |
+
END DO
|
| 247 |
+
+*
|
| 248 |
+
+ DEALLOCATE (A, STAT = AllocateStatus)
|
| 249 |
+
+ DEALLOCATE (B, STAT = AllocateStatus)
|
| 250 |
+
+ DEALLOCATE (C, STAT = AllocateStatus)
|
| 251 |
+
+ DEALLOCATE (CC, STAT = AllocateStatus)
|
| 252 |
+
+ DEALLOCATE (X, STAT = AllocateStatus)
|
| 253 |
+
+ DEALLOCATE (SWORK, STAT = AllocateStatus)
|
| 254 |
+
*
|
| 255 |
+
RETURN
|
| 256 |
+
*
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/recipe-scripts-license.txt
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
BSD-3-Clause license
|
| 2 |
+
Copyright (c) 2015-2022, conda-forge contributors
|
| 3 |
+
All rights reserved.
|
| 4 |
+
|
| 5 |
+
Redistribution and use in source and binary forms, with or without
|
| 6 |
+
modification, are permitted provided that the following conditions are met:
|
| 7 |
+
|
| 8 |
+
1. Redistributions of source code must retain the above copyright notice,
|
| 9 |
+
this list of conditions and the following disclaimer.
|
| 10 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 11 |
+
notice, this list of conditions and the following disclaimer in the
|
| 12 |
+
documentation and/or other materials provided with the distribution.
|
| 13 |
+
3. Neither the name of the copyright holder nor the names of its
|
| 14 |
+
contributors may be used to endorse or promote products derived from
|
| 15 |
+
this software without specific prior written permission.
|
| 16 |
+
|
| 17 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 18 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 19 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 20 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
|
| 21 |
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 22 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 23 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 24 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
| 25 |
+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
| 26 |
+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
| 27 |
+
DAMAGE.
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/test_blas.bat
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
:: Trailing semicolon in this variable as set by current (2017/01)
|
| 2 |
+
:: conda-build breaks us. Manual fix:
|
| 3 |
+
set "MSYS2_ARG_CONV_EXCL=/AI;/AL;/OUT;/out"
|
| 4 |
+
copy "%RECIPE_DIR%\test_blas.sh" .
|
| 5 |
+
set CHERE_INVOKING=1
|
| 6 |
+
set "SHLIB_PREFIX="
|
| 7 |
+
bash -x "./test_blas.sh"
|
| 8 |
+
if errorlevel 1 exit 1
|
| 9 |
+
exit 0
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/test_blas.sh
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
set -ex
|
| 3 |
+
|
| 4 |
+
if [[ "$CONDA_BUILD_CROSS_COMPILATION" == "1" ]]; then
|
| 5 |
+
echo "BLAS compatibility tests skipped because of cross-compilation."
|
| 6 |
+
exit 0
|
| 7 |
+
fi
|
| 8 |
+
|
| 9 |
+
cd build
|
| 10 |
+
|
| 11 |
+
SKIP_TESTS="dummy"
|
| 12 |
+
|
| 13 |
+
if [[ "$target_platform" != osx-* ]]; then
|
| 14 |
+
ulimit -s unlimited
|
| 15 |
+
fi
|
| 16 |
+
|
| 17 |
+
if [[ "$target_platform" == osx-* ]]; then
|
| 18 |
+
# testing with shared libraries does not work. skip them.
|
| 19 |
+
# to test that program exits if wrong parameters are given, what the testsuite
|
| 20 |
+
# does is that the symbol xerbla (which logs the error and exits) is overriden
|
| 21 |
+
# by the test program's own version which reports to the test program that
|
| 22 |
+
# xerbla was called. This does not work with dylibs on osx and dlls on windows
|
| 23 |
+
SKIP_TESTS="${SKIP_TESTS}|x*cblat2|x*cblat3"
|
| 24 |
+
# Not sure why the following tests work with other blas implementations, but
|
| 25 |
+
# they check error codes as well
|
| 26 |
+
if [[ "${blas_impl}" == *"accelerate" ]]; then
|
| 27 |
+
SKIP_TESTS="${SKIP_TESTS}|xblat2*|xblat3*"
|
| 28 |
+
fi
|
| 29 |
+
if [[ "${blas_impl}" == "newaccelerate" ]]; then
|
| 30 |
+
SKIP_TESTS="${SKIP_TESTS}|LAPACK-xlintsts_stest_in|LAPACK-xlintstd_dtest_in"
|
| 31 |
+
SKIP_TESTS="${SKIP_TESTS}|LAPACK-xlintstc_ctest_in|LAPACK-xlintstz_ztest_in"
|
| 32 |
+
SKIP_TESTS="${SKIP_TESTS}|LAPACK-xeigtsts_sec_in|LAPACK-xeigtstd_dec_in"
|
| 33 |
+
SKIP_TESTS="${SKIP_TESTS}|LAPACK-xeigtstc_cec_in|LAPACK-xeigtstz_zec_in"
|
| 34 |
+
fi
|
| 35 |
+
fi
|
| 36 |
+
|
| 37 |
+
if [[ "${blas_impl}" == "mkl" ]]; then
|
| 38 |
+
# gained with MKL 2020.4 for lapack 3.9 across all x86_64 platforms, not sure why
|
| 39 |
+
# still present as of MKL 2021.3
|
| 40 |
+
SKIP_TESTS="${SKIP_TESTS}|LAPACK-xeigtstc_svd_in|LAPACK-xeigtstd_svd_in|LAPACK-xeigtsts_svd_in|LAPACK-xeigtstz_svd_in"
|
| 41 |
+
if [[ "$target_platform" == "linux-64" ]]; then
|
| 42 |
+
# TODO: figure out these segfaults
|
| 43 |
+
SKIP_TESTS="${SKIP_TESTS}|example_DGELS_rowmajor|example_DGELS_colmajor"
|
| 44 |
+
elif [[ "$target_platform" == "osx-64" || "$target_platform" == "win-64" ]]; then
|
| 45 |
+
# "shared" failures on osx-64, win-64
|
| 46 |
+
SKIP_TESTS="${SKIP_TESTS}|BLAS-xblat1c|LAPACK-xeigtstc_ced_in|LAPACK-xeigtstc_csb_in|LAPACK-xeigtstc_csg_in"
|
| 47 |
+
SKIP_TESTS="${SKIP_TESTS}|LAPACK-xeigtstc_se2_in|LAPACK-xeigtstc_sep_in"
|
| 48 |
+
SKIP_TESTS="${SKIP_TESTS}|LAPACK-xlintstc_ctest_in|LAPACK-xlintstrfc_ctest_rfp_in"
|
| 49 |
+
fi
|
| 50 |
+
if [[ "$target_platform" == "osx-64" ]]; then
|
| 51 |
+
# additional failures only on osx-64
|
| 52 |
+
SKIP_TESTS="${SKIP_TESTS}|BLAS-xblat1z|LAPACK-xeigtstz_se2_in|LAPACK-xeigtstz_sep_in"
|
| 53 |
+
SKIP_TESTS="${SKIP_TESTS}|LAPACK-xeigtstz_zed_in|LAPACK-xeigtstz_zsb_in|LAPACK-xeigtstz_zsg_in"
|
| 54 |
+
SKIP_TESTS="${SKIP_TESTS}|LAPACK-xlintstrfz_ztest_rfp_in|LAPACK-xlintstz_ztest_in|LAPACK-xlintstzc_zctest_in"
|
| 55 |
+
fi
|
| 56 |
+
if [[ "$target_platform" == "win-64" ]]; then
|
| 57 |
+
# new failures after switch to flang; only occur with pthreads
|
| 58 |
+
SKIP_TESTS="${SKIP_TESTS}|LAPACK-xlintsts_stest_in|LAPACK-xlintstd_dtest_in|LAPACK-xlintstz_ztest_in"
|
| 59 |
+
fi
|
| 60 |
+
fi
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
if [[ "$target_platform" == "win-64" ]]; then
|
| 64 |
+
${BUILD_PREFIX}/Library/bin/ctest --timeout 30 --output-on-failure -E "${SKIP_TESTS}"
|
| 65 |
+
else
|
| 66 |
+
# avoid hyperthreading problems in runners
|
| 67 |
+
export OMP_NUM_THREADS=1
|
| 68 |
+
ctest --timeout 30 --output-on-failure -E "${SKIP_TESTS}"
|
| 69 |
+
fi
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/recipe/parent/wrap_accelerate.c
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Some CBLAS functions that we need.
|
| 2 |
+
|
| 3 |
+
void cblas_cdotc_sub$NEWLAPACK(const int *, const float _Complex *, const int*, const float _Complex *, const int *, float _Complex *);
|
| 4 |
+
void cblas_cdotu_sub$NEWLAPACK(const int *, const float _Complex *, const int*, const float _Complex *, const int *, float _Complex *);
|
| 5 |
+
void cblas_zdotc_sub$NEWLAPACK(const int *, const double _Complex *, const int*, const double _Complex *, const int *, double _Complex *);
|
| 6 |
+
void cblas_zdotu_sub$NEWLAPACK(const int *, const double _Complex *, const int*, const double _Complex *, const int *, double _Complex *);
|
| 7 |
+
void dladiv$NEWLAPACK(double *, double *, double *, double *, double *, double *);
|
| 8 |
+
void sladiv$NEWLAPACK(float *, float *, float *, float *, float *, float *);
|
| 9 |
+
|
| 10 |
+
// These are the only 6 functions that are incompatible
|
| 11 |
+
// signature of cdotc is
|
| 12 |
+
//
|
| 13 |
+
// void cdotu_(__LAPACK_float_complex * _Nonnull ret_val, const __LAPACK_int * _Nonnull N,
|
| 14 |
+
// const __LAPACK_float_complex * _Nullable X, const __LAPACK_int * _Nonnull INCX,
|
| 15 |
+
// const __LAPACK_float_complex * _Nullable Y, const __LAPACK_int * _Nonnull INCY)
|
| 16 |
+
//
|
| 17 |
+
// Note that there is no return value and we need to pass a pointer to the result as the first argument
|
| 18 |
+
|
| 19 |
+
float _Complex cdotc(const int *N, const float _Complex *X, const int *incX, const float _Complex *Y, const int *incY)
|
| 20 |
+
{
|
| 21 |
+
float _Complex ret;
|
| 22 |
+
cblas_cdotc_sub$NEWLAPACK(N, X, incX, Y, incY, &ret);
|
| 23 |
+
return ret;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
float _Complex cdotu(const int *N, const float _Complex *X, const int *incX, const float _Complex *Y, const int *incY)
|
| 27 |
+
{
|
| 28 |
+
float _Complex ret;
|
| 29 |
+
cblas_cdotu_sub$NEWLAPACK(N, X, incX, Y, incY, &ret);
|
| 30 |
+
return ret;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
double _Complex zdotc(const int *N, const double _Complex *X, const int *incX, const double _Complex *Y, const int *incY)
|
| 34 |
+
{
|
| 35 |
+
double _Complex ret;
|
| 36 |
+
cblas_zdotc_sub$NEWLAPACK(N, X, incX, Y, incY, &ret);
|
| 37 |
+
return ret;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
double _Complex zdotu(const int *N, const double _Complex *X, const int *incX, const double _Complex *Y, const int *incY)
|
| 41 |
+
{
|
| 42 |
+
double _Complex ret;
|
| 43 |
+
cblas_zdotu_sub$NEWLAPACK(N, X, incX, Y, incY, &ret);
|
| 44 |
+
return ret;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
double _Complex zladiv(const double _Complex *x, const double _Complex *y)
|
| 48 |
+
{
|
| 49 |
+
double _Complex ret;
|
| 50 |
+
dladiv$NEWLAPACK((double*)(x), (double*)(x)+1, (double*)(y), (double*)(y)+1, (double*)(&ret), (double*)(&ret)+1);
|
| 51 |
+
return ret;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
float _Complex cladiv(const float _Complex *x, const float _Complex *y)
|
| 55 |
+
{
|
| 56 |
+
float _Complex ret;
|
| 57 |
+
sladiv$NEWLAPACK((float*)(x), (float*)(x)+1, (float*)(y), (float*)(y)+1, (float*)(&ret), (float*)(&ret)+1);
|
| 58 |
+
return ret;
|
| 59 |
+
}
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/repodata_record.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "libcblas",
|
| 3 |
+
"version": "3.11.0",
|
| 4 |
+
"build": "5_h0358290_openblas",
|
| 5 |
+
"build_number": 5,
|
| 6 |
+
"channel": "https://conda.anaconda.org/conda-forge/linux-64",
|
| 7 |
+
"subdir": "linux-64",
|
| 8 |
+
"fn": "libcblas-3.11.0-5_h0358290_openblas.conda",
|
| 9 |
+
"md5": "6636a2b6f1a87572df2970d3ebc87cc0",
|
| 10 |
+
"url": "https://conda.anaconda.org/conda-forge/linux-64/libcblas-3.11.0-5_h0358290_openblas.conda",
|
| 11 |
+
"sha256": "0cbdcc67901e02dc17f1d19e1f9170610bd828100dc207de4d5b6b8ad1ae7ad8",
|
| 12 |
+
"arch": "x86_64",
|
| 13 |
+
"platform": "linux",
|
| 14 |
+
"depends": [
|
| 15 |
+
"libblas 3.11.0 5_h4a7cf45_openblas"
|
| 16 |
+
],
|
| 17 |
+
"constrains": [
|
| 18 |
+
"liblapacke 3.11.0 5*_openblas",
|
| 19 |
+
"blas 2.305 openblas",
|
| 20 |
+
"liblapack 3.11.0 5*_openblas"
|
| 21 |
+
],
|
| 22 |
+
"license": "BSD-3-Clause",
|
| 23 |
+
"timestamp": 1765818837000,
|
| 24 |
+
"size": 18194
|
| 25 |
+
}
|
data/miniconda3/pkgs/libcblas-3.11.0-5_h0358290_openblas/info/run_exports.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"weak": ["libcblas >=3.11.0,<4.0a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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"channels": [
|
| 3 |
+
"https://repo.anaconda.com/pkgs/main",
|
| 4 |
+
"https://conda.anaconda.org/nvidia/linux-64"
|
| 5 |
+
],
|
| 6 |
+
"conda_build_version": "24.1.2",
|
| 7 |
+
"conda_version": "24.1.2",
|
| 8 |
+
"description": "cuRAND native runtime libraries\n",
|
| 9 |
+
"doc_url": "https://docs.nvidia.com/cuda/curand/",
|
| 10 |
+
"env_vars": {
|
| 11 |
+
"CIO_TEST": "<not set>"
|
| 12 |
+
},
|
| 13 |
+
"extra": {
|
| 14 |
+
"copy_test_source_files": true,
|
| 15 |
+
"final": true,
|
| 16 |
+
"recipe-maintainers": [
|
| 17 |
+
"conda-forge/cuda"
|
| 18 |
+
]
|
| 19 |
+
},
|
| 20 |
+
"home": "https://developer.nvidia.com/curand",
|
| 21 |
+
"identifiers": [],
|
| 22 |
+
"keywords": [],
|
| 23 |
+
"license": "LicenseRef-NVIDIA-End-User-License-Agreement",
|
| 24 |
+
"license_file": "LICENSE",
|
| 25 |
+
"license_url": "https://docs.nvidia.com/cuda/eula/index.html",
|
| 26 |
+
"root_pkgs": [
|
| 27 |
+
"_libgcc_mutex 0.1 main",
|
| 28 |
+
"_openmp_mutex 5.1 1_gnu",
|
| 29 |
+
"archspec 0.2.1 pyhd3eb1b0_0",
|
| 30 |
+
"boltons 23.0.0 py312h06a4308_0",
|
| 31 |
+
"brotli-python 1.0.9 py312h6a678d5_7",
|
| 32 |
+
"bzip2 1.0.8 h7b6447c_0",
|
| 33 |
+
"c-ares 1.19.1 h5eee18b_0",
|
| 34 |
+
"ca-certificates 2023.12.12 h06a4308_0",
|
| 35 |
+
"certifi 2024.2.2 py312h06a4308_0",
|
| 36 |
+
"cffi 1.16.0 py312h5eee18b_0",
|
| 37 |
+
"charset-normalizer 2.0.4 pyhd3eb1b0_0",
|
| 38 |
+
"conda 24.1.2 py312h06a4308_0",
|
| 39 |
+
"conda-content-trust 0.2.0 py312h06a4308_0",
|
| 40 |
+
"conda-libmamba-solver 23.12.0 pyhd3eb1b0_1",
|
| 41 |
+
"conda-package-handling 2.2.0 py312h06a4308_0",
|
| 42 |
+
"conda-package-streaming 0.9.0 py312h06a4308_0",
|
| 43 |
+
"cryptography 41.0.7 py312hdda0065_0",
|
| 44 |
+
"distro 1.8.0 py312h06a4308_0",
|
| 45 |
+
"expat 2.5.0 h6a678d5_0",
|
| 46 |
+
"fmt 9.1.0 hdb19cb5_0",
|
| 47 |
+
"icu 73.1 h6a678d5_0",
|
| 48 |
+
"idna 3.4 py312h06a4308_0",
|
| 49 |
+
"jsonpatch 1.32 pyhd3eb1b0_0",
|
| 50 |
+
"jsonpointer 2.1 pyhd3eb1b0_0",
|
| 51 |
+
"krb5 1.20.1 h143b758_1",
|
| 52 |
+
"ld_impl_linux-64 2.38 h1181459_1",
|
| 53 |
+
"libarchive 3.6.2 h6ac8c49_2",
|
| 54 |
+
"libcurl 8.5.0 h251f7ec_0",
|
| 55 |
+
"libedit 3.1.20230828 h5eee18b_0",
|
| 56 |
+
"libev 4.33 h7f8727e_1",
|
| 57 |
+
"libffi 3.4.4 h6a678d5_0",
|
| 58 |
+
"libgcc-ng 11.2.0 h1234567_1",
|
| 59 |
+
"libgomp 11.2.0 h1234567_1",
|
| 60 |
+
"libmamba 1.5.3 haf1ee3a_0",
|
| 61 |
+
"libmambapy 1.5.3 py312h2dafd23_0",
|
| 62 |
+
"libnghttp2 1.57.0 h2d74bed_0",
|
| 63 |
+
"libsolv 0.7.24 he621ea3_0",
|
| 64 |
+
"libssh2 1.10.0 hdbd6064_2",
|
| 65 |
+
"libstdcxx-ng 11.2.0 h1234567_1",
|
| 66 |
+
"libuuid 1.41.5 h5eee18b_0",
|
| 67 |
+
"libxml2 2.10.4 hf1b16e4_1",
|
| 68 |
+
"lz4-c 1.9.4 h6a678d5_0",
|
| 69 |
+
"menuinst 2.0.2 py312h06a4308_0",
|
| 70 |
+
"ncurses 6.4 h6a678d5_0",
|
| 71 |
+
"openssl 3.0.13 h7f8727e_0",
|
| 72 |
+
"packaging 23.1 py312h06a4308_0",
|
| 73 |
+
"pcre2 10.42 hebb0a14_0",
|
| 74 |
+
"pip 23.3.1 py312h06a4308_0",
|
| 75 |
+
"platformdirs 3.10.0 py312h06a4308_0",
|
| 76 |
+
"pluggy 1.0.0 py312h06a4308_1",
|
| 77 |
+
"pybind11-abi 4 hd3eb1b0_1",
|
| 78 |
+
"pycosat 0.6.6 py312h5eee18b_0",
|
| 79 |
+
"pycparser 2.21 pyhd3eb1b0_0",
|
| 80 |
+
"pysocks 1.7.1 py312h06a4308_0",
|
| 81 |
+
"python 3.12.1 h996f2a0_0",
|
| 82 |
+
"readline 8.2 h5eee18b_0",
|
| 83 |
+
"reproc 14.2.4 h295c915_1",
|
| 84 |
+
"reproc-cpp 14.2.4 h295c915_1",
|
| 85 |
+
"requests 2.31.0 py312h06a4308_1",
|
| 86 |
+
"ruamel.yaml 0.17.21 py312h5eee18b_0",
|
| 87 |
+
"setuptools 68.2.2 py312h06a4308_0",
|
| 88 |
+
"sqlite 3.41.2 h5eee18b_0",
|
| 89 |
+
"tk 8.6.12 h1ccaba5_0",
|
| 90 |
+
"tqdm 4.65.0 py312he106c6f_0",
|
| 91 |
+
"truststore 0.8.0 py312h06a4308_0",
|
| 92 |
+
"tzdata 2023d h04d1e81_0",
|
| 93 |
+
"urllib3 2.1.0 py312h06a4308_1",
|
| 94 |
+
"wheel 0.41.2 py312h06a4308_0",
|
| 95 |
+
"xz 5.4.5 h5eee18b_0",
|
| 96 |
+
"yaml-cpp 0.8.0 h6a678d5_0",
|
| 97 |
+
"zlib 1.2.13 h5eee18b_0",
|
| 98 |
+
"zstandard 0.19.0 py312h5eee18b_0",
|
| 99 |
+
"zstd 1.5.5 hc292b87_0",
|
| 100 |
+
"anaconda-anon-usage 0.4.3 py312hfc0e8ea_100",
|
| 101 |
+
"anaconda-client 1.12.3 py312h06a4308_0",
|
| 102 |
+
"attrs 23.1.0 py312h06a4308_0",
|
| 103 |
+
"beautifulsoup4 4.12.2 py312h06a4308_0",
|
| 104 |
+
"chardet 4.0.0 py312h06a4308_1003",
|
| 105 |
+
"click 8.1.7 py312h06a4308_0",
|
| 106 |
+
"conda-build 24.1.2 py312h06a4308_0",
|
| 107 |
+
"conda-index 0.4.0 pyhd3eb1b0_0",
|
| 108 |
+
"defusedxml 0.7.1 pyhd3eb1b0_0",
|
| 109 |
+
"filelock 3.13.1 py312h06a4308_0",
|
| 110 |
+
"jinja2 3.1.3 py312h06a4308_0",
|
| 111 |
+
"jsonschema 4.19.2 py312h06a4308_0",
|
| 112 |
+
"jsonschema-specifications 2023.7.1 py312h06a4308_0",
|
| 113 |
+
"jupyter_core 5.5.0 py312h06a4308_0",
|
| 114 |
+
"liblief 0.12.3 h6a678d5_0",
|
| 115 |
+
"markupsafe 2.1.3 py312h5eee18b_0",
|
| 116 |
+
"more-itertools 10.1.0 py312h06a4308_0",
|
| 117 |
+
"nbformat 5.9.2 py312h06a4308_0",
|
| 118 |
+
"patch 2.7.6 h7b6447c_1001",
|
| 119 |
+
"patchelf 0.17.2 h6a678d5_0",
|
| 120 |
+
"pkginfo 1.9.6 py312h06a4308_0",
|
| 121 |
+
"psutil 5.9.0 py312h5eee18b_0",
|
| 122 |
+
"py-lief 0.12.3 py312h6a678d5_0",
|
| 123 |
+
"python-dateutil 2.8.2 pyhd3eb1b0_0",
|
| 124 |
+
"python-fastjsonschema 2.16.2 py312h06a4308_0",
|
| 125 |
+
"python-libarchive-c 2.9 pyhd3eb1b0_1",
|
| 126 |
+
"pytz 2023.3.post1 py312h06a4308_0",
|
| 127 |
+
"pyyaml 6.0.1 py312h5eee18b_0",
|
| 128 |
+
"referencing 0.30.2 py312h06a4308_0",
|
| 129 |
+
"requests-toolbelt 1.0.0 py312h06a4308_0",
|
| 130 |
+
"rpds-py 0.10.6 py312hb02cf49_0",
|
| 131 |
+
"six 1.16.0 pyhd3eb1b0_1",
|
| 132 |
+
"soupsieve 2.5 py312h06a4308_0",
|
| 133 |
+
"traitlets 5.7.1 py312h06a4308_0",
|
| 134 |
+
"yaml 0.2.5 h7b6447c_0"
|
| 135 |
+
],
|
| 136 |
+
"summary": "cuRAND native runtime libraries",
|
| 137 |
+
"tags": []
|
| 138 |
+
}
|
data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/files
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
lib/libcurand.so.10
|
| 2 |
+
lib/libcurand.so.10.3.9.90
|
| 3 |
+
targets/x86_64-linux/lib/libcurand.so.10
|
| 4 |
+
targets/x86_64-linux/lib/libcurand.so.10.3.9.90
|
data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/git
ADDED
|
File without changes
|
data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/index.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"arch": "x86_64",
|
| 3 |
+
"build": "0",
|
| 4 |
+
"build_number": 0,
|
| 5 |
+
"depends": [
|
| 6 |
+
"__glibc >=2.17,<3.0.a0",
|
| 7 |
+
"cuda-version >=12.8,<12.9.0a0",
|
| 8 |
+
"libgcc-ng >=11.2.0",
|
| 9 |
+
"libstdcxx-ng >=11.2.0"
|
| 10 |
+
],
|
| 11 |
+
"license": "LicenseRef-NVIDIA-End-User-License-Agreement",
|
| 12 |
+
"name": "libcurand",
|
| 13 |
+
"platform": "linux",
|
| 14 |
+
"subdir": "linux-64",
|
| 15 |
+
"timestamp": 1739445666652,
|
| 16 |
+
"version": "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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
End User License Agreement
|
| 2 |
+
--------------------------
|
| 3 |
+
|
| 4 |
+
NVIDIA Software License Agreement and CUDA Supplement to
|
| 5 |
+
Software License Agreement.
|
| 6 |
+
|
| 7 |
+
The CUDA Toolkit End User License Agreement applies to the
|
| 8 |
+
NVIDIA CUDA Toolkit, the NVIDIA CUDA Samples, the NVIDIA
|
| 9 |
+
Display Driver, NVIDIA Nsight tools (Visual Studio Edition),
|
| 10 |
+
and the associated documentation on CUDA APIs, programming
|
| 11 |
+
model and development tools. If you do not agree with the
|
| 12 |
+
terms and conditions of the license agreement, then do not
|
| 13 |
+
download or use the software.
|
| 14 |
+
|
| 15 |
+
Last updated: January 12, 2024.
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
Preface
|
| 19 |
+
-------
|
| 20 |
+
|
| 21 |
+
The Software License Agreement in Chapter 1 and the Supplement
|
| 22 |
+
in Chapter 2 contain license terms and conditions that govern
|
| 23 |
+
the use of NVIDIA toolkit. By accepting this agreement, you
|
| 24 |
+
agree to comply with all the terms and conditions applicable
|
| 25 |
+
to the product(s) included herein.
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
NVIDIA Driver
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
Description
|
| 32 |
+
|
| 33 |
+
This package contains the operating system driver and
|
| 34 |
+
fundamental system software components for NVIDIA GPUs.
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
NVIDIA CUDA Toolkit
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
Description
|
| 41 |
+
|
| 42 |
+
The NVIDIA CUDA Toolkit provides command-line and graphical
|
| 43 |
+
tools for building, debugging and optimizing the performance
|
| 44 |
+
of applications accelerated by NVIDIA GPUs, runtime and math
|
| 45 |
+
libraries, and documentation including programming guides,
|
| 46 |
+
user manuals, and API references.
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
Default Install Location of CUDA Toolkit
|
| 50 |
+
|
| 51 |
+
Windows platform:
|
| 52 |
+
|
| 53 |
+
%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v#.#
|
| 54 |
+
|
| 55 |
+
Linux platform:
|
| 56 |
+
|
| 57 |
+
/usr/local/cuda-#.#
|
| 58 |
+
|
| 59 |
+
Mac platform:
|
| 60 |
+
|
| 61 |
+
/Developer/NVIDIA/CUDA-#.#
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
NVIDIA CUDA Samples
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
Description
|
| 68 |
+
|
| 69 |
+
CUDA Samples are now located in
|
| 70 |
+
https://github.com/nvidia/cuda-samples, which includes
|
| 71 |
+
instructions for obtaining, building, and running the samples.
|
| 72 |
+
They are no longer included in the CUDA toolkit.
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
NVIDIA Nsight Visual Studio Edition (Windows only)
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
Description
|
| 79 |
+
|
| 80 |
+
NVIDIA Nsight Development Platform, Visual Studio Edition is a
|
| 81 |
+
development environment integrated into Microsoft Visual
|
| 82 |
+
Studio that provides tools for debugging, profiling, analyzing
|
| 83 |
+
and optimizing your GPU computing and graphics applications.
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
Default Install Location of Nsight Visual Studio Edition
|
| 87 |
+
|
| 88 |
+
Windows platform:
|
| 89 |
+
|
| 90 |
+
%ProgramFiles(x86)%\NVIDIA Corporation\Nsight Visual Studio Edition #.#
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
1. License Agreement for NVIDIA Software Development Kits
|
| 94 |
+
---------------------------------------------------------
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
Important Notice—Read before downloading, installing,
|
| 98 |
+
copying or using the licensed software:
|
| 99 |
+
-------------------------------------------------------
|
| 100 |
+
|
| 101 |
+
This license agreement, including exhibits attached
|
| 102 |
+
("Agreement”) is a legal agreement between you and NVIDIA
|
| 103 |
+
Corporation ("NVIDIA") and governs your use of a NVIDIA
|
| 104 |
+
software development kit (“SDK”).
|
| 105 |
+
|
| 106 |
+
Each SDK has its own set of software and materials, but here
|
| 107 |
+
is a description of the types of items that may be included in
|
| 108 |
+
a SDK: source code, header files, APIs, data sets and assets
|
| 109 |
+
(examples include images, textures, models, scenes, videos,
|
| 110 |
+
native API input/output files), binary software, sample code,
|
| 111 |
+
libraries, utility programs, programming code and
|
| 112 |
+
documentation.
|
| 113 |
+
|
| 114 |
+
This Agreement can be accepted only by an adult of legal age
|
| 115 |
+
of majority in the country in which the SDK is used.
|
| 116 |
+
|
| 117 |
+
If you are entering into this Agreement on behalf of a company
|
| 118 |
+
or other legal entity, you represent that you have the legal
|
| 119 |
+
authority to bind the entity to this Agreement, in which case
|
| 120 |
+
“you” will mean the entity you represent.
|
| 121 |
+
|
| 122 |
+
If you don’t have the required age or authority to accept
|
| 123 |
+
this Agreement, or if you don’t accept all the terms and
|
| 124 |
+
conditions of this Agreement, do not download, install or use
|
| 125 |
+
the SDK.
|
| 126 |
+
|
| 127 |
+
You agree to use the SDK only for purposes that are permitted
|
| 128 |
+
by (a) this Agreement, and (b) any applicable law, regulation
|
| 129 |
+
or generally accepted practices or guidelines in the relevant
|
| 130 |
+
jurisdictions.
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
1.1. License
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
1.1.1. License Grant
|
| 137 |
+
|
| 138 |
+
Subject to the terms of this Agreement, NVIDIA hereby grants
|
| 139 |
+
you a non-exclusive, non-transferable license, without the
|
| 140 |
+
right to sublicense (except as expressly provided in this
|
| 141 |
+
Agreement) to:
|
| 142 |
+
|
| 143 |
+
1. Install and use the SDK,
|
| 144 |
+
|
| 145 |
+
2. Modify and create derivative works of sample source code
|
| 146 |
+
delivered in the SDK, and
|
| 147 |
+
|
| 148 |
+
3. Distribute those portions of the SDK that are identified
|
| 149 |
+
in this Agreement as distributable, as incorporated in
|
| 150 |
+
object code format into a software application that meets
|
| 151 |
+
the distribution requirements indicated in this Agreement.
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
1.1.2. Distribution Requirements
|
| 155 |
+
|
| 156 |
+
These are the distribution requirements for you to exercise
|
| 157 |
+
the distribution grant:
|
| 158 |
+
|
| 159 |
+
1. Your application must have material additional
|
| 160 |
+
functionality, beyond the included portions of the SDK.
|
| 161 |
+
|
| 162 |
+
2. The distributable portions of the SDK shall only be
|
| 163 |
+
accessed by your application.
|
| 164 |
+
|
| 165 |
+
3. The following notice shall be included in modifications
|
| 166 |
+
and derivative works of sample source code distributed:
|
| 167 |
+
“This software contains source code provided by NVIDIA
|
| 168 |
+
Corporation.”
|
| 169 |
+
|
| 170 |
+
4. Unless a developer tool is identified in this Agreement
|
| 171 |
+
as distributable, it is delivered for your internal use
|
| 172 |
+
only.
|
| 173 |
+
|
| 174 |
+
5. The terms under which you distribute your application
|
| 175 |
+
must be consistent with the terms of this Agreement,
|
| 176 |
+
including (without limitation) terms relating to the
|
| 177 |
+
license grant and license restrictions and protection of
|
| 178 |
+
NVIDIA’s intellectual property rights. Additionally, you
|
| 179 |
+
agree that you will protect the privacy, security and
|
| 180 |
+
legal rights of your application users.
|
| 181 |
+
|
| 182 |
+
6. You agree to notify NVIDIA in writing of any known or
|
| 183 |
+
suspected distribution or use of the SDK not in compliance
|
| 184 |
+
with the requirements of this Agreement, and to enforce
|
| 185 |
+
the terms of your agreements with respect to distributed
|
| 186 |
+
SDK.
|
| 187 |
+
|
| 188 |
+
|
| 189 |
+
1.1.3. Authorized Users
|
| 190 |
+
|
| 191 |
+
You may allow employees and contractors of your entity or of
|
| 192 |
+
your subsidiary(ies) to access and use the SDK from your
|
| 193 |
+
secure network to perform work on your behalf.
|
| 194 |
+
|
| 195 |
+
If you are an academic institution you may allow users
|
| 196 |
+
enrolled or employed by the academic institution to access and
|
| 197 |
+
use the SDK from your secure network.
|
| 198 |
+
|
| 199 |
+
You are responsible for the compliance with the terms of this
|
| 200 |
+
Agreement by your authorized users. If you become aware that
|
| 201 |
+
your authorized users didn’t follow the terms of this
|
| 202 |
+
Agreement, you agree to take reasonable steps to resolve the
|
| 203 |
+
non-compliance and prevent new occurrences.
|
| 204 |
+
|
| 205 |
+
|
| 206 |
+
1.1.4. Pre-Release SDK
|
| 207 |
+
|
| 208 |
+
The SDK versions identified as alpha, beta, preview or
|
| 209 |
+
otherwise as pre-release, may not be fully functional, may
|
| 210 |
+
contain errors or design flaws, and may have reduced or
|
| 211 |
+
different security, privacy, accessibility, availability, and
|
| 212 |
+
reliability standards relative to commercial versions of
|
| 213 |
+
NVIDIA software and materials. Use of a pre-release SDK may
|
| 214 |
+
result in unexpected results, loss of data, project delays or
|
| 215 |
+
other unpredictable damage or loss.
|
| 216 |
+
|
| 217 |
+
You may use a pre-release SDK at your own risk, understanding
|
| 218 |
+
that pre-release SDKs are not intended for use in production
|
| 219 |
+
or business-critical systems.
|
| 220 |
+
|
| 221 |
+
NVIDIA may choose not to make available a commercial version
|
| 222 |
+
of any pre-release SDK. NVIDIA may also choose to abandon
|
| 223 |
+
development and terminate the availability of a pre-release
|
| 224 |
+
SDK at any time without liability.
|
| 225 |
+
|
| 226 |
+
|
| 227 |
+
1.1.5. Updates
|
| 228 |
+
|
| 229 |
+
NVIDIA may, at its option, make available patches, workarounds
|
| 230 |
+
or other updates to this SDK. Unless the updates are provided
|
| 231 |
+
with their separate governing terms, they are deemed part of
|
| 232 |
+
the SDK licensed to you as provided in this Agreement. You
|
| 233 |
+
agree that the form and content of the SDK that NVIDIA
|
| 234 |
+
provides may change without prior notice to you. While NVIDIA
|
| 235 |
+
generally maintains compatibility between versions, NVIDIA may
|
| 236 |
+
in some cases make changes that introduce incompatibilities in
|
| 237 |
+
future versions of the SDK.
|
| 238 |
+
|
| 239 |
+
|
| 240 |
+
1.1.6. Components Under Other Licenses
|
| 241 |
+
|
| 242 |
+
The SDK may come bundled with, or otherwise include or be
|
| 243 |
+
distributed with, NVIDIA or third-party components with
|
| 244 |
+
separate legal notices or terms as may be described in
|
| 245 |
+
proprietary notices accompanying the SDK. If and to the extent
|
| 246 |
+
there is a conflict between the terms in this Agreement and
|
| 247 |
+
the license terms associated with the component, the license
|
| 248 |
+
terms associated with the components control only to the
|
| 249 |
+
extent necessary to resolve the conflict.
|
| 250 |
+
|
| 251 |
+
Subject to the other terms of this Agreement, you may use the
|
| 252 |
+
SDK to develop and test applications released under Open
|
| 253 |
+
Source Initiative (OSI) approved open source software
|
| 254 |
+
licenses.
|
| 255 |
+
|
| 256 |
+
|
| 257 |
+
1.1.7. Reservation of Rights
|
| 258 |
+
|
| 259 |
+
NVIDIA reserves all rights, title, and interest in and to the
|
| 260 |
+
SDK, not expressly granted to you under this Agreement.
|
| 261 |
+
|
| 262 |
+
|
| 263 |
+
1.2. Limitations
|
| 264 |
+
|
| 265 |
+
The following license limitations apply to your use of the
|
| 266 |
+
SDK:
|
| 267 |
+
|
| 268 |
+
1. You may not reverse engineer, decompile or disassemble,
|
| 269 |
+
or remove copyright or other proprietary notices from any
|
| 270 |
+
portion of the SDK or copies of the SDK.
|
| 271 |
+
|
| 272 |
+
2. Except as expressly provided in this Agreement, you may
|
| 273 |
+
not copy, sell, rent, sublicense, transfer, distribute,
|
| 274 |
+
modify, or create derivative works of any portion of the
|
| 275 |
+
SDK. For clarity, you may not distribute or sublicense the
|
| 276 |
+
SDK as a stand-alone product.
|
| 277 |
+
|
| 278 |
+
3. Unless you have an agreement with NVIDIA for this
|
| 279 |
+
purpose, you may not indicate that an application created
|
| 280 |
+
with the SDK is sponsored or endorsed by NVIDIA.
|
| 281 |
+
|
| 282 |
+
4. You may not bypass, disable, or circumvent any
|
| 283 |
+
encryption, security, digital rights management or
|
| 284 |
+
authentication mechanism in the SDK.
|
| 285 |
+
|
| 286 |
+
5. You may not use the SDK in any manner that would cause it
|
| 287 |
+
to become subject to an open source software license. As
|
| 288 |
+
examples, licenses that require as a condition of use,
|
| 289 |
+
modification, and/or distribution that the SDK be:
|
| 290 |
+
|
| 291 |
+
a. Disclosed or distributed in source code form;
|
| 292 |
+
|
| 293 |
+
b. Licensed for the purpose of making derivative works;
|
| 294 |
+
or
|
| 295 |
+
|
| 296 |
+
c. Redistributable at no charge.
|
| 297 |
+
|
| 298 |
+
6. You acknowledge that the SDK as delivered is not tested
|
| 299 |
+
or certified by NVIDIA for use in connection with the
|
| 300 |
+
design, construction, maintenance, and/or operation of any
|
| 301 |
+
system where the use or failure of such system could
|
| 302 |
+
result in a situation that threatens the safety of human
|
| 303 |
+
life or results in catastrophic damages (each, a "Critical
|
| 304 |
+
Application"). Examples of Critical Applications include
|
| 305 |
+
use in avionics, navigation, autonomous vehicle
|
| 306 |
+
applications, ai solutions for automotive products,
|
| 307 |
+
military, medical, life support or other life critical
|
| 308 |
+
applications. NVIDIA shall not be liable to you or any
|
| 309 |
+
third party, in whole or in part, for any claims or
|
| 310 |
+
damages arising from such uses. You are solely responsible
|
| 311 |
+
for ensuring that any product or service developed with
|
| 312 |
+
the SDK as a whole includes sufficient features to comply
|
| 313 |
+
with all applicable legal and regulatory standards and
|
| 314 |
+
requirements.
|
| 315 |
+
|
| 316 |
+
7. You agree to defend, indemnify and hold harmless NVIDIA
|
| 317 |
+
and its affiliates, and their respective employees,
|
| 318 |
+
contractors, agents, officers and directors, from and
|
| 319 |
+
against any and all claims, damages, obligations, losses,
|
| 320 |
+
liabilities, costs or debt, fines, restitutions and
|
| 321 |
+
expenses (including but not limited to attorney’s fees
|
| 322 |
+
and costs incident to establishing the right of
|
| 323 |
+
indemnification) arising out of or related to products or
|
| 324 |
+
services that use the SDK in or for Critical Applications,
|
| 325 |
+
and for use of the SDK outside of the scope of this
|
| 326 |
+
Agreement or not in compliance with its terms.
|
| 327 |
+
|
| 328 |
+
8. You may not reverse engineer, decompile or disassemble
|
| 329 |
+
any portion of the output generated using SDK elements for
|
| 330 |
+
the purpose of translating such output artifacts to target
|
| 331 |
+
a non-NVIDIA platform.
|
| 332 |
+
|
| 333 |
+
|
| 334 |
+
1.3. Ownership
|
| 335 |
+
|
| 336 |
+
1. NVIDIA or its licensors hold all rights, title and
|
| 337 |
+
interest in and to the SDK and its modifications and
|
| 338 |
+
derivative works, including their respective intellectual
|
| 339 |
+
property rights, subject to your rights under Section
|
| 340 |
+
1.3.2. This SDK may include software and materials from
|
| 341 |
+
NVIDIA’s licensors, and these licensors are intended
|
| 342 |
+
third party beneficiaries that may enforce this Agreement
|
| 343 |
+
with respect to their intellectual property rights.
|
| 344 |
+
|
| 345 |
+
2. You hold all rights, title and interest in and to your
|
| 346 |
+
applications and your derivative works of the sample
|
| 347 |
+
source code delivered in the SDK, including their
|
| 348 |
+
respective intellectual property rights, subject to
|
| 349 |
+
NVIDIA’s rights under Section 1.3.1.
|
| 350 |
+
|
| 351 |
+
3. You may, but don’t have to, provide to NVIDIA
|
| 352 |
+
suggestions, feature requests or other feedback regarding
|
| 353 |
+
the SDK, including possible enhancements or modifications
|
| 354 |
+
to the SDK. For any feedback that you voluntarily provide,
|
| 355 |
+
you hereby grant NVIDIA and its affiliates a perpetual,
|
| 356 |
+
non-exclusive, worldwide, irrevocable license to use,
|
| 357 |
+
reproduce, modify, license, sublicense (through multiple
|
| 358 |
+
tiers of sublicensees), and distribute (through multiple
|
| 359 |
+
tiers of distributors) it without the payment of any
|
| 360 |
+
royalties or fees to you. NVIDIA will use feedback at its
|
| 361 |
+
choice. NVIDIA is constantly looking for ways to improve
|
| 362 |
+
its products, so you may send feedback to NVIDIA through
|
| 363 |
+
the developer portal at https://developer.nvidia.com.
|
| 364 |
+
|
| 365 |
+
|
| 366 |
+
1.4. No Warranties
|
| 367 |
+
|
| 368 |
+
THE SDK IS PROVIDED BY NVIDIA “AS IS” AND “WITH ALL
|
| 369 |
+
FAULTS.” TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND
|
| 370 |
+
ITS AFFILIATES EXPRESSLY DISCLAIM ALL WARRANTIES OF ANY KIND
|
| 371 |
+
OR NATURE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING,
|
| 372 |
+
BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS
|
| 373 |
+
FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT, OR THE
|
| 374 |
+
ABSENCE OF ANY DEFECTS THEREIN, WHETHER LATENT OR PATENT. NO
|
| 375 |
+
WARRANTY IS MADE ON THE BASIS OF TRADE USAGE, COURSE OF
|
| 376 |
+
DEALING OR COURSE OF TRADE.
|
| 377 |
+
|
| 378 |
+
|
| 379 |
+
1.5. Limitation of Liability
|
| 380 |
+
|
| 381 |
+
TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND ITS
|
| 382 |
+
AFFILIATES SHALL NOT BE LIABLE FOR ANY (I) SPECIAL, INCIDENTAL,
|
| 383 |
+
PUNITIVE OR CONSEQUENTIAL DAMAGES, OR (II) DAMAGES FOR (A) ANY
|
| 384 |
+
LOST PROFITS, LOSS OF USE, LOSS OF DATA OR LOSS OF GOODWILL,
|
| 385 |
+
OR THE COSTS OF PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF
|
| 386 |
+
OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OR PERFORMANCE
|
| 387 |
+
OF THE SDK, WHETHER SUCH LIABILITY ARISES FROM ANY CLAIM BASED
|
| 388 |
+
UPON BREACH OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING
|
| 389 |
+
NEGLIGENCE), PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR
|
| 390 |
+
THEORY OF LIABILITY. IN NO EVENT WILL NVIDIA’S AND ITS AFFILIATES
|
| 391 |
+
TOTAL CUMULATIVE LIABILITY UNDER OR ARISING OUT OF THIS
|
| 392 |
+
AGREEMENT EXCEED US$10.00. THE NATURE OF THE LIABILITY OR THE
|
| 393 |
+
NUMBER OF CLAIMS OR SUITS SHALL NOT ENLARGE OR EXTEND THIS
|
| 394 |
+
LIMIT.
|
| 395 |
+
|
| 396 |
+
These exclusions and limitations of liability shall apply
|
| 397 |
+
regardless if NVIDIA or its affiliates have been advised of
|
| 398 |
+
the possibility of such damages, and regardless of whether a
|
| 399 |
+
remedy fails its essential purpose. These exclusions and
|
| 400 |
+
limitations of liability form an essential basis of the
|
| 401 |
+
bargain between the parties, and, absent any of these
|
| 402 |
+
exclusions or limitations of liability, the provisions of this
|
| 403 |
+
Agreement, including, without limitation, the economic terms,
|
| 404 |
+
would be substantially different.
|
| 405 |
+
|
| 406 |
+
|
| 407 |
+
1.6. Termination
|
| 408 |
+
|
| 409 |
+
1. This Agreement will continue to apply until terminated by
|
| 410 |
+
either you or NVIDIA as described below.
|
| 411 |
+
|
| 412 |
+
2. If you want to terminate this Agreement, you may do so by
|
| 413 |
+
stopping to use the SDK.
|
| 414 |
+
|
| 415 |
+
3. NVIDIA may, at any time, terminate this Agreement if:
|
| 416 |
+
|
| 417 |
+
a. (i) you fail to comply with any term of this
|
| 418 |
+
Agreement and the non-compliance is not fixed within
|
| 419 |
+
thirty (30) days following notice from NVIDIA (or
|
| 420 |
+
immediately if you violate NVIDIA’s intellectual
|
| 421 |
+
property rights);
|
| 422 |
+
|
| 423 |
+
b. (ii) you commence or participate in any legal
|
| 424 |
+
proceeding against NVIDIA with respect to the SDK; or
|
| 425 |
+
|
| 426 |
+
c. (iii) NVIDIA decides to no longer provide the SDK in
|
| 427 |
+
a country or, in NVIDIA’s sole discretion, the
|
| 428 |
+
continued use of it is no longer commercially viable.
|
| 429 |
+
|
| 430 |
+
4. Upon any termination of this Agreement, you agree to
|
| 431 |
+
promptly discontinue use of the SDK and destroy all copies
|
| 432 |
+
in your possession or control. Your prior distributions in
|
| 433 |
+
accordance with this Agreement are not affected by the
|
| 434 |
+
termination of this Agreement. Upon written request, you
|
| 435 |
+
will certify in writing that you have complied with your
|
| 436 |
+
commitments under this section. Upon any termination of
|
| 437 |
+
this Agreement all provisions survive except for the
|
| 438 |
+
license grant provisions.
|
| 439 |
+
|
| 440 |
+
|
| 441 |
+
1.7. General
|
| 442 |
+
|
| 443 |
+
If you wish to assign this Agreement or your rights and
|
| 444 |
+
obligations, including by merger, consolidation, dissolution
|
| 445 |
+
or operation of law, contact NVIDIA to ask for permission. Any
|
| 446 |
+
attempted assignment not approved by NVIDIA in writing shall
|
| 447 |
+
be void and of no effect. NVIDIA may assign, delegate or
|
| 448 |
+
transfer this Agreement and its rights and obligations, and if
|
| 449 |
+
to a non-affiliate you will be notified.
|
| 450 |
+
|
| 451 |
+
You agree to cooperate with NVIDIA and provide reasonably
|
| 452 |
+
requested information to verify your compliance with this
|
| 453 |
+
Agreement.
|
| 454 |
+
|
| 455 |
+
This Agreement will be governed in all respects by the laws of
|
| 456 |
+
the United States and of the State of Delaware, without regard to the
|
| 457 |
+
conflicts of laws principles. The United Nations Convention on
|
| 458 |
+
Contracts for the International Sale of Goods is specifically
|
| 459 |
+
disclaimed. You agree to all terms of this Agreement in the
|
| 460 |
+
English language.
|
| 461 |
+
|
| 462 |
+
The state or federal courts residing in Santa Clara County,
|
| 463 |
+
California shall have exclusive jurisdiction over any dispute
|
| 464 |
+
or claim arising out of this Agreement. Notwithstanding this,
|
| 465 |
+
you agree that NVIDIA shall still be allowed to apply for
|
| 466 |
+
injunctive remedies or an equivalent type of urgent legal
|
| 467 |
+
relief in any jurisdiction.
|
| 468 |
+
|
| 469 |
+
If any court of competent jurisdiction determines that any
|
| 470 |
+
provision of this Agreement is illegal, invalid or
|
| 471 |
+
unenforceable, such provision will be construed as limited to
|
| 472 |
+
the extent necessary to be consistent with and fully
|
| 473 |
+
enforceable under the law and the remaining provisions will
|
| 474 |
+
remain in full force and effect. Unless otherwise specified,
|
| 475 |
+
remedies are cumulative.
|
| 476 |
+
|
| 477 |
+
Each party acknowledges and agrees that the other is an
|
| 478 |
+
independent contractor in the performance of this Agreement.
|
| 479 |
+
|
| 480 |
+
The SDK has been developed entirely at private expense and is
|
| 481 |
+
“commercial items” consisting of “commercial computer
|
| 482 |
+
software” and “commercial computer software
|
| 483 |
+
documentation” provided with RESTRICTED RIGHTS. Use,
|
| 484 |
+
duplication or disclosure by the U.S. Government or a U.S.
|
| 485 |
+
Government subcontractor is subject to the restrictions in
|
| 486 |
+
this Agreement pursuant to DFARS 227.7202-3(a) or as set forth
|
| 487 |
+
in subparagraphs (c)(1) and (2) of the Commercial Computer
|
| 488 |
+
Software - Restricted Rights clause at FAR 52.227-19, as
|
| 489 |
+
applicable. Contractor/manufacturer is NVIDIA, 2788 San Tomas
|
| 490 |
+
Expressway, Santa Clara, CA 95051.
|
| 491 |
+
|
| 492 |
+
The SDK is subject to United States export laws and
|
| 493 |
+
regulations. You agree that you will not ship, transfer or
|
| 494 |
+
export the SDK into any country, or use the SDK in any manner,
|
| 495 |
+
prohibited by the United States Bureau of Industry and
|
| 496 |
+
Security or economic sanctions regulations administered by the
|
| 497 |
+
U.S. Department of Treasury’s Office of Foreign Assets
|
| 498 |
+
Control (OFAC), or any applicable export laws, restrictions or
|
| 499 |
+
regulations. These laws include restrictions on destinations,
|
| 500 |
+
end users and end use. By accepting this Agreement, you
|
| 501 |
+
confirm that you are not located in a country currently
|
| 502 |
+
embargoed by the U.S. or otherwise prohibited from receiving
|
| 503 |
+
the SDK under U.S. law.
|
| 504 |
+
|
| 505 |
+
Any notice delivered by NVIDIA to you under this Agreement
|
| 506 |
+
will be delivered via mail, email or fax. You agree that any
|
| 507 |
+
notices that NVIDIA sends you electronically will satisfy any
|
| 508 |
+
legal communication requirements. Please direct your legal
|
| 509 |
+
notices or other correspondence to NVIDIA Corporation, 2788
|
| 510 |
+
San Tomas Expressway, Santa Clara, California 95051, United
|
| 511 |
+
States of America, Attention: Legal Department.
|
| 512 |
+
|
| 513 |
+
This Agreement and any exhibits incorporated into this
|
| 514 |
+
Agreement constitute the entire agreement of the parties with
|
| 515 |
+
respect to the subject matter of this Agreement and supersede
|
| 516 |
+
all prior negotiations or documentation exchanged between the
|
| 517 |
+
parties relating to this SDK license. Any additional and/or
|
| 518 |
+
conflicting terms on documents issued by you are null, void,
|
| 519 |
+
and invalid. Any amendment or waiver under this Agreement
|
| 520 |
+
shall be in writing and signed by representatives of both
|
| 521 |
+
parties.
|
| 522 |
+
|
| 523 |
+
|
| 524 |
+
2. CUDA Toolkit Supplement to Software License Agreement for
|
| 525 |
+
NVIDIA Software Development Kits
|
| 526 |
+
------------------------------------------------------------
|
| 527 |
+
|
| 528 |
+
The terms in this supplement govern your use of the NVIDIA
|
| 529 |
+
CUDA Toolkit SDK under the terms of your license agreement
|
| 530 |
+
(“Agreement”) as modified by this supplement. Capitalized
|
| 531 |
+
terms used but not defined below have the meaning assigned to
|
| 532 |
+
them in the Agreement.
|
| 533 |
+
|
| 534 |
+
This supplement is an exhibit to the Agreement and is
|
| 535 |
+
incorporated as an integral part of the Agreement. In the
|
| 536 |
+
event of conflict between the terms in this supplement and the
|
| 537 |
+
terms in the Agreement, the terms in this supplement govern.
|
| 538 |
+
|
| 539 |
+
|
| 540 |
+
2.1. License Scope
|
| 541 |
+
|
| 542 |
+
The SDK is licensed for you to develop applications only for
|
| 543 |
+
use in systems with NVIDIA GPUs.
|
| 544 |
+
|
| 545 |
+
|
| 546 |
+
2.2. Distribution
|
| 547 |
+
|
| 548 |
+
The portions of the SDK that are distributable under the
|
| 549 |
+
Agreement are listed in Attachment A.
|
| 550 |
+
|
| 551 |
+
|
| 552 |
+
2.3. Operating Systems
|
| 553 |
+
|
| 554 |
+
Those portions of the SDK designed exclusively for use on the
|
| 555 |
+
Linux or FreeBSD operating systems, or other operating systems
|
| 556 |
+
derived from the source code to these operating systems, may
|
| 557 |
+
be copied and redistributed for use in accordance with this
|
| 558 |
+
Agreement, provided that the object code files are not
|
| 559 |
+
modified in any way (except for unzipping of compressed
|
| 560 |
+
files).
|
| 561 |
+
|
| 562 |
+
|
| 563 |
+
2.4. Audio and Video Encoders and Decoders
|
| 564 |
+
|
| 565 |
+
You acknowledge and agree that it is your sole responsibility
|
| 566 |
+
to obtain any additional third-party licenses required to
|
| 567 |
+
make, have made, use, have used, sell, import, and offer for
|
| 568 |
+
sale your products or services that include or incorporate any
|
| 569 |
+
third-party software and content relating to audio and/or
|
| 570 |
+
video encoders and decoders from, including but not limited
|
| 571 |
+
to, Microsoft, Thomson, Fraunhofer IIS, Sisvel S.p.A.,
|
| 572 |
+
MPEG-LA, and Coding Technologies. NVIDIA does not grant to you
|
| 573 |
+
under this Agreement any necessary patent or other rights with
|
| 574 |
+
respect to any audio and/or video encoders and decoders.
|
| 575 |
+
|
| 576 |
+
|
| 577 |
+
2.5. Licensing
|
| 578 |
+
|
| 579 |
+
If the distribution terms in this Agreement are not suitable
|
| 580 |
+
for your organization, or for any questions regarding this
|
| 581 |
+
Agreement, please contact NVIDIA at
|
| 582 |
+
nvidia-compute-license-questions@nvidia.com.
|
| 583 |
+
|
| 584 |
+
|
| 585 |
+
2.6. Attachment A
|
| 586 |
+
|
| 587 |
+
The following CUDA Toolkit files may be distributed with
|
| 588 |
+
applications developed by you, including certain
|
| 589 |
+
variations of these files that have version number or
|
| 590 |
+
architecture specific information embedded in the file name -
|
| 591 |
+
as an example only, for release version 9.0 of the 64-bit
|
| 592 |
+
Windows software, the file cudart64_90.dll is redistributable.
|
| 593 |
+
|
| 594 |
+
Component
|
| 595 |
+
|
| 596 |
+
CUDA Runtime
|
| 597 |
+
|
| 598 |
+
Windows
|
| 599 |
+
|
| 600 |
+
cudart.dll, cudart_static.lib, cudadevrt.lib
|
| 601 |
+
|
| 602 |
+
Mac OSX
|
| 603 |
+
|
| 604 |
+
libcudart.dylib, libcudart_static.a, libcudadevrt.a
|
| 605 |
+
|
| 606 |
+
Linux
|
| 607 |
+
|
| 608 |
+
libcudart.so, libcudart_static.a, libcudadevrt.a
|
| 609 |
+
|
| 610 |
+
Android
|
| 611 |
+
|
| 612 |
+
libcudart.so, libcudart_static.a, libcudadevrt.a
|
| 613 |
+
|
| 614 |
+
Component
|
| 615 |
+
|
| 616 |
+
CUDA FFT Library
|
| 617 |
+
|
| 618 |
+
Windows
|
| 619 |
+
|
| 620 |
+
cufft.dll, cufftw.dll, cufft.lib, cufftw.lib
|
| 621 |
+
|
| 622 |
+
Mac OSX
|
| 623 |
+
|
| 624 |
+
libcufft.dylib, libcufft_static.a, libcufftw.dylib,
|
| 625 |
+
libcufftw_static.a
|
| 626 |
+
|
| 627 |
+
Linux
|
| 628 |
+
|
| 629 |
+
libcufft.so, libcufft_static.a, libcufftw.so,
|
| 630 |
+
libcufftw_static.a
|
| 631 |
+
|
| 632 |
+
Android
|
| 633 |
+
|
| 634 |
+
libcufft.so, libcufft_static.a, libcufftw.so,
|
| 635 |
+
libcufftw_static.a
|
| 636 |
+
|
| 637 |
+
Component
|
| 638 |
+
|
| 639 |
+
CUDA BLAS Library
|
| 640 |
+
|
| 641 |
+
Windows
|
| 642 |
+
|
| 643 |
+
cublas.dll, cublasLt.dll
|
| 644 |
+
|
| 645 |
+
Mac OSX
|
| 646 |
+
|
| 647 |
+
libcublas.dylib, libcublasLt.dylib, libcublas_static.a,
|
| 648 |
+
libcublasLt_static.a
|
| 649 |
+
|
| 650 |
+
Linux
|
| 651 |
+
|
| 652 |
+
libcublas.so, libcublasLt.so, libcublas_static.a,
|
| 653 |
+
libcublasLt_static.a
|
| 654 |
+
|
| 655 |
+
Android
|
| 656 |
+
|
| 657 |
+
libcublas.so, libcublasLt.so, libcublas_static.a,
|
| 658 |
+
libcublasLt_static.a
|
| 659 |
+
|
| 660 |
+
Component
|
| 661 |
+
|
| 662 |
+
NVIDIA "Drop-in" BLAS Library
|
| 663 |
+
|
| 664 |
+
Windows
|
| 665 |
+
|
| 666 |
+
nvblas.dll
|
| 667 |
+
|
| 668 |
+
Mac OSX
|
| 669 |
+
|
| 670 |
+
libnvblas.dylib
|
| 671 |
+
|
| 672 |
+
Linux
|
| 673 |
+
|
| 674 |
+
libnvblas.so
|
| 675 |
+
|
| 676 |
+
Component
|
| 677 |
+
|
| 678 |
+
CUDA Sparse Matrix Library
|
| 679 |
+
|
| 680 |
+
Windows
|
| 681 |
+
|
| 682 |
+
cusparse.dll, cusparse.lib
|
| 683 |
+
|
| 684 |
+
Mac OSX
|
| 685 |
+
|
| 686 |
+
libcusparse.dylib, libcusparse_static.a
|
| 687 |
+
|
| 688 |
+
Linux
|
| 689 |
+
|
| 690 |
+
libcusparse.so, libcusparse_static.a
|
| 691 |
+
|
| 692 |
+
Android
|
| 693 |
+
|
| 694 |
+
libcusparse.so, libcusparse_static.a
|
| 695 |
+
|
| 696 |
+
Component
|
| 697 |
+
|
| 698 |
+
CUDA Linear Solver Library
|
| 699 |
+
|
| 700 |
+
Windows
|
| 701 |
+
|
| 702 |
+
cusolver.dll, cusolver.lib
|
| 703 |
+
|
| 704 |
+
Mac OSX
|
| 705 |
+
|
| 706 |
+
libcusolver.dylib, libcusolver_static.a
|
| 707 |
+
|
| 708 |
+
Linux
|
| 709 |
+
|
| 710 |
+
libcusolver.so, libcusolver_static.a
|
| 711 |
+
|
| 712 |
+
Android
|
| 713 |
+
|
| 714 |
+
libcusolver.so, libcusolver_static.a
|
| 715 |
+
|
| 716 |
+
Component
|
| 717 |
+
|
| 718 |
+
CUDA Random Number Generation Library
|
| 719 |
+
|
| 720 |
+
Windows
|
| 721 |
+
|
| 722 |
+
curand.dll, curand.lib
|
| 723 |
+
|
| 724 |
+
Mac OSX
|
| 725 |
+
|
| 726 |
+
libcurand.dylib, libcurand_static.a
|
| 727 |
+
|
| 728 |
+
Linux
|
| 729 |
+
|
| 730 |
+
libcurand.so, libcurand_static.a
|
| 731 |
+
|
| 732 |
+
Android
|
| 733 |
+
|
| 734 |
+
libcurand.so, libcurand_static.a
|
| 735 |
+
|
| 736 |
+
Component
|
| 737 |
+
|
| 738 |
+
NVIDIA Performance Primitives Library
|
| 739 |
+
|
| 740 |
+
Windows
|
| 741 |
+
|
| 742 |
+
nppc.dll, nppc.lib, nppial.dll, nppial.lib, nppicc.dll,
|
| 743 |
+
nppicc.lib, nppicom.dll, nppicom.lib, nppidei.dll,
|
| 744 |
+
nppidei.lib, nppif.dll, nppif.lib, nppig.dll, nppig.lib,
|
| 745 |
+
nppim.dll, nppim.lib, nppist.dll, nppist.lib, nppisu.dll,
|
| 746 |
+
nppisu.lib, nppitc.dll, nppitc.lib, npps.dll, npps.lib
|
| 747 |
+
|
| 748 |
+
Mac OSX
|
| 749 |
+
|
| 750 |
+
libnppc.dylib, libnppc_static.a, libnppial.dylib,
|
| 751 |
+
libnppial_static.a, libnppicc.dylib, libnppicc_static.a,
|
| 752 |
+
libnppicom.dylib, libnppicom_static.a, libnppidei.dylib,
|
| 753 |
+
libnppidei_static.a, libnppif.dylib, libnppif_static.a,
|
| 754 |
+
libnppig.dylib, libnppig_static.a, libnppim.dylib,
|
| 755 |
+
libnppisu_static.a, libnppitc.dylib, libnppitc_static.a,
|
| 756 |
+
libnpps.dylib, libnpps_static.a
|
| 757 |
+
|
| 758 |
+
Linux
|
| 759 |
+
|
| 760 |
+
libnppc.so, libnppc_static.a, libnppial.so,
|
| 761 |
+
libnppial_static.a, libnppicc.so, libnppicc_static.a,
|
| 762 |
+
libnppicom.so, libnppicom_static.a, libnppidei.so,
|
| 763 |
+
libnppidei_static.a, libnppif.so, libnppif_static.a
|
| 764 |
+
libnppig.so, libnppig_static.a, libnppim.so,
|
| 765 |
+
libnppim_static.a, libnppist.so, libnppist_static.a,
|
| 766 |
+
libnppisu.so, libnppisu_static.a, libnppitc.so
|
| 767 |
+
libnppitc_static.a, libnpps.so, libnpps_static.a
|
| 768 |
+
|
| 769 |
+
Android
|
| 770 |
+
|
| 771 |
+
libnppc.so, libnppc_static.a, libnppial.so,
|
| 772 |
+
libnppial_static.a, libnppicc.so, libnppicc_static.a,
|
| 773 |
+
libnppicom.so, libnppicom_static.a, libnppidei.so,
|
| 774 |
+
libnppidei_static.a, libnppif.so, libnppif_static.a
|
| 775 |
+
libnppig.so, libnppig_static.a, libnppim.so,
|
| 776 |
+
libnppim_static.a, libnppist.so, libnppist_static.a,
|
| 777 |
+
libnppisu.so, libnppisu_static.a, libnppitc.so
|
| 778 |
+
libnppitc_static.a, libnpps.so, libnpps_static.a
|
| 779 |
+
|
| 780 |
+
Component
|
| 781 |
+
|
| 782 |
+
NVIDIA JPEG Library
|
| 783 |
+
|
| 784 |
+
Windows
|
| 785 |
+
|
| 786 |
+
nvjpeg.lib, nvjpeg.dll
|
| 787 |
+
|
| 788 |
+
Linux
|
| 789 |
+
|
| 790 |
+
libnvjpeg.so, libnvjpeg_static.a
|
| 791 |
+
|
| 792 |
+
Component
|
| 793 |
+
|
| 794 |
+
Internal common library required for statically linking to
|
| 795 |
+
cuBLAS, cuSPARSE, cuFFT, cuRAND, nvJPEG and NPP
|
| 796 |
+
|
| 797 |
+
Mac OSX
|
| 798 |
+
|
| 799 |
+
libculibos.a
|
| 800 |
+
|
| 801 |
+
Linux
|
| 802 |
+
|
| 803 |
+
libculibos.a
|
| 804 |
+
|
| 805 |
+
Component
|
| 806 |
+
|
| 807 |
+
NVIDIA Runtime Compilation Library and Header
|
| 808 |
+
|
| 809 |
+
All
|
| 810 |
+
|
| 811 |
+
nvrtc.h
|
| 812 |
+
|
| 813 |
+
Windows
|
| 814 |
+
|
| 815 |
+
nvrtc.dll, nvrtc-builtins.dll
|
| 816 |
+
|
| 817 |
+
Mac OSX
|
| 818 |
+
|
| 819 |
+
libnvrtc.dylib, libnvrtc-builtins.dylib
|
| 820 |
+
|
| 821 |
+
Linux
|
| 822 |
+
|
| 823 |
+
libnvrtc.so, libnvrtc-builtins.so, libnvrtc_static.a, libnvrtx-builtins_static.a
|
| 824 |
+
|
| 825 |
+
Component
|
| 826 |
+
|
| 827 |
+
NVIDIA Optimizing Compiler Library
|
| 828 |
+
|
| 829 |
+
Windows
|
| 830 |
+
|
| 831 |
+
nvvm.dll
|
| 832 |
+
|
| 833 |
+
Mac OSX
|
| 834 |
+
|
| 835 |
+
libnvvm.dylib
|
| 836 |
+
|
| 837 |
+
Linux
|
| 838 |
+
|
| 839 |
+
libnvvm.so
|
| 840 |
+
|
| 841 |
+
Component
|
| 842 |
+
|
| 843 |
+
NVIDIA JIT Linking Library
|
| 844 |
+
|
| 845 |
+
Windows
|
| 846 |
+
|
| 847 |
+
libnvJitLink.dll, libnvJitLink.lib
|
| 848 |
+
|
| 849 |
+
Linux
|
| 850 |
+
|
| 851 |
+
libnvJitLink.so, libnvJitLink_static.a
|
| 852 |
+
|
| 853 |
+
Component
|
| 854 |
+
|
| 855 |
+
NVIDIA Common Device Math Functions Library
|
| 856 |
+
|
| 857 |
+
Windows
|
| 858 |
+
|
| 859 |
+
libdevice.10.bc
|
| 860 |
+
|
| 861 |
+
Mac OSX
|
| 862 |
+
|
| 863 |
+
libdevice.10.bc
|
| 864 |
+
|
| 865 |
+
Linux
|
| 866 |
+
|
| 867 |
+
libdevice.10.bc
|
| 868 |
+
|
| 869 |
+
Component
|
| 870 |
+
|
| 871 |
+
CUDA Occupancy Calculation Header Library
|
| 872 |
+
|
| 873 |
+
All
|
| 874 |
+
|
| 875 |
+
cuda_occupancy.h
|
| 876 |
+
|
| 877 |
+
Component
|
| 878 |
+
|
| 879 |
+
CUDA Half Precision Headers
|
| 880 |
+
|
| 881 |
+
All
|
| 882 |
+
|
| 883 |
+
cuda_fp16.h, cuda_fp16.hpp
|
| 884 |
+
|
| 885 |
+
Component
|
| 886 |
+
|
| 887 |
+
CUDA Profiling Tools Interface (CUPTI) Library
|
| 888 |
+
|
| 889 |
+
Windows
|
| 890 |
+
|
| 891 |
+
cupti.dll
|
| 892 |
+
|
| 893 |
+
Mac OSX
|
| 894 |
+
|
| 895 |
+
libcupti.dylib
|
| 896 |
+
|
| 897 |
+
Linux
|
| 898 |
+
|
| 899 |
+
libcupti.so
|
| 900 |
+
|
| 901 |
+
Component
|
| 902 |
+
|
| 903 |
+
NVIDIA Tools Extension Library
|
| 904 |
+
|
| 905 |
+
Windows
|
| 906 |
+
|
| 907 |
+
nvToolsExt.dll, nvToolsExt.lib
|
| 908 |
+
|
| 909 |
+
Mac OSX
|
| 910 |
+
|
| 911 |
+
libnvToolsExt.dylib
|
| 912 |
+
|
| 913 |
+
Linux
|
| 914 |
+
|
| 915 |
+
libnvToolsExt.so
|
| 916 |
+
|
| 917 |
+
Component
|
| 918 |
+
|
| 919 |
+
NVIDIA CUDA Driver Libraries
|
| 920 |
+
|
| 921 |
+
Linux
|
| 922 |
+
|
| 923 |
+
libcuda.so, libnvidia-ptxjitcompiler.so, libnvptxcompiler_static.a
|
| 924 |
+
|
| 925 |
+
Component
|
| 926 |
+
|
| 927 |
+
NVIDIA CUDA File IO Libraries and Header
|
| 928 |
+
|
| 929 |
+
All
|
| 930 |
+
|
| 931 |
+
cufile.h
|
| 932 |
+
|
| 933 |
+
Linux
|
| 934 |
+
|
| 935 |
+
libcufile.so, libcufile_rdma.so, libcufile_static.a,
|
| 936 |
+
libcufile_rdma_static.a
|
| 937 |
+
|
| 938 |
+
In addition to the rights above, for parties that are
|
| 939 |
+
developing software intended solely for use on Jetson
|
| 940 |
+
development kits or Jetson modules, and running Linux for
|
| 941 |
+
Tegra software, the following shall apply:
|
| 942 |
+
|
| 943 |
+
* The SDK may be distributed in its entirety, as provided by
|
| 944 |
+
NVIDIA, and without separation of its components, for you
|
| 945 |
+
and/or your licensees to create software development kits
|
| 946 |
+
for use only on the Jetson platform and running Linux for
|
| 947 |
+
Tegra software.
|
| 948 |
+
|
| 949 |
+
|
| 950 |
+
2.7. Attachment B
|
| 951 |
+
|
| 952 |
+
|
| 953 |
+
Additional Licensing Obligations
|
| 954 |
+
|
| 955 |
+
The following third party components included in the SOFTWARE
|
| 956 |
+
are licensed to Licensee pursuant to the following terms and
|
| 957 |
+
conditions:
|
| 958 |
+
|
| 959 |
+
1. Licensee's use of the GDB third party component is
|
| 960 |
+
subject to the terms and conditions of GNU GPL v3:
|
| 961 |
+
|
| 962 |
+
This product includes copyrighted third-party software licensed
|
| 963 |
+
under the terms of the GNU General Public License v3 ("GPL v3").
|
| 964 |
+
All third-party software packages are copyright by their respective
|
| 965 |
+
authors. GPL v3 terms and conditions are hereby incorporated into
|
| 966 |
+
the Agreement by this reference: http://www.gnu.org/licenses/gpl.txt
|
| 967 |
+
|
| 968 |
+
Consistent with these licensing requirements, the software
|
| 969 |
+
listed below is provided under the terms of the specified
|
| 970 |
+
open source software licenses. To obtain source code for
|
| 971 |
+
software provided under licenses that require
|
| 972 |
+
redistribution of source code, including the GNU General
|
| 973 |
+
Public License (GPL) and GNU Lesser General Public License
|
| 974 |
+
(LGPL), contact oss-requests@nvidia.com. This offer is
|
| 975 |
+
valid for a period of three (3) years from the date of the
|
| 976 |
+
distribution of this product by NVIDIA CORPORATION.
|
| 977 |
+
|
| 978 |
+
Component License
|
| 979 |
+
CUDA-GDB GPL v3
|
| 980 |
+
|
| 981 |
+
2. Licensee represents and warrants that any and all third
|
| 982 |
+
party licensing and/or royalty payment obligations in
|
| 983 |
+
connection with Licensee's use of the H.264 video codecs
|
| 984 |
+
are solely the responsibility of Licensee.
|
| 985 |
+
|
| 986 |
+
3. Licensee's use of the Thrust library is subject to the
|
| 987 |
+
terms and conditions of the Apache License Version 2.0.
|
| 988 |
+
All third-party software packages are copyright by their
|
| 989 |
+
respective authors. Apache License Version 2.0 terms and
|
| 990 |
+
conditions are hereby incorporated into the Agreement by
|
| 991 |
+
this reference.
|
| 992 |
+
http://www.apache.org/licenses/LICENSE-2.0.html
|
| 993 |
+
|
| 994 |
+
In addition, Licensee acknowledges the following notice:
|
| 995 |
+
Thrust includes source code from the Boost Iterator,
|
| 996 |
+
Tuple, System, and Random Number libraries.
|
| 997 |
+
|
| 998 |
+
Boost Software License - Version 1.0 - August 17th, 2003
|
| 999 |
+
. . . .
|
| 1000 |
+
|
| 1001 |
+
Permission is hereby granted, free of charge, to any person or
|
| 1002 |
+
organization obtaining a copy of the software and accompanying
|
| 1003 |
+
documentation covered by this license (the "Software") to use,
|
| 1004 |
+
reproduce, display, distribute, execute, and transmit the Software,
|
| 1005 |
+
and to prepare derivative works of the Software, and to permit
|
| 1006 |
+
third-parties to whom the Software is furnished to do so, all
|
| 1007 |
+
subject to the following:
|
| 1008 |
+
|
| 1009 |
+
The copyright notices in the Software and this entire statement,
|
| 1010 |
+
including the above license grant, this restriction and the following
|
| 1011 |
+
disclaimer, must be included in all copies of the Software, in whole
|
| 1012 |
+
or in part, and all derivative works of the Software, unless such
|
| 1013 |
+
copies or derivative works are solely in the form of machine-executable
|
| 1014 |
+
object code generated by a source language processor.
|
| 1015 |
+
|
| 1016 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 1017 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 1018 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
|
| 1019 |
+
NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
|
| 1020 |
+
ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR
|
| 1021 |
+
OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING
|
| 1022 |
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
| 1023 |
+
OTHER DEALINGS IN THE SOFTWARE.
|
| 1024 |
+
|
| 1025 |
+
4. Licensee's use of the LLVM third party component is
|
| 1026 |
+
subject to the following terms and conditions:
|
| 1027 |
+
|
| 1028 |
+
======================================================
|
| 1029 |
+
LLVM Release License
|
| 1030 |
+
======================================================
|
| 1031 |
+
University of Illinois/NCSA
|
| 1032 |
+
Open Source License
|
| 1033 |
+
|
| 1034 |
+
Copyright (c) 2003-2010 University of Illinois at Urbana-Champaign.
|
| 1035 |
+
All rights reserved.
|
| 1036 |
+
|
| 1037 |
+
Developed by:
|
| 1038 |
+
|
| 1039 |
+
LLVM Team
|
| 1040 |
+
|
| 1041 |
+
University of Illinois at Urbana-Champaign
|
| 1042 |
+
|
| 1043 |
+
http://llvm.org
|
| 1044 |
+
|
| 1045 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 1046 |
+
of this software and associated documentation files (the "Software"), to
|
| 1047 |
+
deal with the Software without restriction, including without limitation the
|
| 1048 |
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
| 1049 |
+
sell copies of the Software, and to permit persons to whom the Software is
|
| 1050 |
+
furnished to do so, subject to the following conditions:
|
| 1051 |
+
|
| 1052 |
+
* Redistributions of source code must retain the above copyright notice,
|
| 1053 |
+
this list of conditions and the following disclaimers.
|
| 1054 |
+
|
| 1055 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 1056 |
+
notice, this list of conditions and the following disclaimers in the
|
| 1057 |
+
documentation and/or other materials provided with the distribution.
|
| 1058 |
+
|
| 1059 |
+
* Neither the names of the LLVM Team, University of Illinois at Urbana-
|
| 1060 |
+
Champaign, nor the names of its contributors may be used to endorse or
|
| 1061 |
+
promote products derived from this Software without specific prior
|
| 1062 |
+
written permission.
|
| 1063 |
+
|
| 1064 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 1065 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 1066 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
| 1067 |
+
THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
| 1068 |
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
| 1069 |
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
| 1070 |
+
DEALINGS WITH THE SOFTWARE.
|
| 1071 |
+
|
| 1072 |
+
5. Licensee's use of the PCRE third party component is
|
| 1073 |
+
subject to the following terms and conditions:
|
| 1074 |
+
|
| 1075 |
+
------------
|
| 1076 |
+
PCRE LICENCE
|
| 1077 |
+
------------
|
| 1078 |
+
PCRE is a library of functions to support regular expressions whose syntax
|
| 1079 |
+
and semantics are as close as possible to those of the Perl 5 language.
|
| 1080 |
+
Release 8 of PCRE is distributed under the terms of the "BSD" licence, as
|
| 1081 |
+
specified below. The documentation for PCRE, supplied in the "doc"
|
| 1082 |
+
directory, is distributed under the same terms as the software itself. The
|
| 1083 |
+
basic library functions are written in C and are freestanding. Also
|
| 1084 |
+
included in the distribution is a set of C++ wrapper functions, and a just-
|
| 1085 |
+
in-time compiler that can be used to optimize pattern matching. These are
|
| 1086 |
+
both optional features that can be omitted when the library is built.
|
| 1087 |
+
|
| 1088 |
+
THE BASIC LIBRARY FUNCTIONS
|
| 1089 |
+
---------------------------
|
| 1090 |
+
Written by: Philip Hazel
|
| 1091 |
+
Email local part: ph10
|
| 1092 |
+
Email domain: cam.ac.uk
|
| 1093 |
+
University of Cambridge Computing Service,
|
| 1094 |
+
Cambridge, England.
|
| 1095 |
+
Copyright (c) 1997-2012 University of Cambridge
|
| 1096 |
+
All rights reserved.
|
| 1097 |
+
|
| 1098 |
+
PCRE JUST-IN-TIME COMPILATION SUPPORT
|
| 1099 |
+
-------------------------------------
|
| 1100 |
+
Written by: Zoltan Herczeg
|
| 1101 |
+
Email local part: hzmester
|
| 1102 |
+
Emain domain: freemail.hu
|
| 1103 |
+
Copyright(c) 2010-2012 Zoltan Herczeg
|
| 1104 |
+
All rights reserved.
|
| 1105 |
+
|
| 1106 |
+
STACK-LESS JUST-IN-TIME COMPILER
|
| 1107 |
+
--------------------------------
|
| 1108 |
+
Written by: Zoltan Herczeg
|
| 1109 |
+
Email local part: hzmester
|
| 1110 |
+
Emain domain: freemail.hu
|
| 1111 |
+
Copyright(c) 2009-2012 Zoltan Herczeg
|
| 1112 |
+
All rights reserved.
|
| 1113 |
+
|
| 1114 |
+
THE C++ WRAPPER FUNCTIONS
|
| 1115 |
+
-------------------------
|
| 1116 |
+
Contributed by: Google Inc.
|
| 1117 |
+
Copyright (c) 2007-2012, Google Inc.
|
| 1118 |
+
All rights reserved.
|
| 1119 |
+
|
| 1120 |
+
THE "BSD" LICENCE
|
| 1121 |
+
-----------------
|
| 1122 |
+
Redistribution and use in source and binary forms, with or without
|
| 1123 |
+
modification, are permitted provided that the following conditions are met:
|
| 1124 |
+
|
| 1125 |
+
* Redistributions of source code must retain the above copyright notice,
|
| 1126 |
+
this list of conditions and the following disclaimer.
|
| 1127 |
+
|
| 1128 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 1129 |
+
notice, this list of conditions and the following disclaimer in the
|
| 1130 |
+
documentation and/or other materials provided with the distribution.
|
| 1131 |
+
|
| 1132 |
+
* Neither the name of the University of Cambridge nor the name of Google
|
| 1133 |
+
Inc. nor the names of their contributors may be used to endorse or
|
| 1134 |
+
promote products derived from this software without specific prior
|
| 1135 |
+
written permission.
|
| 1136 |
+
|
| 1137 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 1138 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 1139 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 1140 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
| 1141 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 1142 |
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 1143 |
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 1144 |
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
| 1145 |
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
| 1146 |
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 1147 |
+
POSSIBILITY OF SUCH DAMAGE.
|
| 1148 |
+
|
| 1149 |
+
6. Some of the cuBLAS library routines were written by or
|
| 1150 |
+
derived from code written by Vasily Volkov and are subject
|
| 1151 |
+
to the Modified Berkeley Software Distribution License as
|
| 1152 |
+
follows:
|
| 1153 |
+
|
| 1154 |
+
Copyright (c) 2007-2009, Regents of the University of California
|
| 1155 |
+
|
| 1156 |
+
All rights reserved.
|
| 1157 |
+
|
| 1158 |
+
Redistribution and use in source and binary forms, with or without
|
| 1159 |
+
modification, are permitted provided that the following conditions are
|
| 1160 |
+
met:
|
| 1161 |
+
* Redistributions of source code must retain the above copyright
|
| 1162 |
+
notice, this list of conditions and the following disclaimer.
|
| 1163 |
+
* Redistributions in binary form must reproduce the above
|
| 1164 |
+
copyright notice, this list of conditions and the following
|
| 1165 |
+
disclaimer in the documentation and/or other materials provided
|
| 1166 |
+
with the distribution.
|
| 1167 |
+
* Neither the name of the University of California, Berkeley nor
|
| 1168 |
+
the names of its contributors may be used to endorse or promote
|
| 1169 |
+
products derived from this software without specific prior
|
| 1170 |
+
written permission.
|
| 1171 |
+
|
| 1172 |
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
|
| 1173 |
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 1174 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 1175 |
+
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
|
| 1176 |
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| 1177 |
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 1178 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
| 1179 |
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
| 1180 |
+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
| 1181 |
+
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 1182 |
+
POSSIBILITY OF SUCH DAMAGE.
|
| 1183 |
+
|
| 1184 |
+
7. Some of the cuBLAS library routines were written by or
|
| 1185 |
+
derived from code written by Davide Barbieri and are
|
| 1186 |
+
subject to the Modified Berkeley Software Distribution
|
| 1187 |
+
License as follows:
|
| 1188 |
+
|
| 1189 |
+
Copyright (c) 2008-2009 Davide Barbieri @ University of Rome Tor Vergata.
|
| 1190 |
+
|
| 1191 |
+
All rights reserved.
|
| 1192 |
+
|
| 1193 |
+
Redistribution and use in source and binary forms, with or without
|
| 1194 |
+
modification, are permitted provided that the following conditions are
|
| 1195 |
+
met:
|
| 1196 |
+
* Redistributions of source code must retain the above copyright
|
| 1197 |
+
notice, this list of conditions and the following disclaimer.
|
| 1198 |
+
* Redistributions in binary form must reproduce the above
|
| 1199 |
+
copyright notice, this list of conditions and the following
|
| 1200 |
+
disclaimer in the documentation and/or other materials provided
|
| 1201 |
+
with the distribution.
|
| 1202 |
+
* The name of the author may not be used to endorse or promote
|
| 1203 |
+
products derived from this software without specific prior
|
| 1204 |
+
written permission.
|
| 1205 |
+
|
| 1206 |
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
|
| 1207 |
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 1208 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 1209 |
+
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
|
| 1210 |
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| 1211 |
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 1212 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
| 1213 |
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
| 1214 |
+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
| 1215 |
+
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 1216 |
+
POSSIBILITY OF SUCH DAMAGE.
|
| 1217 |
+
|
| 1218 |
+
8. Some of the cuBLAS library routines were derived from
|
| 1219 |
+
code developed by the University of Tennessee and are
|
| 1220 |
+
subject to the Modified Berkeley Software Distribution
|
| 1221 |
+
License as follows:
|
| 1222 |
+
|
| 1223 |
+
Copyright (c) 2010 The University of Tennessee.
|
| 1224 |
+
|
| 1225 |
+
All rights reserved.
|
| 1226 |
+
|
| 1227 |
+
Redistribution and use in source and binary forms, with or without
|
| 1228 |
+
modification, are permitted provided that the following conditions are
|
| 1229 |
+
met:
|
| 1230 |
+
* Redistributions of source code must retain the above copyright
|
| 1231 |
+
notice, this list of conditions and the following disclaimer.
|
| 1232 |
+
* Redistributions in binary form must reproduce the above
|
| 1233 |
+
copyright notice, this list of conditions and the following
|
| 1234 |
+
disclaimer listed in this license in the documentation and/or
|
| 1235 |
+
other materials provided with the distribution.
|
| 1236 |
+
* Neither the name of the copyright holders nor the names of its
|
| 1237 |
+
contributors may be used to endorse or promote products derived
|
| 1238 |
+
from this software without specific prior written permission.
|
| 1239 |
+
|
| 1240 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1241 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1242 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1243 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1244 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1245 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1246 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1247 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1248 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1249 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1250 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1251 |
+
|
| 1252 |
+
9. Some of the cuBLAS library routines were written by or
|
| 1253 |
+
derived from code written by Jonathan Hogg and are subject
|
| 1254 |
+
to the Modified Berkeley Software Distribution License as
|
| 1255 |
+
follows:
|
| 1256 |
+
|
| 1257 |
+
Copyright (c) 2012, The Science and Technology Facilities Council (STFC).
|
| 1258 |
+
|
| 1259 |
+
All rights reserved.
|
| 1260 |
+
|
| 1261 |
+
Redistribution and use in source and binary forms, with or without
|
| 1262 |
+
modification, are permitted provided that the following conditions are
|
| 1263 |
+
met:
|
| 1264 |
+
* Redistributions of source code must retain the above copyright
|
| 1265 |
+
notice, this list of conditions and the following disclaimer.
|
| 1266 |
+
* Redistributions in binary form must reproduce the above
|
| 1267 |
+
copyright notice, this list of conditions and the following
|
| 1268 |
+
disclaimer in the documentation and/or other materials provided
|
| 1269 |
+
with the distribution.
|
| 1270 |
+
* Neither the name of the STFC nor the names of its contributors
|
| 1271 |
+
may be used to endorse or promote products derived from this
|
| 1272 |
+
software without specific prior written permission.
|
| 1273 |
+
|
| 1274 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1275 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1276 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1277 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE STFC BE
|
| 1278 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 1279 |
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 1280 |
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
| 1281 |
+
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 1282 |
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
| 1283 |
+
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
| 1284 |
+
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1285 |
+
|
| 1286 |
+
10. Some of the cuBLAS library routines were written by or
|
| 1287 |
+
derived from code written by Ahmad M. Abdelfattah, David
|
| 1288 |
+
Keyes, and Hatem Ltaief, and are subject to the Apache
|
| 1289 |
+
License, Version 2.0, as follows:
|
| 1290 |
+
|
| 1291 |
+
-- (C) Copyright 2013 King Abdullah University of Science and Technology
|
| 1292 |
+
Authors:
|
| 1293 |
+
Ahmad Abdelfattah (ahmad.ahmad@kaust.edu.sa)
|
| 1294 |
+
David Keyes (david.keyes@kaust.edu.sa)
|
| 1295 |
+
Hatem Ltaief (hatem.ltaief@kaust.edu.sa)
|
| 1296 |
+
|
| 1297 |
+
Redistribution and use in source and binary forms, with or without
|
| 1298 |
+
modification, are permitted provided that the following conditions
|
| 1299 |
+
are met:
|
| 1300 |
+
|
| 1301 |
+
* Redistributions of source code must retain the above copyright
|
| 1302 |
+
notice, this list of conditions and the following disclaimer.
|
| 1303 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 1304 |
+
notice, this list of conditions and the following disclaimer in the
|
| 1305 |
+
documentation and/or other materials provided with the distribution.
|
| 1306 |
+
* Neither the name of the King Abdullah University of Science and
|
| 1307 |
+
Technology nor the names of its contributors may be used to endorse
|
| 1308 |
+
or promote products derived from this software without specific prior
|
| 1309 |
+
written permission.
|
| 1310 |
+
|
| 1311 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1312 |
+
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1313 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1314 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1315 |
+
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1316 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1317 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1318 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1319 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1320 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1321 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
|
| 1322 |
+
|
| 1323 |
+
11. Some of the cuSPARSE library routines were written by or
|
| 1324 |
+
derived from code written by Li-Wen Chang and are subject
|
| 1325 |
+
to the NCSA Open Source License as follows:
|
| 1326 |
+
|
| 1327 |
+
Copyright (c) 2012, University of Illinois.
|
| 1328 |
+
|
| 1329 |
+
All rights reserved.
|
| 1330 |
+
|
| 1331 |
+
Developed by: IMPACT Group, University of Illinois, http://impact.crhc.illinois.edu
|
| 1332 |
+
|
| 1333 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
| 1334 |
+
a copy of this software and associated documentation files (the
|
| 1335 |
+
"Software"), to deal with the Software without restriction, including
|
| 1336 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
| 1337 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
| 1338 |
+
permit persons to whom the Software is furnished to do so, subject to
|
| 1339 |
+
the following conditions:
|
| 1340 |
+
* Redistributions of source code must retain the above copyright
|
| 1341 |
+
notice, this list of conditions and the following disclaimer.
|
| 1342 |
+
* Redistributions in binary form must reproduce the above
|
| 1343 |
+
copyright notice, this list of conditions and the following
|
| 1344 |
+
disclaimers in the documentation and/or other materials provided
|
| 1345 |
+
with the distribution.
|
| 1346 |
+
* Neither the names of IMPACT Group, University of Illinois, nor
|
| 1347 |
+
the names of its contributors may be used to endorse or promote
|
| 1348 |
+
products derived from this Software without specific prior
|
| 1349 |
+
written permission.
|
| 1350 |
+
|
| 1351 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 1352 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 1353 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
| 1354 |
+
NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT
|
| 1355 |
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
| 1356 |
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
| 1357 |
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
|
| 1358 |
+
SOFTWARE.
|
| 1359 |
+
|
| 1360 |
+
12. Some of the cuRAND library routines were written by or
|
| 1361 |
+
derived from code written by Mutsuo Saito and Makoto
|
| 1362 |
+
Matsumoto and are subject to the following license:
|
| 1363 |
+
|
| 1364 |
+
Copyright (c) 2009, 2010 Mutsuo Saito, Makoto Matsumoto and Hiroshima
|
| 1365 |
+
University. All rights reserved.
|
| 1366 |
+
|
| 1367 |
+
Copyright (c) 2011 Mutsuo Saito, Makoto Matsumoto, Hiroshima
|
| 1368 |
+
University and University of Tokyo. All rights reserved.
|
| 1369 |
+
|
| 1370 |
+
Redistribution and use in source and binary forms, with or without
|
| 1371 |
+
modification, are permitted provided that the following conditions are
|
| 1372 |
+
met:
|
| 1373 |
+
* Redistributions of source code must retain the above copyright
|
| 1374 |
+
notice, this list of conditions and the following disclaimer.
|
| 1375 |
+
* Redistributions in binary form must reproduce the above
|
| 1376 |
+
copyright notice, this list of conditions and the following
|
| 1377 |
+
disclaimer in the documentation and/or other materials provided
|
| 1378 |
+
with the distribution.
|
| 1379 |
+
* Neither the name of the Hiroshima University nor the names of
|
| 1380 |
+
its contributors may be used to endorse or promote products
|
| 1381 |
+
derived from this software without specific prior written
|
| 1382 |
+
permission.
|
| 1383 |
+
|
| 1384 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1385 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1386 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1387 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1388 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1389 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1390 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1391 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1392 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1393 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1394 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1395 |
+
|
| 1396 |
+
13. Some of the cuRAND library routines were derived from
|
| 1397 |
+
code developed by D. E. Shaw Research and are subject to
|
| 1398 |
+
the following license:
|
| 1399 |
+
|
| 1400 |
+
Copyright 2010-2011, D. E. Shaw Research.
|
| 1401 |
+
|
| 1402 |
+
All rights reserved.
|
| 1403 |
+
|
| 1404 |
+
Redistribution and use in source and binary forms, with or without
|
| 1405 |
+
modification, are permitted provided that the following conditions are
|
| 1406 |
+
met:
|
| 1407 |
+
* Redistributions of source code must retain the above copyright
|
| 1408 |
+
notice, this list of conditions, and the following disclaimer.
|
| 1409 |
+
* Redistributions in binary form must reproduce the above
|
| 1410 |
+
copyright notice, this list of conditions, and the following
|
| 1411 |
+
disclaimer in the documentation and/or other materials provided
|
| 1412 |
+
with the distribution.
|
| 1413 |
+
* Neither the name of D. E. Shaw Research nor the names of its
|
| 1414 |
+
contributors may be used to endorse or promote products derived
|
| 1415 |
+
from this software without specific prior written permission.
|
| 1416 |
+
|
| 1417 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1418 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1419 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1420 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1421 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1422 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1423 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1424 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1425 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1426 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1427 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1428 |
+
|
| 1429 |
+
14. Some of the Math library routines were written by or
|
| 1430 |
+
derived from code developed by Norbert Juffa and are
|
| 1431 |
+
subject to the following license:
|
| 1432 |
+
|
| 1433 |
+
Copyright (c) 2015-2017, Norbert Juffa
|
| 1434 |
+
All rights reserved.
|
| 1435 |
+
|
| 1436 |
+
Redistribution and use in source and binary forms, with or without
|
| 1437 |
+
modification, are permitted provided that the following conditions
|
| 1438 |
+
are met:
|
| 1439 |
+
|
| 1440 |
+
1. Redistributions of source code must retain the above copyright
|
| 1441 |
+
notice, this list of conditions and the following disclaimer.
|
| 1442 |
+
|
| 1443 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 1444 |
+
notice, this list of conditions and the following disclaimer in the
|
| 1445 |
+
documentation and/or other materials provided with the distribution.
|
| 1446 |
+
|
| 1447 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1448 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1449 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1450 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1451 |
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1452 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1453 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1454 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1455 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1456 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1457 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1458 |
+
|
| 1459 |
+
15. Licensee's use of the lz4 third party component is
|
| 1460 |
+
subject to the following terms and conditions:
|
| 1461 |
+
|
| 1462 |
+
Copyright (C) 2011-2013, Yann Collet.
|
| 1463 |
+
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
|
| 1464 |
+
|
| 1465 |
+
Redistribution and use in source and binary forms, with or without
|
| 1466 |
+
modification, are permitted provided that the following conditions are
|
| 1467 |
+
met:
|
| 1468 |
+
|
| 1469 |
+
* Redistributions of source code must retain the above copyright
|
| 1470 |
+
notice, this list of conditions and the following disclaimer.
|
| 1471 |
+
* Redistributions in binary form must reproduce the above
|
| 1472 |
+
copyright notice, this list of conditions and the following disclaimer
|
| 1473 |
+
in the documentation and/or other materials provided with the
|
| 1474 |
+
distribution.
|
| 1475 |
+
|
| 1476 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1477 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1478 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1479 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1480 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1481 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1482 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1483 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1484 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1485 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1486 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1487 |
+
|
| 1488 |
+
16. The NPP library uses code from the Boost Math Toolkit,
|
| 1489 |
+
and is subject to the following license:
|
| 1490 |
+
|
| 1491 |
+
Boost Software License - Version 1.0 - August 17th, 2003
|
| 1492 |
+
. . . .
|
| 1493 |
+
|
| 1494 |
+
Permission is hereby granted, free of charge, to any person or
|
| 1495 |
+
organization obtaining a copy of the software and accompanying
|
| 1496 |
+
documentation covered by this license (the "Software") to use,
|
| 1497 |
+
reproduce, display, distribute, execute, and transmit the Software,
|
| 1498 |
+
and to prepare derivative works of the Software, and to permit
|
| 1499 |
+
third-parties to whom the Software is furnished to do so, all
|
| 1500 |
+
subject to the following:
|
| 1501 |
+
|
| 1502 |
+
The copyright notices in the Software and this entire statement,
|
| 1503 |
+
including the above license grant, this restriction and the following
|
| 1504 |
+
disclaimer, must be included in all copies of the Software, in whole
|
| 1505 |
+
or in part, and all derivative works of the Software, unless such
|
| 1506 |
+
copies or derivative works are solely in the form of machine-executable
|
| 1507 |
+
object code generated by a source language processor.
|
| 1508 |
+
|
| 1509 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 1510 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 1511 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
|
| 1512 |
+
NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
|
| 1513 |
+
ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR
|
| 1514 |
+
OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING
|
| 1515 |
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
| 1516 |
+
OTHER DEALINGS IN THE SOFTWARE.
|
| 1517 |
+
|
| 1518 |
+
17. Portions of the Nsight Eclipse Edition is subject to the
|
| 1519 |
+
following license:
|
| 1520 |
+
|
| 1521 |
+
The Eclipse Foundation makes available all content in this plug-in
|
| 1522 |
+
("Content"). Unless otherwise indicated below, the Content is provided
|
| 1523 |
+
to you under the terms and conditions of the Eclipse Public License
|
| 1524 |
+
Version 1.0 ("EPL"). A copy of the EPL is available at http://
|
| 1525 |
+
www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, "Program"
|
| 1526 |
+
will mean the Content.
|
| 1527 |
+
|
| 1528 |
+
If you did not receive this Content directly from the Eclipse
|
| 1529 |
+
Foundation, the Content is being redistributed by another party
|
| 1530 |
+
("Redistributor") and different terms and conditions may apply to your
|
| 1531 |
+
use of any object code in the Content. Check the Redistributor's
|
| 1532 |
+
license that was provided with the Content. If no such license exists,
|
| 1533 |
+
contact the Redistributor. Unless otherwise indicated below, the terms
|
| 1534 |
+
and conditions of the EPL still apply to any source code in the
|
| 1535 |
+
Content and such source code may be obtained at http://www.eclipse.org.
|
| 1536 |
+
|
| 1537 |
+
18. Some of the cuBLAS library routines uses code from
|
| 1538 |
+
OpenAI, which is subject to the following license:
|
| 1539 |
+
|
| 1540 |
+
License URL
|
| 1541 |
+
https://github.com/openai/openai-gemm/blob/master/LICENSE
|
| 1542 |
+
|
| 1543 |
+
License Text
|
| 1544 |
+
The MIT License
|
| 1545 |
+
|
| 1546 |
+
Copyright (c) 2016 OpenAI (http://openai.com), 2016 Google Inc.
|
| 1547 |
+
|
| 1548 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 1549 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 1550 |
+
in the Software without restriction, including without limitation the rights
|
| 1551 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 1552 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 1553 |
+
furnished to do so, subject to the following conditions:
|
| 1554 |
+
|
| 1555 |
+
The above copyright notice and this permission notice shall be included in
|
| 1556 |
+
all copies or substantial portions of the Software.
|
| 1557 |
+
|
| 1558 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 1559 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 1560 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 1561 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 1562 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 1563 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
| 1564 |
+
THE SOFTWARE.
|
| 1565 |
+
|
| 1566 |
+
19. Licensee's use of the Visual Studio Setup Configuration
|
| 1567 |
+
Samples is subject to the following license:
|
| 1568 |
+
|
| 1569 |
+
The MIT License (MIT)
|
| 1570 |
+
Copyright (C) Microsoft Corporation. All rights reserved.
|
| 1571 |
+
|
| 1572 |
+
Permission is hereby granted, free of charge, to any person
|
| 1573 |
+
obtaining a copy of this software and associated documentation
|
| 1574 |
+
files (the "Software"), to deal in the Software without restriction,
|
| 1575 |
+
including without limitation the rights to use, copy, modify, merge,
|
| 1576 |
+
publish, distribute, sublicense, and/or sell copies of the Software,
|
| 1577 |
+
and to permit persons to whom the Software is furnished to do so,
|
| 1578 |
+
subject to the following conditions:
|
| 1579 |
+
|
| 1580 |
+
The above copyright notice and this permission notice shall be included
|
| 1581 |
+
in all copies or substantial portions of the Software.
|
| 1582 |
+
|
| 1583 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
| 1584 |
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 1585 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 1586 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 1587 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 1588 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 1589 |
+
|
| 1590 |
+
20. Licensee's use of linmath.h header for CPU functions for
|
| 1591 |
+
GL vector/matrix operations from lunarG is subject to the
|
| 1592 |
+
Apache License Version 2.0.
|
| 1593 |
+
|
| 1594 |
+
21. The DX12-CUDA sample uses the d3dx12.h header, which is
|
| 1595 |
+
subject to the MIT license.
|
| 1596 |
+
|
| 1597 |
+
22. Components of the driver and compiler used for binary management, including
|
| 1598 |
+
nvFatBin, nvcc, and cuobjdump, use the Zstandard library which is subject to
|
| 1599 |
+
the following license:
|
| 1600 |
+
|
| 1601 |
+
BSD License
|
| 1602 |
+
|
| 1603 |
+
For Zstandard software
|
| 1604 |
+
|
| 1605 |
+
Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
|
| 1606 |
+
|
| 1607 |
+
Redistribution and use in source and binary forms, with or without modification,
|
| 1608 |
+
are permitted provided that the following conditions are met:
|
| 1609 |
+
|
| 1610 |
+
* Redistributions of source code must retain the above copyright notice, this
|
| 1611 |
+
list of conditions and the following disclaimer.
|
| 1612 |
+
|
| 1613 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 1614 |
+
this list of conditions and the following disclaimer in the documentation
|
| 1615 |
+
and/or other materials provided with the distribution.
|
| 1616 |
+
|
| 1617 |
+
* Neither the name Facebook, nor Meta, nor the names of its contributors may
|
| 1618 |
+
be used to endorse or promote products derived from this software without
|
| 1619 |
+
specific prior written permission.
|
| 1620 |
+
|
| 1621 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
| 1622 |
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 1623 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 1624 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
|
| 1625 |
+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
| 1626 |
+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
| 1627 |
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 1628 |
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
| 1629 |
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
| 1630 |
+
OF SUCH DAMAGE.
|
| 1631 |
+
|
| 1632 |
+
-----------------
|
data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/paths.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paths": [
|
| 3 |
+
{
|
| 4 |
+
"_path": "lib/libcurand.so.10",
|
| 5 |
+
"path_type": "softlink",
|
| 6 |
+
"sha256": "5d00fa321858b41ef0d3b52dd53916c2af78ecbc1a1520075fdc1b45cc050593",
|
| 7 |
+
"size_in_bytes": 136749240
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"_path": "lib/libcurand.so.10.3.9.90",
|
| 11 |
+
"path_type": "softlink",
|
| 12 |
+
"sha256": "5d00fa321858b41ef0d3b52dd53916c2af78ecbc1a1520075fdc1b45cc050593",
|
| 13 |
+
"size_in_bytes": 136749240
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"_path": "targets/x86_64-linux/lib/libcurand.so.10",
|
| 17 |
+
"path_type": "softlink",
|
| 18 |
+
"sha256": "5d00fa321858b41ef0d3b52dd53916c2af78ecbc1a1520075fdc1b45cc050593",
|
| 19 |
+
"size_in_bytes": 136749240
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"_path": "targets/x86_64-linux/lib/libcurand.so.10.3.9.90",
|
| 23 |
+
"path_type": "hardlink",
|
| 24 |
+
"sha256": "5d00fa321858b41ef0d3b52dd53916c2af78ecbc1a1520075fdc1b45cc050593",
|
| 25 |
+
"size_in_bytes": 136749240
|
| 26 |
+
}
|
| 27 |
+
],
|
| 28 |
+
"paths_version": 1
|
| 29 |
+
}
|
data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/repodata_record.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "libcurand",
|
| 3 |
+
"version": "10.3.9.90",
|
| 4 |
+
"build": "0",
|
| 5 |
+
"build_number": 0,
|
| 6 |
+
"channel": "https://conda.anaconda.org/nvidia/linux-64",
|
| 7 |
+
"subdir": "linux-64",
|
| 8 |
+
"fn": "libcurand-10.3.9.90-0.conda",
|
| 9 |
+
"md5": "e2cd451c5d14344f5e19660e895d5665",
|
| 10 |
+
"url": "https://conda.anaconda.org/nvidia/linux-64/libcurand-10.3.9.90-0.conda",
|
| 11 |
+
"sha256": "2009fa1710802de906a8210725646e696d9277e245f59888e722f7d342035c61",
|
| 12 |
+
"arch": "x86_64",
|
| 13 |
+
"platform": "linux",
|
| 14 |
+
"depends": [
|
| 15 |
+
"__glibc >=2.17,<3.0.a0",
|
| 16 |
+
"cuda-version >=12.8,<12.9.0a0",
|
| 17 |
+
"libgcc-ng >=11.2.0",
|
| 18 |
+
"libstdcxx-ng >=11.2.0"
|
| 19 |
+
],
|
| 20 |
+
"constrains": [],
|
| 21 |
+
"license": "LicenseRef-NVIDIA-End-User-License-Agreement",
|
| 22 |
+
"timestamp": 1739445666000,
|
| 23 |
+
"size": 45658220
|
| 24 |
+
}
|
data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/test/run_test.sh
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
set -ex
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
test -L $PREFIX/lib/libcurand.so.10
|
| 8 |
+
test -L $PREFIX/lib/libcurand.so.10.3.9.90
|
| 9 |
+
test -L $PREFIX/targets/x86_64-linux/lib/libcurand.so.10
|
| 10 |
+
test -f $PREFIX/targets/x86_64-linux/lib/libcurand.so.10.3.9.90
|
| 11 |
+
exit 0
|
data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/test/test-rpath.sh
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
[[ ${target_platform} == "linux-64" ]] && targetsDir="targets/x86_64-linux"
|
| 4 |
+
[[ ${target_platform} == "linux-ppc64le" ]] && targetsDir="targets/ppc64le-linux"
|
| 5 |
+
[[ ${target_platform} == "linux-aarch64" ]] && targetsDir="targets/sbsa-linux"
|
| 6 |
+
|
| 7 |
+
errors=""
|
| 8 |
+
|
| 9 |
+
for lib in `find ${PREFIX}/${targetsDir}/lib -type f`; do
|
| 10 |
+
[[ $lib =~ \.so ]] || continue
|
| 11 |
+
|
| 12 |
+
rpath=$(patchelf --print-rpath $lib)
|
| 13 |
+
echo "$lib rpath: $rpath"
|
| 14 |
+
if [[ $rpath != "\$ORIGIN" ]]; then
|
| 15 |
+
errors+="$lib\n"
|
| 16 |
+
elif [[ $(objdump -x ${lib} | grep "PATH") == *"RUNPATH"* ]]; then
|
| 17 |
+
errors+="$lib\n"
|
| 18 |
+
fi
|
| 19 |
+
done
|
| 20 |
+
|
| 21 |
+
if [[ $errors ]]; then
|
| 22 |
+
echo "The following libraries were found with an unexpected RPATH:"
|
| 23 |
+
echo -e "$errors"
|
| 24 |
+
|
| 25 |
+
exit 1
|
| 26 |
+
else
|
| 27 |
+
exit 0
|
| 28 |
+
fi
|
data/miniconda3/pkgs/libcurand-10.3.9.90-0/info/test/test_time_dependencies.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
["patchelf"]
|
data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gd.h
ADDED
|
@@ -0,0 +1,1716 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
+
#endif
|
| 9 |
+
|
| 10 |
+
/* Version information. This gets parsed by build scripts as well as
|
| 11 |
+
* gcc so each #define line in this group must also be splittable on
|
| 12 |
+
* whitespace, take the form GD_*_VERSION and contain the magical
|
| 13 |
+
* trailing comment. */
|
| 14 |
+
#define GD_MAJOR_VERSION 2 /*version605b5d1778*/
|
| 15 |
+
#define GD_MINOR_VERSION 3 /*version605b5d1778*/
|
| 16 |
+
#define GD_RELEASE_VERSION 3 /*version605b5d1778*/
|
| 17 |
+
#define GD_EXTRA_VERSION "" /*version605b5d1778*/
|
| 18 |
+
/* End parsable section. */
|
| 19 |
+
|
| 20 |
+
/* The version string. This is constructed from the version number
|
| 21 |
+
* parts above via macro abuse^Wtrickery. */
|
| 22 |
+
#define GDXXX_VERSION_STR(mjr, mnr, rev, ext) mjr "." mnr "." rev ext
|
| 23 |
+
#define GDXXX_STR(s) GDXXX_SSTR(s) /* Two levels needed to expand args. */
|
| 24 |
+
#define GDXXX_SSTR(s) #s
|
| 25 |
+
|
| 26 |
+
#define GD_VERSION_STRING \
|
| 27 |
+
GDXXX_VERSION_STR(GDXXX_STR(GD_MAJOR_VERSION), \
|
| 28 |
+
GDXXX_STR(GD_MINOR_VERSION), \
|
| 29 |
+
GDXXX_STR(GD_RELEASE_VERSION), \
|
| 30 |
+
GD_EXTRA_VERSION)
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
/* Do the DLL dance: dllexport when building the DLL,
|
| 34 |
+
dllimport when importing from it, nothing when
|
| 35 |
+
not on Silly Silly Windows (tm Aardman Productions). */
|
| 36 |
+
|
| 37 |
+
/* 2.0.20: for headers */
|
| 38 |
+
|
| 39 |
+
/* 2.0.24: __stdcall also needed for Visual BASIC
|
| 40 |
+
and other languages. This breaks ABI compatibility
|
| 41 |
+
with previous DLL revs, but it's necessary. */
|
| 42 |
+
|
| 43 |
+
/* 2.0.29: WIN32 programmers can declare the NONDLL macro if they
|
| 44 |
+
wish to build gd as a static library or by directly including
|
| 45 |
+
the gd sources in a project. */
|
| 46 |
+
|
| 47 |
+
/* http://gcc.gnu.org/wiki/Visibility */
|
| 48 |
+
#if defined(_WIN32) || defined(CYGWIN) || defined(_WIN32_WCE)
|
| 49 |
+
# ifdef BGDWIN32
|
| 50 |
+
# ifdef NONDLL
|
| 51 |
+
# define BGD_EXPORT_DATA_PROT
|
| 52 |
+
# else
|
| 53 |
+
# ifdef __GNUC__
|
| 54 |
+
# define BGD_EXPORT_DATA_PROT __attribute__ ((__dllexport__))
|
| 55 |
+
# else
|
| 56 |
+
# define BGD_EXPORT_DATA_PROT __declspec(dllexport)
|
| 57 |
+
# endif
|
| 58 |
+
# endif
|
| 59 |
+
# else
|
| 60 |
+
# ifdef __GNUC__
|
| 61 |
+
# define BGD_EXPORT_DATA_PROT __attribute__ ((__dllimport__))
|
| 62 |
+
# else
|
| 63 |
+
# define BGD_EXPORT_DATA_PROT __declspec(dllimport)
|
| 64 |
+
# endif
|
| 65 |
+
# endif
|
| 66 |
+
# define BGD_STDCALL __stdcall
|
| 67 |
+
# define BGD_EXPORT_DATA_IMPL
|
| 68 |
+
# define BGD_MALLOC
|
| 69 |
+
#else
|
| 70 |
+
# if defined(__GNUC__) || defined(__clang__)
|
| 71 |
+
# define BGD_EXPORT_DATA_PROT __attribute__ ((__visibility__ ("default")))
|
| 72 |
+
# define BGD_EXPORT_DATA_IMPL __attribute__ ((__visibility__ ("hidden")))
|
| 73 |
+
# else
|
| 74 |
+
# define BGD_EXPORT_DATA_PROT
|
| 75 |
+
# define BGD_EXPORT_DATA_IMPL
|
| 76 |
+
# endif
|
| 77 |
+
# define BGD_STDCALL
|
| 78 |
+
# define BGD_MALLOC __attribute__ ((__malloc__))
|
| 79 |
+
#endif
|
| 80 |
+
|
| 81 |
+
#define BGD_DECLARE(rt) BGD_EXPORT_DATA_PROT rt BGD_STDCALL
|
| 82 |
+
|
| 83 |
+
/* VS2012+ disable keyword macroizing unless _ALLOW_KEYWORD_MACROS is set
|
| 84 |
+
We define inline, and strcasecmp if they're missing
|
| 85 |
+
*/
|
| 86 |
+
#ifdef _MSC_VER
|
| 87 |
+
# define _ALLOW_KEYWORD_MACROS
|
| 88 |
+
# ifndef inline
|
| 89 |
+
# define inline __inline
|
| 90 |
+
# endif
|
| 91 |
+
# ifndef strcasecmp
|
| 92 |
+
# define strcasecmp _stricmp
|
| 93 |
+
# endif
|
| 94 |
+
#endif
|
| 95 |
+
|
| 96 |
+
#undef ARG_NOT_USED
|
| 97 |
+
#define ARG_NOT_USED(arg) (void) arg
|
| 98 |
+
|
| 99 |
+
/* gd.h: declarations file for the graphic-draw module.
|
| 100 |
+
* Permission to use, copy, modify, and distribute this software and its
|
| 101 |
+
* documentation for any purpose and without fee is hereby granted, provided
|
| 102 |
+
* that the above copyright notice appear in all copies and that both that
|
| 103 |
+
* copyright notice and this permission notice appear in supporting
|
| 104 |
+
* documentation. This software is provided "AS IS." Thomas Boutell and
|
| 105 |
+
* Boutell.Com, Inc. disclaim all warranties, either express or implied,
|
| 106 |
+
* including but not limited to implied warranties of merchantability and
|
| 107 |
+
* fitness for a particular purpose, with respect to this code and accompanying
|
| 108 |
+
* documentation. */
|
| 109 |
+
|
| 110 |
+
/* stdio is needed for file I/O. */
|
| 111 |
+
#include <stdio.h>
|
| 112 |
+
#include <stdarg.h>
|
| 113 |
+
#include "gd_io.h"
|
| 114 |
+
|
| 115 |
+
/* The maximum number of palette entries in palette-based images.
|
| 116 |
+
In the wonderful new world of gd 2.0, you can of course have
|
| 117 |
+
many more colors when using truecolor mode. */
|
| 118 |
+
|
| 119 |
+
#define gdMaxColors 256
|
| 120 |
+
|
| 121 |
+
/* Image type. See functions below; you will not need to change
|
| 122 |
+
the elements directly. Use the provided macros to
|
| 123 |
+
access sx, sy, the color table, and colorsTotal for
|
| 124 |
+
read-only purposes. */
|
| 125 |
+
|
| 126 |
+
/* If 'truecolor' is set true, the image is truecolor;
|
| 127 |
+
pixels are represented by integers, which
|
| 128 |
+
must be 32 bits wide or more.
|
| 129 |
+
|
| 130 |
+
True colors are repsented as follows:
|
| 131 |
+
|
| 132 |
+
ARGB
|
| 133 |
+
|
| 134 |
+
Where 'A' (alpha channel) occupies only the
|
| 135 |
+
LOWER 7 BITS of the MSB. This very small
|
| 136 |
+
loss of alpha channel resolution allows gd 2.x
|
| 137 |
+
to keep backwards compatibility by allowing
|
| 138 |
+
signed integers to be used to represent colors,
|
| 139 |
+
and negative numbers to represent special cases,
|
| 140 |
+
just as in gd 1.x. */
|
| 141 |
+
|
| 142 |
+
#define gdAlphaMax 127
|
| 143 |
+
#define gdAlphaOpaque 0
|
| 144 |
+
#define gdAlphaTransparent 127
|
| 145 |
+
#define gdRedMax 255
|
| 146 |
+
#define gdGreenMax 255
|
| 147 |
+
#define gdBlueMax 255
|
| 148 |
+
|
| 149 |
+
/**
|
| 150 |
+
* Group: Color Decomposition
|
| 151 |
+
*/
|
| 152 |
+
|
| 153 |
+
/**
|
| 154 |
+
* Macro: gdTrueColorGetAlpha
|
| 155 |
+
*
|
| 156 |
+
* Gets the alpha channel value
|
| 157 |
+
*
|
| 158 |
+
* Parameters:
|
| 159 |
+
* c - The color
|
| 160 |
+
*
|
| 161 |
+
* See also:
|
| 162 |
+
* - <gdTrueColorAlpha>
|
| 163 |
+
*/
|
| 164 |
+
#define gdTrueColorGetAlpha(c) (((c) & 0x7F000000) >> 24)
|
| 165 |
+
|
| 166 |
+
/**
|
| 167 |
+
* Macro: gdTrueColorGetRed
|
| 168 |
+
*
|
| 169 |
+
* Gets the red channel value
|
| 170 |
+
*
|
| 171 |
+
* Parameters:
|
| 172 |
+
* c - The color
|
| 173 |
+
*
|
| 174 |
+
* See also:
|
| 175 |
+
* - <gdTrueColorAlpha>
|
| 176 |
+
*/
|
| 177 |
+
#define gdTrueColorGetRed(c) (((c) & 0xFF0000) >> 16)
|
| 178 |
+
|
| 179 |
+
/**
|
| 180 |
+
* Macro: gdTrueColorGetGreen
|
| 181 |
+
*
|
| 182 |
+
* Gets the green channel value
|
| 183 |
+
*
|
| 184 |
+
* Parameters:
|
| 185 |
+
* c - The color
|
| 186 |
+
*
|
| 187 |
+
* See also:
|
| 188 |
+
* - <gdTrueColorAlpha>
|
| 189 |
+
*/
|
| 190 |
+
#define gdTrueColorGetGreen(c) (((c) & 0x00FF00) >> 8)
|
| 191 |
+
|
| 192 |
+
/**
|
| 193 |
+
* Macro: gdTrueColorGetBlue
|
| 194 |
+
*
|
| 195 |
+
* Gets the blue channel value
|
| 196 |
+
*
|
| 197 |
+
* Parameters:
|
| 198 |
+
* c - The color
|
| 199 |
+
*
|
| 200 |
+
* See also:
|
| 201 |
+
* - <gdTrueColorAlpha>
|
| 202 |
+
*/
|
| 203 |
+
#define gdTrueColorGetBlue(c) ((c) & 0x0000FF)
|
| 204 |
+
|
| 205 |
+
/**
|
| 206 |
+
* Group: Effects
|
| 207 |
+
*
|
| 208 |
+
* The layering effect
|
| 209 |
+
*
|
| 210 |
+
* When pixels are drawn the new colors are "mixed" with the background
|
| 211 |
+
* depending on the effect.
|
| 212 |
+
*
|
| 213 |
+
* Note that the effect does not apply to palette images, where pixels
|
| 214 |
+
* are always replaced.
|
| 215 |
+
*
|
| 216 |
+
* Modes:
|
| 217 |
+
* gdEffectReplace - replace pixels
|
| 218 |
+
* gdEffectAlphaBlend - blend pixels, see <gdAlphaBlend>
|
| 219 |
+
* gdEffectNormal - default mode; same as gdEffectAlphaBlend
|
| 220 |
+
* gdEffectOverlay - overlay pixels, see <gdLayerOverlay>
|
| 221 |
+
* gdEffectMultiply - overlay pixels with multiply effect, see
|
| 222 |
+
* <gdLayerMultiply>
|
| 223 |
+
*
|
| 224 |
+
* See also:
|
| 225 |
+
* - <gdImageAlphaBlending>
|
| 226 |
+
*/
|
| 227 |
+
#define gdEffectReplace 0
|
| 228 |
+
#define gdEffectAlphaBlend 1
|
| 229 |
+
#define gdEffectNormal 2
|
| 230 |
+
#define gdEffectOverlay 3
|
| 231 |
+
#define gdEffectMultiply 4
|
| 232 |
+
|
| 233 |
+
#define GD_TRUE 1
|
| 234 |
+
#define GD_FALSE 0
|
| 235 |
+
|
| 236 |
+
#define GD_EPSILON 1e-6
|
| 237 |
+
#ifndef M_PI
|
| 238 |
+
# define M_PI 3.14159265358979323846
|
| 239 |
+
#endif
|
| 240 |
+
|
| 241 |
+
/* This function accepts truecolor pixel values only. The
|
| 242 |
+
source color is composited with the destination color
|
| 243 |
+
based on the alpha channel value of the source color.
|
| 244 |
+
The resulting color is opaque. */
|
| 245 |
+
|
| 246 |
+
BGD_DECLARE(int) gdAlphaBlend (int dest, int src);
|
| 247 |
+
BGD_DECLARE(int) gdLayerOverlay (int dest, int src);
|
| 248 |
+
BGD_DECLARE(int) gdLayerMultiply (int dest, int src);
|
| 249 |
+
|
| 250 |
+
|
| 251 |
+
/**
|
| 252 |
+
* Group: Color Quantization
|
| 253 |
+
*
|
| 254 |
+
* Enum: gdPaletteQuantizationMethod
|
| 255 |
+
*
|
| 256 |
+
* Constants:
|
| 257 |
+
* GD_QUANT_DEFAULT - GD_QUANT_LIQ if libimagequant is available,
|
| 258 |
+
* GD_QUANT_JQUANT otherwise.
|
| 259 |
+
* GD_QUANT_JQUANT - libjpeg's old median cut. Fast, but only uses 16-bit
|
| 260 |
+
* color.
|
| 261 |
+
* GD_QUANT_NEUQUANT - NeuQuant - approximation using Kohonen neural network.
|
| 262 |
+
* GD_QUANT_LIQ - A combination of algorithms used in libimagequant
|
| 263 |
+
* aiming for the highest quality at cost of speed.
|
| 264 |
+
*
|
| 265 |
+
* Note that GD_QUANT_JQUANT does not retain the alpha channel, and
|
| 266 |
+
* GD_QUANT_NEUQUANT does not support dithering.
|
| 267 |
+
*
|
| 268 |
+
* See also:
|
| 269 |
+
* - <gdImageTrueColorToPaletteSetMethod>
|
| 270 |
+
*/
|
| 271 |
+
enum gdPaletteQuantizationMethod {
|
| 272 |
+
GD_QUANT_DEFAULT = 0,
|
| 273 |
+
GD_QUANT_JQUANT = 1,
|
| 274 |
+
GD_QUANT_NEUQUANT = 2,
|
| 275 |
+
GD_QUANT_LIQ = 3
|
| 276 |
+
};
|
| 277 |
+
|
| 278 |
+
/**
|
| 279 |
+
* Group: Transform
|
| 280 |
+
*
|
| 281 |
+
* Constants: gdInterpolationMethod
|
| 282 |
+
*
|
| 283 |
+
* GD_BELL - Bell
|
| 284 |
+
* GD_BESSEL - Bessel
|
| 285 |
+
* GD_BILINEAR_FIXED - fixed point bilinear
|
| 286 |
+
* GD_BICUBIC - Bicubic
|
| 287 |
+
* GD_BICUBIC_FIXED - fixed point bicubic integer
|
| 288 |
+
* GD_BLACKMAN - Blackman
|
| 289 |
+
* GD_BOX - Box
|
| 290 |
+
* GD_BSPLINE - BSpline
|
| 291 |
+
* GD_CATMULLROM - Catmullrom
|
| 292 |
+
* GD_GAUSSIAN - Gaussian
|
| 293 |
+
* GD_GENERALIZED_CUBIC - Generalized cubic
|
| 294 |
+
* GD_HERMITE - Hermite
|
| 295 |
+
* GD_HAMMING - Hamming
|
| 296 |
+
* GD_HANNING - Hannig
|
| 297 |
+
* GD_MITCHELL - Mitchell
|
| 298 |
+
* GD_NEAREST_NEIGHBOUR - Nearest neighbour interpolation
|
| 299 |
+
* GD_POWER - Power
|
| 300 |
+
* GD_QUADRATIC - Quadratic
|
| 301 |
+
* GD_SINC - Sinc
|
| 302 |
+
* GD_TRIANGLE - Triangle
|
| 303 |
+
* GD_WEIGHTED4 - 4 pixels weighted bilinear interpolation
|
| 304 |
+
* GD_LINEAR - bilinear interpolation
|
| 305 |
+
*
|
| 306 |
+
* See also:
|
| 307 |
+
* - <gdImageSetInterpolationMethod>
|
| 308 |
+
* - <gdImageGetInterpolationMethod>
|
| 309 |
+
*/
|
| 310 |
+
typedef enum {
|
| 311 |
+
GD_DEFAULT = 0,
|
| 312 |
+
GD_BELL,
|
| 313 |
+
GD_BESSEL,
|
| 314 |
+
GD_BILINEAR_FIXED,
|
| 315 |
+
GD_BICUBIC,
|
| 316 |
+
GD_BICUBIC_FIXED,
|
| 317 |
+
GD_BLACKMAN,
|
| 318 |
+
GD_BOX,
|
| 319 |
+
GD_BSPLINE,
|
| 320 |
+
GD_CATMULLROM,
|
| 321 |
+
GD_GAUSSIAN,
|
| 322 |
+
GD_GENERALIZED_CUBIC,
|
| 323 |
+
GD_HERMITE,
|
| 324 |
+
GD_HAMMING,
|
| 325 |
+
GD_HANNING,
|
| 326 |
+
GD_MITCHELL,
|
| 327 |
+
GD_NEAREST_NEIGHBOUR,
|
| 328 |
+
GD_POWER,
|
| 329 |
+
GD_QUADRATIC,
|
| 330 |
+
GD_SINC,
|
| 331 |
+
GD_TRIANGLE,
|
| 332 |
+
GD_WEIGHTED4,
|
| 333 |
+
GD_LINEAR,
|
| 334 |
+
GD_LANCZOS3,
|
| 335 |
+
GD_LANCZOS8,
|
| 336 |
+
GD_BLACKMAN_BESSEL,
|
| 337 |
+
GD_BLACKMAN_SINC,
|
| 338 |
+
GD_QUADRATIC_BSPLINE,
|
| 339 |
+
GD_CUBIC_SPLINE,
|
| 340 |
+
GD_COSINE,
|
| 341 |
+
GD_WELSH,
|
| 342 |
+
GD_METHOD_COUNT = 30
|
| 343 |
+
} gdInterpolationMethod;
|
| 344 |
+
|
| 345 |
+
/**
|
| 346 |
+
* Group: HEIF Coding Format
|
| 347 |
+
*
|
| 348 |
+
* Values that select the HEIF coding format.
|
| 349 |
+
*
|
| 350 |
+
* Constants: gdHeifCodec
|
| 351 |
+
*
|
| 352 |
+
* GD_HEIF_CODEC_UNKNOWN
|
| 353 |
+
* GD_HEIF_CODEC_HEVC
|
| 354 |
+
* GD_HEIF_CODEC_AV1
|
| 355 |
+
*
|
| 356 |
+
* See also:
|
| 357 |
+
* - <gdImageHeif>
|
| 358 |
+
*/
|
| 359 |
+
typedef enum {
|
| 360 |
+
GD_HEIF_CODEC_UNKNOWN = 0,
|
| 361 |
+
GD_HEIF_CODEC_HEVC,
|
| 362 |
+
GD_HEIF_CODEC_AV1 = 4,
|
| 363 |
+
} gdHeifCodec;
|
| 364 |
+
|
| 365 |
+
/**
|
| 366 |
+
* Group: HEIF Chroma Subsampling
|
| 367 |
+
*
|
| 368 |
+
* Values that select the HEIF chroma subsampling.
|
| 369 |
+
*
|
| 370 |
+
* Constants: gdHeifCompression
|
| 371 |
+
*
|
| 372 |
+
* GD_HEIF_CHROMA_420
|
| 373 |
+
* GD_HEIF_CHROMA_422
|
| 374 |
+
* GD_HEIF_CHROMA_444
|
| 375 |
+
*
|
| 376 |
+
* See also:
|
| 377 |
+
* - <gdImageHeif>
|
| 378 |
+
*/
|
| 379 |
+
typedef const char *gdHeifChroma;
|
| 380 |
+
|
| 381 |
+
#define GD_HEIF_CHROMA_420 "420"
|
| 382 |
+
#define GD_HEIF_CHROMA_422 "422"
|
| 383 |
+
#define GD_HEIF_CHROMA_444 "444"
|
| 384 |
+
|
| 385 |
+
/* define struct with name and func ptr and add it to gdImageStruct gdInterpolationMethod interpolation; */
|
| 386 |
+
|
| 387 |
+
/* Interpolation function ptr */
|
| 388 |
+
typedef double (* interpolation_method )(double, double);
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
/*
|
| 392 |
+
Group: Types
|
| 393 |
+
|
| 394 |
+
typedef: gdImage
|
| 395 |
+
|
| 396 |
+
typedef: gdImagePtr
|
| 397 |
+
|
| 398 |
+
The data structure in which gd stores images. <gdImageCreate>,
|
| 399 |
+
<gdImageCreateTrueColor> and the various image file-loading functions
|
| 400 |
+
return a pointer to this type, and the other functions expect to
|
| 401 |
+
receive a pointer to this type as their first argument.
|
| 402 |
+
|
| 403 |
+
*gdImagePtr* is a pointer to *gdImage*.
|
| 404 |
+
|
| 405 |
+
See also:
|
| 406 |
+
<Accessor Macros>
|
| 407 |
+
|
| 408 |
+
(Previous versions of this library encouraged directly manipulating
|
| 409 |
+
the contents ofthe struct but we are attempting to move away from
|
| 410 |
+
this practice so the fields are no longer documented here. If you
|
| 411 |
+
need to poke at the internals of this struct, feel free to look at
|
| 412 |
+
*gd.h*.)
|
| 413 |
+
*/
|
| 414 |
+
typedef struct gdImageStruct {
|
| 415 |
+
/* Palette-based image pixels */
|
| 416 |
+
unsigned char **pixels;
|
| 417 |
+
int sx;
|
| 418 |
+
int sy;
|
| 419 |
+
/* These are valid in palette images only. See also
|
| 420 |
+
'alpha', which appears later in the structure to
|
| 421 |
+
preserve binary backwards compatibility */
|
| 422 |
+
int colorsTotal;
|
| 423 |
+
int red[gdMaxColors];
|
| 424 |
+
int green[gdMaxColors];
|
| 425 |
+
int blue[gdMaxColors];
|
| 426 |
+
int open[gdMaxColors];
|
| 427 |
+
/* For backwards compatibility, this is set to the
|
| 428 |
+
first palette entry with 100% transparency,
|
| 429 |
+
and is also set and reset by the
|
| 430 |
+
gdImageColorTransparent function. Newer
|
| 431 |
+
applications can allocate palette entries
|
| 432 |
+
with any desired level of transparency; however,
|
| 433 |
+
bear in mind that many viewers, notably
|
| 434 |
+
many web browsers, fail to implement
|
| 435 |
+
full alpha channel for PNG and provide
|
| 436 |
+
support for full opacity or transparency only. */
|
| 437 |
+
int transparent;
|
| 438 |
+
int *polyInts;
|
| 439 |
+
int polyAllocated;
|
| 440 |
+
struct gdImageStruct *brush;
|
| 441 |
+
struct gdImageStruct *tile;
|
| 442 |
+
int brushColorMap[gdMaxColors];
|
| 443 |
+
int tileColorMap[gdMaxColors];
|
| 444 |
+
int styleLength;
|
| 445 |
+
int stylePos;
|
| 446 |
+
int *style;
|
| 447 |
+
int interlace;
|
| 448 |
+
/* New in 2.0: thickness of line. Initialized to 1. */
|
| 449 |
+
int thick;
|
| 450 |
+
/* New in 2.0: alpha channel for palettes. Note that only
|
| 451 |
+
Macintosh Internet Explorer and (possibly) Netscape 6
|
| 452 |
+
really support multiple levels of transparency in
|
| 453 |
+
palettes, to my knowledge, as of 2/15/01. Most
|
| 454 |
+
common browsers will display 100% opaque and
|
| 455 |
+
100% transparent correctly, and do something
|
| 456 |
+
unpredictable and/or undesirable for levels
|
| 457 |
+
in between. TBB */
|
| 458 |
+
int alpha[gdMaxColors];
|
| 459 |
+
/* Truecolor flag and pixels. New 2.0 fields appear here at the
|
| 460 |
+
end to minimize breakage of existing object code. */
|
| 461 |
+
int trueColor;
|
| 462 |
+
int **tpixels;
|
| 463 |
+
/* Should alpha channel be copied, or applied, each time a
|
| 464 |
+
pixel is drawn? This applies to truecolor images only.
|
| 465 |
+
No attempt is made to alpha-blend in palette images,
|
| 466 |
+
even if semitransparent palette entries exist.
|
| 467 |
+
To do that, build your image as a truecolor image,
|
| 468 |
+
then quantize down to 8 bits. */
|
| 469 |
+
int alphaBlendingFlag;
|
| 470 |
+
/* Should the alpha channel of the image be saved? This affects
|
| 471 |
+
PNG at the moment; other future formats may also
|
| 472 |
+
have that capability. JPEG doesn't. */
|
| 473 |
+
int saveAlphaFlag;
|
| 474 |
+
|
| 475 |
+
/* There should NEVER BE ACCESSOR MACROS FOR ITEMS BELOW HERE, so this
|
| 476 |
+
part of the structure can be safely changed in new releases. */
|
| 477 |
+
|
| 478 |
+
/* 2.0.12: anti-aliased globals. 2.0.26: just a few vestiges after
|
| 479 |
+
switching to the fast, memory-cheap implementation from PHP-gd. */
|
| 480 |
+
int AA;
|
| 481 |
+
int AA_color;
|
| 482 |
+
int AA_dont_blend;
|
| 483 |
+
|
| 484 |
+
/* 2.0.12: simple clipping rectangle. These values
|
| 485 |
+
must be checked for safety when set; please use
|
| 486 |
+
gdImageSetClip */
|
| 487 |
+
int cx1;
|
| 488 |
+
int cy1;
|
| 489 |
+
int cx2;
|
| 490 |
+
int cy2;
|
| 491 |
+
|
| 492 |
+
/* 2.1.0: allows to specify resolution in dpi */
|
| 493 |
+
unsigned int res_x;
|
| 494 |
+
unsigned int res_y;
|
| 495 |
+
|
| 496 |
+
/* Selects quantization method, see gdImageTrueColorToPaletteSetMethod() and gdPaletteQuantizationMethod enum. */
|
| 497 |
+
int paletteQuantizationMethod;
|
| 498 |
+
/* speed/quality trade-off. 1 = best quality, 10 = best speed. 0 = method-specific default.
|
| 499 |
+
Applicable to GD_QUANT_LIQ and GD_QUANT_NEUQUANT. */
|
| 500 |
+
int paletteQuantizationSpeed;
|
| 501 |
+
/* Image will remain true-color if conversion to palette cannot achieve given quality.
|
| 502 |
+
Value from 1 to 100, 1 = ugly, 100 = perfect. Applicable to GD_QUANT_LIQ.*/
|
| 503 |
+
int paletteQuantizationMinQuality;
|
| 504 |
+
/* Image will use minimum number of palette colors needed to achieve given quality. Must be higher than paletteQuantizationMinQuality
|
| 505 |
+
Value from 1 to 100, 1 = ugly, 100 = perfect. Applicable to GD_QUANT_LIQ.*/
|
| 506 |
+
int paletteQuantizationMaxQuality;
|
| 507 |
+
gdInterpolationMethod interpolation_id;
|
| 508 |
+
interpolation_method interpolation;
|
| 509 |
+
}
|
| 510 |
+
gdImage;
|
| 511 |
+
|
| 512 |
+
typedef gdImage *gdImagePtr;
|
| 513 |
+
|
| 514 |
+
|
| 515 |
+
/* Point type for use in polygon drawing. */
|
| 516 |
+
|
| 517 |
+
/**
|
| 518 |
+
* Group: Types
|
| 519 |
+
*
|
| 520 |
+
* typedef: gdPointF
|
| 521 |
+
* Defines a point in a 2D coordinate system using floating point
|
| 522 |
+
* values.
|
| 523 |
+
* x - Floating point position (increase from left to right)
|
| 524 |
+
* y - Floating point Row position (increase from top to bottom)
|
| 525 |
+
*
|
| 526 |
+
* typedef: gdPointFPtr
|
| 527 |
+
* Pointer to a <gdPointF>
|
| 528 |
+
*
|
| 529 |
+
* See also:
|
| 530 |
+
* <gdImageCreate>, <gdImageCreateTrueColor>,
|
| 531 |
+
**/
|
| 532 |
+
typedef struct
|
| 533 |
+
{
|
| 534 |
+
double x, y;
|
| 535 |
+
}
|
| 536 |
+
gdPointF, *gdPointFPtr;
|
| 537 |
+
|
| 538 |
+
|
| 539 |
+
/*
|
| 540 |
+
Group: Types
|
| 541 |
+
|
| 542 |
+
typedef: gdFont
|
| 543 |
+
|
| 544 |
+
typedef: gdFontPtr
|
| 545 |
+
|
| 546 |
+
A font structure, containing the bitmaps of all characters in a
|
| 547 |
+
font. Used to declare the characteristics of a font. Text-output
|
| 548 |
+
functions expect these as their second argument, following the
|
| 549 |
+
<gdImagePtr> argument. <gdFontGetSmall> and <gdFontGetLarge> both
|
| 550 |
+
return one.
|
| 551 |
+
|
| 552 |
+
You can provide your own font data by providing such a structure and
|
| 553 |
+
the associated pixel array. You can determine the width and height
|
| 554 |
+
of a single character in a font by examining the w and h members of
|
| 555 |
+
the structure. If you will not be creating your own fonts, you will
|
| 556 |
+
not need to concern yourself with the rest of the components of this
|
| 557 |
+
structure.
|
| 558 |
+
|
| 559 |
+
Please see the files gdfontl.c and gdfontl.h for an example of
|
| 560 |
+
the proper declaration of this structure.
|
| 561 |
+
|
| 562 |
+
> typedef struct {
|
| 563 |
+
> // # of characters in font
|
| 564 |
+
> int nchars;
|
| 565 |
+
> // First character is numbered... (usually 32 = space)
|
| 566 |
+
> int offset;
|
| 567 |
+
> // Character width and height
|
| 568 |
+
> int w;
|
| 569 |
+
> int h;
|
| 570 |
+
> // Font data; array of characters, one row after another.
|
| 571 |
+
> // Easily included in code, also easily loaded from
|
| 572 |
+
> // data files.
|
| 573 |
+
> char *data;
|
| 574 |
+
> } gdFont;
|
| 575 |
+
|
| 576 |
+
gdFontPtr is a pointer to gdFont.
|
| 577 |
+
|
| 578 |
+
*/
|
| 579 |
+
typedef struct {
|
| 580 |
+
/* # of characters in font */
|
| 581 |
+
int nchars;
|
| 582 |
+
/* First character is numbered... (usually 32 = space) */
|
| 583 |
+
int offset;
|
| 584 |
+
/* Character width and height */
|
| 585 |
+
int w;
|
| 586 |
+
int h;
|
| 587 |
+
/* Font data; array of characters, one row after another.
|
| 588 |
+
Easily included in code, also easily loaded from
|
| 589 |
+
data files. */
|
| 590 |
+
char *data;
|
| 591 |
+
}
|
| 592 |
+
gdFont;
|
| 593 |
+
|
| 594 |
+
/* Text functions take these. */
|
| 595 |
+
typedef gdFont *gdFontPtr;
|
| 596 |
+
|
| 597 |
+
typedef void(*gdErrorMethod)(int, const char *, va_list);
|
| 598 |
+
|
| 599 |
+
BGD_DECLARE(void) gdSetErrorMethod(gdErrorMethod);
|
| 600 |
+
BGD_DECLARE(void) gdClearErrorMethod(void);
|
| 601 |
+
|
| 602 |
+
/* For backwards compatibility only. Use gdImageSetStyle()
|
| 603 |
+
for MUCH more flexible line drawing. Also see
|
| 604 |
+
gdImageSetBrush(). */
|
| 605 |
+
#define gdDashSize 4
|
| 606 |
+
|
| 607 |
+
/**
|
| 608 |
+
* Group: Colors
|
| 609 |
+
*
|
| 610 |
+
* Colors are always of type int which is supposed to be at least 32 bit large.
|
| 611 |
+
*
|
| 612 |
+
* Kinds of colors:
|
| 613 |
+
* true colors - ARGB values where the alpha channel is stored as most
|
| 614 |
+
* significant, and the blue channel as least significant
|
| 615 |
+
* byte. Note that the alpha channel only uses the 7 least
|
| 616 |
+
* significant bits.
|
| 617 |
+
* Don't rely on the internal representation, though, and
|
| 618 |
+
* use <gdTrueColorAlpha> to compose a truecolor value, and
|
| 619 |
+
* <gdTrueColorGetAlpha>, <gdTrueColorGetRed>,
|
| 620 |
+
* <gdTrueColorGetGreen> and <gdTrueColorGetBlue> to access
|
| 621 |
+
* the respective channels.
|
| 622 |
+
* palette indexes - The index of a color palette entry (0-255).
|
| 623 |
+
* special colors - As listed in the following section.
|
| 624 |
+
*
|
| 625 |
+
* Constants: Special Colors
|
| 626 |
+
* gdStyled - use the current style, see <gdImageSetStyle>
|
| 627 |
+
* gdBrushed - use the current brush, see <gdImageSetBrush>
|
| 628 |
+
* gdStyledBrushed - use the current style and brush
|
| 629 |
+
* gdTiled - use the current tile, see <gdImageSetTile>
|
| 630 |
+
* gdTransparent - indicate transparency, what is not the same as the
|
| 631 |
+
* transparent color index; used for lines only
|
| 632 |
+
* gdAntiAliased - draw anti aliased
|
| 633 |
+
*/
|
| 634 |
+
|
| 635 |
+
#define gdStyled (-2)
|
| 636 |
+
#define gdBrushed (-3)
|
| 637 |
+
#define gdStyledBrushed (-4)
|
| 638 |
+
#define gdTiled (-5)
|
| 639 |
+
#define gdTransparent (-6)
|
| 640 |
+
#define gdAntiAliased (-7)
|
| 641 |
+
|
| 642 |
+
/* Functions to manipulate images. */
|
| 643 |
+
|
| 644 |
+
/* Creates a palette-based image (up to 256 colors). */
|
| 645 |
+
BGD_DECLARE(gdImagePtr) gdImageCreate (int sx, int sy);
|
| 646 |
+
|
| 647 |
+
/* An alternate name for the above (2.0). */
|
| 648 |
+
#define gdImageCreatePalette gdImageCreate
|
| 649 |
+
|
| 650 |
+
/* Creates a truecolor image (millions of colors). */
|
| 651 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateTrueColor (int sx, int sy);
|
| 652 |
+
|
| 653 |
+
/* Creates an image from various file types. These functions
|
| 654 |
+
return a palette or truecolor image based on the
|
| 655 |
+
nature of the file being loaded. Truecolor PNG
|
| 656 |
+
stays truecolor; palette PNG stays palette-based;
|
| 657 |
+
JPEG is always truecolor. */
|
| 658 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromPng (FILE * fd);
|
| 659 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromPngCtx(gdIOCtxPtr in);
|
| 660 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromPngPtr (int size, void *data);
|
| 661 |
+
|
| 662 |
+
/* These read the first frame only */
|
| 663 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromGif (FILE * fd);
|
| 664 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromGifCtx(gdIOCtxPtr in);
|
| 665 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromGifPtr (int size, void *data);
|
| 666 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMP (FILE * inFile);
|
| 667 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMPCtx(gdIOCtxPtr infile);
|
| 668 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMPPtr (int size, void *data);
|
| 669 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromJpeg (FILE * infile);
|
| 670 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegEx (FILE * infile, int ignore_warning);
|
| 671 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegCtx(gdIOCtxPtr infile);
|
| 672 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegCtxEx(gdIOCtxPtr infile, int ignore_warning);
|
| 673 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegPtr (int size, void *data);
|
| 674 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegPtrEx (int size, void *data, int ignore_warning);
|
| 675 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromWebp (FILE * inFile);
|
| 676 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpPtr (int size, void *data);
|
| 677 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpCtx(gdIOCtxPtr infile);
|
| 678 |
+
|
| 679 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromHeif(FILE *inFile);
|
| 680 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromHeifPtr(int size, void *data);
|
| 681 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromHeifCtx(gdIOCtxPtr infile);
|
| 682 |
+
|
| 683 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromAvif(FILE *inFile);
|
| 684 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromAvifPtr(int size, void *data);
|
| 685 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromAvifCtx(gdIOCtxPtr infile);
|
| 686 |
+
|
| 687 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromTiff(FILE *inFile);
|
| 688 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromTiffCtx(gdIOCtxPtr infile);
|
| 689 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromTiffPtr(int size, void *data);
|
| 690 |
+
|
| 691 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromTga( FILE * fp );
|
| 692 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromTgaCtx(gdIOCtxPtr ctx);
|
| 693 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromTgaPtr(int size, void *data);
|
| 694 |
+
|
| 695 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromBmp (FILE * inFile);
|
| 696 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromBmpPtr (int size, void *data);
|
| 697 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromBmpCtx(gdIOCtxPtr infile);
|
| 698 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromFile(const char *filename);
|
| 699 |
+
|
| 700 |
+
|
| 701 |
+
/*
|
| 702 |
+
Group: Types
|
| 703 |
+
|
| 704 |
+
typedef: gdSource
|
| 705 |
+
|
| 706 |
+
typedef: gdSourcePtr
|
| 707 |
+
|
| 708 |
+
*Note:* This interface is *obsolete* and kept only for
|
| 709 |
+
*compatibility. Use <gdIOCtx> instead.
|
| 710 |
+
|
| 711 |
+
Represents a source from which a PNG can be read. Programmers who
|
| 712 |
+
do not wish to read PNGs from a file can provide their own
|
| 713 |
+
alternate input mechanism, using the <gdImageCreateFromPngSource>
|
| 714 |
+
function. See the documentation of that function for an example of
|
| 715 |
+
the proper use of this type.
|
| 716 |
+
|
| 717 |
+
> typedef struct {
|
| 718 |
+
> int (*source) (void *context, char *buffer, int len);
|
| 719 |
+
> void *context;
|
| 720 |
+
> } gdSource, *gdSourcePtr;
|
| 721 |
+
|
| 722 |
+
The source function must return -1 on error, otherwise the number
|
| 723 |
+
of bytes fetched. 0 is EOF, not an error!
|
| 724 |
+
|
| 725 |
+
'context' will be passed to your source function.
|
| 726 |
+
|
| 727 |
+
*/
|
| 728 |
+
typedef struct {
|
| 729 |
+
int (*source) (void *context, char *buffer, int len);
|
| 730 |
+
void *context;
|
| 731 |
+
}
|
| 732 |
+
gdSource, *gdSourcePtr;
|
| 733 |
+
|
| 734 |
+
/* Deprecated in favor of gdImageCreateFromPngCtx */
|
| 735 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromPngSource (gdSourcePtr in);
|
| 736 |
+
|
| 737 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromGd (FILE * in);
|
| 738 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromGdCtx(gdIOCtxPtr in);
|
| 739 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromGdPtr (int size, void *data);
|
| 740 |
+
|
| 741 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2 (FILE * in);
|
| 742 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ctx(gdIOCtxPtr in);
|
| 743 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ptr (int size, void *data);
|
| 744 |
+
|
| 745 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Part (FILE * in, int srcx, int srcy, int w,
|
| 746 |
+
int h);
|
| 747 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartCtx(gdIOCtxPtr in, int srcx, int srcy,
|
| 748 |
+
int w, int h);
|
| 749 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartPtr (int size, void *data, int srcx, int srcy,
|
| 750 |
+
int w, int h);
|
| 751 |
+
/* 2.0.10: prototype was missing */
|
| 752 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromXbm (FILE * in);
|
| 753 |
+
BGD_DECLARE(void) gdImageXbmCtx(gdImagePtr image, char* file_name, int fg, gdIOCtxPtr out);
|
| 754 |
+
|
| 755 |
+
/* NOTE: filename, not FILE */
|
| 756 |
+
BGD_DECLARE(gdImagePtr) gdImageCreateFromXpm (char *filename);
|
| 757 |
+
|
| 758 |
+
BGD_DECLARE(void) gdImageDestroy (gdImagePtr im);
|
| 759 |
+
|
| 760 |
+
/* Replaces or blends with the background depending on the
|
| 761 |
+
most recent call to gdImageAlphaBlending and the
|
| 762 |
+
alpha channel value of 'color'; default is to overwrite.
|
| 763 |
+
Tiling and line styling are also implemented
|
| 764 |
+
here. All other gd drawing functions pass through this call,
|
| 765 |
+
allowing for many useful effects.
|
| 766 |
+
Overlay and multiply effects are used when gdImageAlphaBlending
|
| 767 |
+
is passed gdEffectOverlay and gdEffectMultiply */
|
| 768 |
+
|
| 769 |
+
BGD_DECLARE(void) gdImageSetPixel (gdImagePtr im, int x, int y, int color);
|
| 770 |
+
/* FreeType 2 text output with hook to extra flags */
|
| 771 |
+
|
| 772 |
+
BGD_DECLARE(int) gdImageGetPixel (gdImagePtr im, int x, int y);
|
| 773 |
+
BGD_DECLARE(int) gdImageGetTrueColorPixel (gdImagePtr im, int x, int y);
|
| 774 |
+
|
| 775 |
+
BGD_DECLARE(void) gdImageAABlend (gdImagePtr im);
|
| 776 |
+
|
| 777 |
+
BGD_DECLARE(void) gdImageLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color);
|
| 778 |
+
|
| 779 |
+
/* For backwards compatibility only. Use gdImageSetStyle()
|
| 780 |
+
for much more flexible line drawing. */
|
| 781 |
+
BGD_DECLARE(void) gdImageDashedLine (gdImagePtr im, int x1, int y1, int x2, int y2,
|
| 782 |
+
int color);
|
| 783 |
+
/* Corners specified (not width and height). Upper left first, lower right
|
| 784 |
+
second. */
|
| 785 |
+
BGD_DECLARE(void) gdImageRectangle (gdImagePtr im, int x1, int y1, int x2, int y2,
|
| 786 |
+
int color);
|
| 787 |
+
/* Solid bar. Upper left corner first, lower right corner second. */
|
| 788 |
+
BGD_DECLARE(void) gdImageFilledRectangle (gdImagePtr im, int x1, int y1, int x2, int y2,
|
| 789 |
+
int color);
|
| 790 |
+
BGD_DECLARE(void) gdImageSetClip(gdImagePtr im, int x1, int y1, int x2, int y2);
|
| 791 |
+
BGD_DECLARE(void) gdImageGetClip(gdImagePtr im, int *x1P, int *y1P, int *x2P, int *y2P);
|
| 792 |
+
BGD_DECLARE(void) gdImageSetResolution(gdImagePtr im, const unsigned int res_x, const unsigned int res_y);
|
| 793 |
+
BGD_DECLARE(int) gdImageBoundsSafe (gdImagePtr im, int x, int y);
|
| 794 |
+
BGD_DECLARE(void) gdImageChar (gdImagePtr im, gdFontPtr f, int x, int y, int c,
|
| 795 |
+
int color);
|
| 796 |
+
BGD_DECLARE(void) gdImageCharUp (gdImagePtr im, gdFontPtr f, int x, int y, int c,
|
| 797 |
+
int color);
|
| 798 |
+
BGD_DECLARE(void) gdImageString (gdImagePtr im, gdFontPtr f, int x, int y,
|
| 799 |
+
unsigned char *s, int color);
|
| 800 |
+
BGD_DECLARE(void) gdImageStringUp (gdImagePtr im, gdFontPtr f, int x, int y,
|
| 801 |
+
unsigned char *s, int color);
|
| 802 |
+
BGD_DECLARE(void) gdImageString16 (gdImagePtr im, gdFontPtr f, int x, int y,
|
| 803 |
+
unsigned short *s, int color);
|
| 804 |
+
BGD_DECLARE(void) gdImageStringUp16 (gdImagePtr im, gdFontPtr f, int x, int y,
|
| 805 |
+
unsigned short *s, int color);
|
| 806 |
+
|
| 807 |
+
/* 2.0.16: for thread-safe use of gdImageStringFT and friends,
|
| 808 |
+
call this before allowing any thread to call gdImageStringFT.
|
| 809 |
+
Otherwise it is invoked by the first thread to invoke
|
| 810 |
+
gdImageStringFT, with a very small but real risk of a race condition.
|
| 811 |
+
Return 0 on success, nonzero on failure to initialize freetype. */
|
| 812 |
+
BGD_DECLARE(int) gdFontCacheSetup (void);
|
| 813 |
+
|
| 814 |
+
/* Optional: clean up after application is done using fonts in
|
| 815 |
+
gdImageStringFT(). */
|
| 816 |
+
BGD_DECLARE(void) gdFontCacheShutdown (void);
|
| 817 |
+
/* 2.0.20: for backwards compatibility. A few applications did start calling
|
| 818 |
+
this function when it first appeared although it was never documented.
|
| 819 |
+
Simply invokes gdFontCacheShutdown. */
|
| 820 |
+
BGD_DECLARE(void) gdFreeFontCache (void);
|
| 821 |
+
|
| 822 |
+
/* Calls gdImageStringFT. Provided for backwards compatibility only. */
|
| 823 |
+
BGD_DECLARE(char *) gdImageStringTTF (gdImagePtr im, int *brect, int fg, const char *fontlist,
|
| 824 |
+
double ptsize, double angle, int x, int y,
|
| 825 |
+
const char *string);
|
| 826 |
+
|
| 827 |
+
/* FreeType 2 text output */
|
| 828 |
+
BGD_DECLARE(char *) gdImageStringFT (gdImagePtr im, int *brect, int fg, const char *fontlist,
|
| 829 |
+
double ptsize, double angle, int x, int y,
|
| 830 |
+
const char *string);
|
| 831 |
+
|
| 832 |
+
|
| 833 |
+
/*
|
| 834 |
+
Group: Types
|
| 835 |
+
|
| 836 |
+
typedef: gdFTStringExtra
|
| 837 |
+
|
| 838 |
+
typedef: gdFTStringExtraPtr
|
| 839 |
+
|
| 840 |
+
A structure and associated pointer type used to pass additional
|
| 841 |
+
parameters to the <gdImageStringFTEx> function. See
|
| 842 |
+
<gdImageStringFTEx> for the structure definition.
|
| 843 |
+
|
| 844 |
+
Thanks to Wez Furlong.
|
| 845 |
+
*/
|
| 846 |
+
|
| 847 |
+
/* 2.0.5: provides an extensible way to pass additional parameters.
|
| 848 |
+
Thanks to Wez Furlong, sorry for the delay. */
|
| 849 |
+
typedef struct {
|
| 850 |
+
int flags; /* Logical OR of gdFTEX_ values */
|
| 851 |
+
double linespacing; /* fine tune line spacing for '\n' */
|
| 852 |
+
int charmap; /* TBB: 2.0.12: may be gdFTEX_Unicode,
|
| 853 |
+
gdFTEX_Shift_JIS, gdFTEX_Big5,
|
| 854 |
+
or gdFTEX_Adobe_Custom;
|
| 855 |
+
when not specified, maps are searched
|
| 856 |
+
for in the above order. */
|
| 857 |
+
int hdpi; /* if (flags & gdFTEX_RESOLUTION) */
|
| 858 |
+
int vdpi; /* if (flags & gdFTEX_RESOLUTION) */
|
| 859 |
+
char *xshow; /* if (flags & gdFTEX_XSHOW)
|
| 860 |
+
then, on return, xshow is a malloc'ed
|
| 861 |
+
string containing xshow position data for
|
| 862 |
+
the last string.
|
| 863 |
+
|
| 864 |
+
NB. The caller is responsible for gdFree'ing
|
| 865 |
+
the xshow string.
|
| 866 |
+
*/
|
| 867 |
+
char *fontpath; /* if (flags & gdFTEX_RETURNFONTPATHNAME)
|
| 868 |
+
then, on return, fontpath is a malloc'ed
|
| 869 |
+
string containing the actual font file path name
|
| 870 |
+
used, which can be interesting when fontconfig
|
| 871 |
+
is in use.
|
| 872 |
+
|
| 873 |
+
The caller is responsible for gdFree'ing the
|
| 874 |
+
fontpath string.
|
| 875 |
+
*/
|
| 876 |
+
|
| 877 |
+
}
|
| 878 |
+
gdFTStringExtra, *gdFTStringExtraPtr;
|
| 879 |
+
|
| 880 |
+
#define gdFTEX_LINESPACE 1
|
| 881 |
+
#define gdFTEX_CHARMAP 2
|
| 882 |
+
#define gdFTEX_RESOLUTION 4
|
| 883 |
+
#define gdFTEX_DISABLE_KERNING 8
|
| 884 |
+
#define gdFTEX_XSHOW 16
|
| 885 |
+
/* The default unless gdFTUseFontConfig(1); has been called:
|
| 886 |
+
fontlist is a full or partial font file pathname or list thereof
|
| 887 |
+
(i.e. just like before 2.0.29) */
|
| 888 |
+
#define gdFTEX_FONTPATHNAME 32
|
| 889 |
+
/* Necessary to use fontconfig patterns instead of font pathnames
|
| 890 |
+
as the fontlist argument, unless gdFTUseFontConfig(1); has
|
| 891 |
+
been called. New in 2.0.29 */
|
| 892 |
+
#define gdFTEX_FONTCONFIG 64
|
| 893 |
+
/* Sometimes interesting when fontconfig is used: the fontpath
|
| 894 |
+
element of the structure above will contain a gdMalloc'd string
|
| 895 |
+
copy of the actual font file pathname used, if this flag is set
|
| 896 |
+
when the call is made */
|
| 897 |
+
#define gdFTEX_RETURNFONTPATHNAME 128
|
| 898 |
+
|
| 899 |
+
/* If flag is nonzero, the fontlist parameter to gdImageStringFT
|
| 900 |
+
and gdImageStringFTEx shall be assumed to be a fontconfig font pattern
|
| 901 |
+
if fontconfig was compiled into gd. This function returns zero
|
| 902 |
+
if fontconfig is not available, nonzero otherwise. */
|
| 903 |
+
BGD_DECLARE(int) gdFTUseFontConfig(int flag);
|
| 904 |
+
|
| 905 |
+
/* These are NOT flags; set one in 'charmap' if you set the
|
| 906 |
+
gdFTEX_CHARMAP bit in 'flags'. */
|
| 907 |
+
#define gdFTEX_Unicode 0
|
| 908 |
+
#define gdFTEX_Shift_JIS 1
|
| 909 |
+
#define gdFTEX_Big5 2
|
| 910 |
+
#define gdFTEX_Adobe_Custom 3
|
| 911 |
+
|
| 912 |
+
BGD_DECLARE(char *) gdImageStringFTEx (gdImagePtr im, int *brect, int fg, const char *fontlist,
|
| 913 |
+
double ptsize, double angle, int x, int y,
|
| 914 |
+
const char *string, gdFTStringExtraPtr strex);
|
| 915 |
+
|
| 916 |
+
|
| 917 |
+
/*
|
| 918 |
+
Group: Types
|
| 919 |
+
|
| 920 |
+
typedef: gdPoint
|
| 921 |
+
|
| 922 |
+
typedef: gdPointPtr
|
| 923 |
+
|
| 924 |
+
Represents a point in the coordinate space of the image; used by
|
| 925 |
+
<gdImagePolygon>, <gdImageOpenPolygon> and <gdImageFilledPolygon>
|
| 926 |
+
for polygon drawing.
|
| 927 |
+
|
| 928 |
+
> typedef struct {
|
| 929 |
+
> int x, y;
|
| 930 |
+
> } gdPoint, *gdPointPtr;
|
| 931 |
+
|
| 932 |
+
*/
|
| 933 |
+
typedef struct {
|
| 934 |
+
int x, y;
|
| 935 |
+
}
|
| 936 |
+
gdPoint, *gdPointPtr;
|
| 937 |
+
|
| 938 |
+
/**
|
| 939 |
+
* Typedef: gdRect
|
| 940 |
+
*
|
| 941 |
+
* A rectangle in the coordinate space of the image
|
| 942 |
+
*
|
| 943 |
+
* Members:
|
| 944 |
+
* x - The x-coordinate of the upper left corner.
|
| 945 |
+
* y - The y-coordinate of the upper left corner.
|
| 946 |
+
* width - The width.
|
| 947 |
+
* height - The height.
|
| 948 |
+
*
|
| 949 |
+
* Typedef: gdRectPtr
|
| 950 |
+
*
|
| 951 |
+
* A pointer to a <gdRect>
|
| 952 |
+
*/
|
| 953 |
+
typedef struct {
|
| 954 |
+
int x, y;
|
| 955 |
+
int width, height;
|
| 956 |
+
}
|
| 957 |
+
gdRect, *gdRectPtr;
|
| 958 |
+
|
| 959 |
+
|
| 960 |
+
BGD_DECLARE(void) gdImagePolygon (gdImagePtr im, gdPointPtr p, int n, int c);
|
| 961 |
+
BGD_DECLARE(void) gdImageOpenPolygon (gdImagePtr im, gdPointPtr p, int n, int c);
|
| 962 |
+
BGD_DECLARE(void) gdImageFilledPolygon (gdImagePtr im, gdPointPtr p, int n, int c);
|
| 963 |
+
|
| 964 |
+
/* These functions still work with truecolor images,
|
| 965 |
+
for which they never return error. */
|
| 966 |
+
BGD_DECLARE(int) gdImageColorAllocate (gdImagePtr im, int r, int g, int b);
|
| 967 |
+
/* gd 2.0: palette entries with non-opaque transparency are permitted. */
|
| 968 |
+
BGD_DECLARE(int) gdImageColorAllocateAlpha (gdImagePtr im, int r, int g, int b, int a);
|
| 969 |
+
/* Assumes opaque is the preferred alpha channel value */
|
| 970 |
+
BGD_DECLARE(int) gdImageColorClosest (gdImagePtr im, int r, int g, int b);
|
| 971 |
+
/* Closest match taking all four parameters into account.
|
| 972 |
+
A slightly different color with the same transparency
|
| 973 |
+
beats the exact same color with radically different
|
| 974 |
+
transparency */
|
| 975 |
+
BGD_DECLARE(int) gdImageColorClosestAlpha (gdImagePtr im, int r, int g, int b, int a);
|
| 976 |
+
/* An alternate method */
|
| 977 |
+
BGD_DECLARE(int) gdImageColorClosestHWB (gdImagePtr im, int r, int g, int b);
|
| 978 |
+
/* Returns exact, 100% opaque matches only */
|
| 979 |
+
BGD_DECLARE(int) gdImageColorExact (gdImagePtr im, int r, int g, int b);
|
| 980 |
+
/* Returns an exact match only, including alpha */
|
| 981 |
+
BGD_DECLARE(int) gdImageColorExactAlpha (gdImagePtr im, int r, int g, int b, int a);
|
| 982 |
+
/* Opaque only */
|
| 983 |
+
BGD_DECLARE(int) gdImageColorResolve (gdImagePtr im, int r, int g, int b);
|
| 984 |
+
/* Based on gdImageColorExactAlpha and gdImageColorClosestAlpha */
|
| 985 |
+
BGD_DECLARE(int) gdImageColorResolveAlpha (gdImagePtr im, int r, int g, int b, int a);
|
| 986 |
+
|
| 987 |
+
/* A simpler way to obtain an opaque truecolor value for drawing on a
|
| 988 |
+
truecolor image. Not for use with palette images! */
|
| 989 |
+
|
| 990 |
+
#define gdTrueColor(r, g, b) (((r) << 16) + \
|
| 991 |
+
((g) << 8) + \
|
| 992 |
+
(b))
|
| 993 |
+
|
| 994 |
+
/**
|
| 995 |
+
* Group: Color Composition
|
| 996 |
+
*
|
| 997 |
+
* Macro: gdTrueColorAlpha
|
| 998 |
+
*
|
| 999 |
+
* Compose a truecolor value from its components
|
| 1000 |
+
*
|
| 1001 |
+
* Parameters:
|
| 1002 |
+
* r - The red channel (0-255)
|
| 1003 |
+
* g - The green channel (0-255)
|
| 1004 |
+
* b - The blue channel (0-255)
|
| 1005 |
+
* a - The alpha channel (0-127, where 127 is fully transparent, and 0 is
|
| 1006 |
+
* completely opaque).
|
| 1007 |
+
*
|
| 1008 |
+
* See also:
|
| 1009 |
+
* - <gdTrueColorGetAlpha>
|
| 1010 |
+
* - <gdTrueColorGetRed>
|
| 1011 |
+
* - <gdTrueColorGetGreen>
|
| 1012 |
+
* - <gdTrueColorGetBlue>
|
| 1013 |
+
* - <gdImageColorExactAlpha>
|
| 1014 |
+
*/
|
| 1015 |
+
#define gdTrueColorAlpha(r, g, b, a) (((a) << 24) + \
|
| 1016 |
+
((r) << 16) + \
|
| 1017 |
+
((g) << 8) + \
|
| 1018 |
+
(b))
|
| 1019 |
+
|
| 1020 |
+
BGD_DECLARE(void) gdImageColorDeallocate (gdImagePtr im, int color);
|
| 1021 |
+
|
| 1022 |
+
/* Converts a truecolor image to a palette-based image,
|
| 1023 |
+
using a high-quality two-pass quantization routine
|
| 1024 |
+
which attempts to preserve alpha channel information
|
| 1025 |
+
as well as R/G/B color information when creating
|
| 1026 |
+
a palette. If ditherFlag is set, the image will be
|
| 1027 |
+
dithered to approximate colors better, at the expense
|
| 1028 |
+
of some obvious "speckling." colorsWanted can be
|
| 1029 |
+
anything up to 256. If the original source image
|
| 1030 |
+
includes photographic information or anything that
|
| 1031 |
+
came out of a JPEG, 256 is strongly recommended.
|
| 1032 |
+
|
| 1033 |
+
Better yet, don't use these function -- write real
|
| 1034 |
+
truecolor PNGs and JPEGs. The disk space gain of
|
| 1035 |
+
conversion to palette is not great (for small images
|
| 1036 |
+
it can be negative) and the quality loss is ugly.
|
| 1037 |
+
|
| 1038 |
+
DIFFERENCES: gdImageCreatePaletteFromTrueColor creates and
|
| 1039 |
+
returns a new image. gdImageTrueColorToPalette modifies
|
| 1040 |
+
an existing image, and the truecolor pixels are discarded.
|
| 1041 |
+
|
| 1042 |
+
gdImageTrueColorToPalette() returns TRUE on success, FALSE on failure.
|
| 1043 |
+
*/
|
| 1044 |
+
|
| 1045 |
+
BGD_DECLARE(gdImagePtr) gdImageCreatePaletteFromTrueColor (gdImagePtr im, int ditherFlag,
|
| 1046 |
+
int colorsWanted);
|
| 1047 |
+
|
| 1048 |
+
BGD_DECLARE(int) gdImageTrueColorToPalette (gdImagePtr im, int ditherFlag,
|
| 1049 |
+
int colorsWanted);
|
| 1050 |
+
|
| 1051 |
+
BGD_DECLARE(int) gdImagePaletteToTrueColor(gdImagePtr src);
|
| 1052 |
+
|
| 1053 |
+
/* An attempt at getting the results of gdImageTrueColorToPalette to
|
| 1054 |
+
* look a bit more like the original (im1 is the original and im2 is
|
| 1055 |
+
* the palette version */
|
| 1056 |
+
|
| 1057 |
+
BGD_DECLARE(int) gdImageColorMatch(gdImagePtr im1, gdImagePtr im2);
|
| 1058 |
+
|
| 1059 |
+
/* Selects quantization method used for subsequent gdImageTrueColorToPalette calls.
|
| 1060 |
+
See gdPaletteQuantizationMethod enum (e.g. GD_QUANT_NEUQUANT, GD_QUANT_LIQ).
|
| 1061 |
+
Speed is from 1 (highest quality) to 10 (fastest).
|
| 1062 |
+
Speed 0 selects method-specific default (recommended).
|
| 1063 |
+
|
| 1064 |
+
Returns FALSE if the given method is invalid or not available.
|
| 1065 |
+
*/
|
| 1066 |
+
BGD_DECLARE(int) gdImageTrueColorToPaletteSetMethod (gdImagePtr im, int method, int speed);
|
| 1067 |
+
|
| 1068 |
+
/*
|
| 1069 |
+
Chooses quality range that subsequent call to gdImageTrueColorToPalette will aim for.
|
| 1070 |
+
Min and max quality is in range 1-100 (1 = ugly, 100 = perfect). Max must be higher than min.
|
| 1071 |
+
If palette cannot represent image with at least min_quality, then image will remain true-color.
|
| 1072 |
+
If palette can represent image with quality better than max_quality, then lower number of colors will be used.
|
| 1073 |
+
This function has effect only when GD_QUANT_LIQ method has been selected and the source image is true-color.
|
| 1074 |
+
*/
|
| 1075 |
+
BGD_DECLARE(void) gdImageTrueColorToPaletteSetQuality (gdImagePtr im, int min_quality, int max_quality);
|
| 1076 |
+
|
| 1077 |
+
/* Specifies a color index (if a palette image) or an
|
| 1078 |
+
RGB color (if a truecolor image) which should be
|
| 1079 |
+
considered 100% transparent. FOR TRUECOLOR IMAGES,
|
| 1080 |
+
THIS IS IGNORED IF AN ALPHA CHANNEL IS BEING
|
| 1081 |
+
SAVED. Use gdImageSaveAlpha(im, 0); to
|
| 1082 |
+
turn off the saving of a full alpha channel in
|
| 1083 |
+
a truecolor image. Note that gdImageColorTransparent
|
| 1084 |
+
is usually compatible with older browsers that
|
| 1085 |
+
do not understand full alpha channels well. TBB */
|
| 1086 |
+
BGD_DECLARE(void) gdImageColorTransparent (gdImagePtr im, int color);
|
| 1087 |
+
|
| 1088 |
+
BGD_DECLARE(void) gdImagePaletteCopy (gdImagePtr dst, gdImagePtr src);
|
| 1089 |
+
|
| 1090 |
+
typedef int (*gdCallbackImageColor)(gdImagePtr im, int src);
|
| 1091 |
+
|
| 1092 |
+
BGD_DECLARE(int) gdImageColorReplace(gdImagePtr im, int src, int dst);
|
| 1093 |
+
BGD_DECLARE(int) gdImageColorReplaceThreshold(gdImagePtr im, int src, int dst, float threshold);
|
| 1094 |
+
BGD_DECLARE(int) gdImageColorReplaceArray(gdImagePtr im, int len, int *src, int *dst);
|
| 1095 |
+
BGD_DECLARE(int) gdImageColorReplaceCallback(gdImagePtr im, gdCallbackImageColor callback);
|
| 1096 |
+
|
| 1097 |
+
BGD_DECLARE(void) gdImageGif (gdImagePtr im, FILE * out);
|
| 1098 |
+
BGD_DECLARE(void) gdImagePng (gdImagePtr im, FILE * out);
|
| 1099 |
+
BGD_DECLARE(void) gdImagePngCtx(gdImagePtr im, gdIOCtxPtr out);
|
| 1100 |
+
BGD_DECLARE(void) gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out);
|
| 1101 |
+
BGD_DECLARE(void) gdImageTiff(gdImagePtr im, FILE *outFile);
|
| 1102 |
+
BGD_DECLARE(void *) gdImageTiffPtr(gdImagePtr im, int *size);
|
| 1103 |
+
BGD_DECLARE(void) gdImageTiffCtx(gdImagePtr image, gdIOCtxPtr out);
|
| 1104 |
+
|
| 1105 |
+
BGD_DECLARE(void *) gdImageBmpPtr(gdImagePtr im, int *size, int compression);
|
| 1106 |
+
BGD_DECLARE(void) gdImageBmp(gdImagePtr im, FILE *outFile, int compression);
|
| 1107 |
+
BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression);
|
| 1108 |
+
|
| 1109 |
+
/* 2.0.12: Compression level: 0-9 or -1, where 0 is NO COMPRESSION at all,
|
| 1110 |
+
1 is FASTEST but produces larger files, 9 provides the best
|
| 1111 |
+
compression (smallest files) but takes a long time to compress, and
|
| 1112 |
+
-1 selects the default compiled into the zlib library. */
|
| 1113 |
+
BGD_DECLARE(void) gdImagePngEx (gdImagePtr im, FILE * out, int level);
|
| 1114 |
+
BGD_DECLARE(void) gdImagePngCtxEx(gdImagePtr im, gdIOCtxPtr out, int level);
|
| 1115 |
+
|
| 1116 |
+
BGD_DECLARE(void) gdImageWBMP (gdImagePtr image, int fg, FILE * out);
|
| 1117 |
+
BGD_DECLARE(void) gdImageWBMPCtx(gdImagePtr image, int fg, gdIOCtxPtr out);
|
| 1118 |
+
|
| 1119 |
+
BGD_DECLARE(int) gdImageFile(gdImagePtr im, const char *filename);
|
| 1120 |
+
BGD_DECLARE(int) gdSupportsFileType(const char *filename, int writing);
|
| 1121 |
+
|
| 1122 |
+
|
| 1123 |
+
/* Guaranteed to correctly free memory returned by the gdImage*Ptr
|
| 1124 |
+
functions */
|
| 1125 |
+
BGD_DECLARE(void) gdFree (void *m);
|
| 1126 |
+
|
| 1127 |
+
/* Best to free this memory with gdFree(), not free() */
|
| 1128 |
+
BGD_DECLARE(void *) gdImageWBMPPtr (gdImagePtr im, int *size, int fg);
|
| 1129 |
+
|
| 1130 |
+
/* 100 is highest quality (there is always a little loss with JPEG).
|
| 1131 |
+
0 is lowest. 10 is about the lowest useful setting. */
|
| 1132 |
+
BGD_DECLARE(void) gdImageJpeg (gdImagePtr im, FILE * out, int quality);
|
| 1133 |
+
BGD_DECLARE(void) gdImageJpegCtx(gdImagePtr im, gdIOCtxPtr out, int quality);
|
| 1134 |
+
|
| 1135 |
+
/* Best to free this memory with gdFree(), not free() */
|
| 1136 |
+
BGD_DECLARE(void *) gdImageJpegPtr (gdImagePtr im, int *size, int quality);
|
| 1137 |
+
|
| 1138 |
+
/**
|
| 1139 |
+
* Group: WebP
|
| 1140 |
+
*
|
| 1141 |
+
* Constant: gdWebpLossless
|
| 1142 |
+
*
|
| 1143 |
+
* Lossless quality threshold. When image quality is greater than or equal to
|
| 1144 |
+
* <gdWebpLossless>, the image will be written in the lossless WebP format.
|
| 1145 |
+
*
|
| 1146 |
+
* See also:
|
| 1147 |
+
* - <gdImageWebpEx>
|
| 1148 |
+
*/
|
| 1149 |
+
#define gdWebpLossless 101
|
| 1150 |
+
|
| 1151 |
+
BGD_DECLARE(void) gdImageWebpEx (gdImagePtr im, FILE * outFile, int quantization);
|
| 1152 |
+
BGD_DECLARE(void) gdImageWebp (gdImagePtr im, FILE * outFile);
|
| 1153 |
+
BGD_DECLARE(void *) gdImageWebpPtr (gdImagePtr im, int *size);
|
| 1154 |
+
BGD_DECLARE(void *) gdImageWebpPtrEx (gdImagePtr im, int *size, int quantization);
|
| 1155 |
+
BGD_DECLARE(void) gdImageWebpCtx(gdImagePtr im, gdIOCtxPtr outfile, int quantization);
|
| 1156 |
+
|
| 1157 |
+
BGD_DECLARE(void) gdImageHeifEx(gdImagePtr im, FILE *outFile, int quality, gdHeifCodec codec, gdHeifChroma chroma);
|
| 1158 |
+
BGD_DECLARE(void) gdImageHeif(gdImagePtr im, FILE *outFile);
|
| 1159 |
+
BGD_DECLARE(void *) gdImageHeifPtr(gdImagePtr im, int *size);
|
| 1160 |
+
BGD_DECLARE(void *) gdImageHeifPtrEx(gdImagePtr im, int *size, int quality, gdHeifCodec codec, gdHeifChroma chroma);
|
| 1161 |
+
BGD_DECLARE(void) gdImageHeifCtx(gdImagePtr im, gdIOCtxPtr outfile, int quality, gdHeifCodec codec, gdHeifChroma chroma);
|
| 1162 |
+
|
| 1163 |
+
BGD_DECLARE(void) gdImageAvif(gdImagePtr im, FILE *outFile);
|
| 1164 |
+
BGD_DECLARE(void) gdImageAvifEx(gdImagePtr im, FILE *outFile, int quality, int speed);
|
| 1165 |
+
BGD_DECLARE(void *) gdImageAvifPtr(gdImagePtr im, int *size);
|
| 1166 |
+
BGD_DECLARE(void *) gdImageAvifPtrEx(gdImagePtr im, int *size, int quality, int speed);
|
| 1167 |
+
BGD_DECLARE(void) gdImageAvifCtx(gdImagePtr im, gdIOCtxPtr outfile, int quality, int speed);
|
| 1168 |
+
|
| 1169 |
+
/**
|
| 1170 |
+
* Group: GifAnim
|
| 1171 |
+
*
|
| 1172 |
+
* Legal values for Disposal. gdDisposalNone is always used by
|
| 1173 |
+
* the built-in optimizer if previm is passed.
|
| 1174 |
+
*
|
| 1175 |
+
* Constants: gdImageGifAnim
|
| 1176 |
+
*
|
| 1177 |
+
* gdDisposalUnknown - Not recommended
|
| 1178 |
+
* gdDisposalNone - Preserve previous frame
|
| 1179 |
+
* gdDisposalRestoreBackground - First allocated color of palette
|
| 1180 |
+
* gdDisposalRestorePrevious - Restore to before start of frame
|
| 1181 |
+
*
|
| 1182 |
+
* See also:
|
| 1183 |
+
* - <gdImageGifAnimAdd>
|
| 1184 |
+
*/
|
| 1185 |
+
enum {
|
| 1186 |
+
gdDisposalUnknown,
|
| 1187 |
+
gdDisposalNone,
|
| 1188 |
+
gdDisposalRestoreBackground,
|
| 1189 |
+
gdDisposalRestorePrevious
|
| 1190 |
+
};
|
| 1191 |
+
|
| 1192 |
+
BGD_DECLARE(void) gdImageGifAnimBegin(gdImagePtr im, FILE *outFile, int GlobalCM, int Loops);
|
| 1193 |
+
BGD_DECLARE(void) gdImageGifAnimAdd(gdImagePtr im, FILE *outFile, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm);
|
| 1194 |
+
BGD_DECLARE(void) gdImageGifAnimEnd(FILE *outFile);
|
| 1195 |
+
BGD_DECLARE(void) gdImageGifAnimBeginCtx(gdImagePtr im, gdIOCtxPtr out, int GlobalCM, int Loops);
|
| 1196 |
+
BGD_DECLARE(void) gdImageGifAnimAddCtx(gdImagePtr im, gdIOCtxPtr out, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm);
|
| 1197 |
+
BGD_DECLARE(void) gdImageGifAnimEndCtx(gdIOCtxPtr out);
|
| 1198 |
+
BGD_DECLARE(void *) gdImageGifAnimBeginPtr(gdImagePtr im, int *size, int GlobalCM, int Loops);
|
| 1199 |
+
BGD_DECLARE(void *) gdImageGifAnimAddPtr(gdImagePtr im, int *size, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm);
|
| 1200 |
+
BGD_DECLARE(void *) gdImageGifAnimEndPtr(int *size);
|
| 1201 |
+
|
| 1202 |
+
|
| 1203 |
+
|
| 1204 |
+
/*
|
| 1205 |
+
Group: Types
|
| 1206 |
+
|
| 1207 |
+
typedef: gdSink
|
| 1208 |
+
|
| 1209 |
+
typedef: gdSinkPtr
|
| 1210 |
+
|
| 1211 |
+
*Note:* This interface is *obsolete* and kept only for
|
| 1212 |
+
*compatibility*. Use <gdIOCtx> instead.
|
| 1213 |
+
|
| 1214 |
+
Represents a "sink" (destination) to which a PNG can be
|
| 1215 |
+
written. Programmers who do not wish to write PNGs to a file can
|
| 1216 |
+
provide their own alternate output mechanism, using the
|
| 1217 |
+
<gdImagePngToSink> function. See the documentation of that
|
| 1218 |
+
function for an example of the proper use of this type.
|
| 1219 |
+
|
| 1220 |
+
> typedef struct {
|
| 1221 |
+
> int (*sink) (void *context, char *buffer, int len);
|
| 1222 |
+
> void *context;
|
| 1223 |
+
> } gdSink, *gdSinkPtr;
|
| 1224 |
+
|
| 1225 |
+
The _sink_ function must return -1 on error, otherwise the number of
|
| 1226 |
+
bytes written, which must be equal to len.
|
| 1227 |
+
|
| 1228 |
+
_context_ will be passed to your sink function.
|
| 1229 |
+
|
| 1230 |
+
*/
|
| 1231 |
+
|
| 1232 |
+
typedef struct {
|
| 1233 |
+
int (*sink) (void *context, const char *buffer, int len);
|
| 1234 |
+
void *context;
|
| 1235 |
+
}
|
| 1236 |
+
gdSink, *gdSinkPtr;
|
| 1237 |
+
|
| 1238 |
+
BGD_DECLARE(void) gdImagePngToSink (gdImagePtr im, gdSinkPtr out);
|
| 1239 |
+
|
| 1240 |
+
BGD_DECLARE(void) gdImageGd (gdImagePtr im, FILE * out);
|
| 1241 |
+
BGD_DECLARE(void) gdImageGd2 (gdImagePtr im, FILE * out, int cs, int fmt);
|
| 1242 |
+
|
| 1243 |
+
/* Best to free this memory with gdFree(), not free() */
|
| 1244 |
+
BGD_DECLARE(void *) gdImageGifPtr (gdImagePtr im, int *size);
|
| 1245 |
+
|
| 1246 |
+
/* Best to free this memory with gdFree(), not free() */
|
| 1247 |
+
BGD_DECLARE(void *) gdImagePngPtr (gdImagePtr im, int *size);
|
| 1248 |
+
BGD_DECLARE(void *) gdImagePngPtrEx (gdImagePtr im, int *size, int level);
|
| 1249 |
+
|
| 1250 |
+
/* Best to free this memory with gdFree(), not free() */
|
| 1251 |
+
BGD_DECLARE(void *) gdImageGdPtr (gdImagePtr im, int *size);
|
| 1252 |
+
|
| 1253 |
+
/* Best to free this memory with gdFree(), not free() */
|
| 1254 |
+
BGD_DECLARE(void *) gdImageGd2Ptr (gdImagePtr im, int cs, int fmt, int *size);
|
| 1255 |
+
|
| 1256 |
+
/* Style is a bitwise OR ( | operator ) of these.
|
| 1257 |
+
gdArc and gdChord are mutually exclusive;
|
| 1258 |
+
gdChord just connects the starting and ending
|
| 1259 |
+
angles with a straight line, while gdArc produces
|
| 1260 |
+
a rounded edge. gdPie is a synonym for gdArc.
|
| 1261 |
+
gdNoFill indicates that the arc or chord should be
|
| 1262 |
+
outlined, not filled. gdEdged, used together with
|
| 1263 |
+
gdNoFill, indicates that the beginning and ending
|
| 1264 |
+
angles should be connected to the center; this is
|
| 1265 |
+
a good way to outline (rather than fill) a
|
| 1266 |
+
'pie slice'. */
|
| 1267 |
+
#define gdArc 0
|
| 1268 |
+
#define gdPie gdArc
|
| 1269 |
+
#define gdChord 1
|
| 1270 |
+
#define gdNoFill 2
|
| 1271 |
+
#define gdEdged 4
|
| 1272 |
+
|
| 1273 |
+
BGD_DECLARE(void) gdImageFilledArc (gdImagePtr im, int cx, int cy, int w, int h, int s,
|
| 1274 |
+
int e, int color, int style);
|
| 1275 |
+
BGD_DECLARE(void) gdImageArc (gdImagePtr im, int cx, int cy, int w, int h, int s, int e,
|
| 1276 |
+
int color);
|
| 1277 |
+
BGD_DECLARE(void) gdImageEllipse(gdImagePtr im, int cx, int cy, int w, int h, int color);
|
| 1278 |
+
BGD_DECLARE(void) gdImageFilledEllipse (gdImagePtr im, int cx, int cy, int w, int h,
|
| 1279 |
+
int color);
|
| 1280 |
+
BGD_DECLARE(void) gdImageFillToBorder (gdImagePtr im, int x, int y, int border,
|
| 1281 |
+
int color);
|
| 1282 |
+
BGD_DECLARE(void) gdImageFill (gdImagePtr im, int x, int y, int color);
|
| 1283 |
+
BGD_DECLARE(void) gdImageCopy (gdImagePtr dst, gdImagePtr src, int dstX, int dstY,
|
| 1284 |
+
int srcX, int srcY, int w, int h);
|
| 1285 |
+
BGD_DECLARE(void) gdImageCopyMerge (gdImagePtr dst, gdImagePtr src, int dstX, int dstY,
|
| 1286 |
+
int srcX, int srcY, int w, int h, int pct);
|
| 1287 |
+
BGD_DECLARE(void) gdImageCopyMergeGray (gdImagePtr dst, gdImagePtr src, int dstX,
|
| 1288 |
+
int dstY, int srcX, int srcY, int w, int h,
|
| 1289 |
+
int pct);
|
| 1290 |
+
|
| 1291 |
+
/* Stretches or shrinks to fit, as needed. Does NOT attempt
|
| 1292 |
+
to average the entire set of source pixels that scale down onto the
|
| 1293 |
+
destination pixel. */
|
| 1294 |
+
BGD_DECLARE(void) gdImageCopyResized (gdImagePtr dst, gdImagePtr src, int dstX, int dstY,
|
| 1295 |
+
int srcX, int srcY, int dstW, int dstH, int srcW,
|
| 1296 |
+
int srcH);
|
| 1297 |
+
|
| 1298 |
+
/* gd 2.0: stretches or shrinks to fit, as needed. When called with a
|
| 1299 |
+
truecolor destination image, this function averages the
|
| 1300 |
+
entire set of source pixels that scale down onto the
|
| 1301 |
+
destination pixel, taking into account what portion of the
|
| 1302 |
+
destination pixel each source pixel represents. This is a
|
| 1303 |
+
floating point operation, but this is not a performance issue
|
| 1304 |
+
on modern hardware, except for some embedded devices. If the
|
| 1305 |
+
destination is a palette image, gdImageCopyResized is
|
| 1306 |
+
substituted automatically. */
|
| 1307 |
+
BGD_DECLARE(void) gdImageCopyResampled (gdImagePtr dst, gdImagePtr src, int dstX,
|
| 1308 |
+
int dstY, int srcX, int srcY, int dstW, int dstH,
|
| 1309 |
+
int srcW, int srcH);
|
| 1310 |
+
|
| 1311 |
+
/* gd 2.0.8: gdImageCopyRotated is added. Source
|
| 1312 |
+
is a rectangle, with its upper left corner at
|
| 1313 |
+
srcX and srcY. Destination is the *center* of
|
| 1314 |
+
the rotated copy. Angle is in degrees, same as
|
| 1315 |
+
gdImageArc. Floating point destination center
|
| 1316 |
+
coordinates allow accurate rotation of
|
| 1317 |
+
objects of odd-numbered width or height. */
|
| 1318 |
+
BGD_DECLARE(void) gdImageCopyRotated (gdImagePtr dst,
|
| 1319 |
+
gdImagePtr src,
|
| 1320 |
+
double dstX, double dstY,
|
| 1321 |
+
int srcX, int srcY,
|
| 1322 |
+
int srcWidth, int srcHeight, int angle);
|
| 1323 |
+
|
| 1324 |
+
BGD_DECLARE(gdImagePtr) gdImageClone (gdImagePtr src);
|
| 1325 |
+
|
| 1326 |
+
BGD_DECLARE(void) gdImageSetBrush (gdImagePtr im, gdImagePtr brush);
|
| 1327 |
+
BGD_DECLARE(void) gdImageSetTile (gdImagePtr im, gdImagePtr tile);
|
| 1328 |
+
BGD_DECLARE(void) gdImageSetAntiAliased (gdImagePtr im, int c);
|
| 1329 |
+
BGD_DECLARE(void) gdImageSetAntiAliasedDontBlend (gdImagePtr im, int c, int dont_blend);
|
| 1330 |
+
BGD_DECLARE(void) gdImageSetStyle (gdImagePtr im, int *style, int noOfPixels);
|
| 1331 |
+
/* Line thickness (defaults to 1). Affects lines, ellipses,
|
| 1332 |
+
rectangles, polygons and so forth. */
|
| 1333 |
+
BGD_DECLARE(void) gdImageSetThickness (gdImagePtr im, int thickness);
|
| 1334 |
+
/* On or off (1 or 0) for all three of these. */
|
| 1335 |
+
BGD_DECLARE(void) gdImageInterlace (gdImagePtr im, int interlaceArg);
|
| 1336 |
+
BGD_DECLARE(void) gdImageAlphaBlending (gdImagePtr im, int alphaBlendingArg);
|
| 1337 |
+
BGD_DECLARE(void) gdImageSaveAlpha (gdImagePtr im, int saveAlphaArg);
|
| 1338 |
+
|
| 1339 |
+
BGD_DECLARE(gdImagePtr) gdImageNeuQuant(gdImagePtr im, const int max_color, int sample_factor);
|
| 1340 |
+
|
| 1341 |
+
enum gdPixelateMode {
|
| 1342 |
+
GD_PIXELATE_UPPERLEFT,
|
| 1343 |
+
GD_PIXELATE_AVERAGE
|
| 1344 |
+
};
|
| 1345 |
+
|
| 1346 |
+
BGD_DECLARE(int) gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode);
|
| 1347 |
+
|
| 1348 |
+
typedef struct {
|
| 1349 |
+
int sub;
|
| 1350 |
+
int plus;
|
| 1351 |
+
unsigned int num_colors;
|
| 1352 |
+
int *colors;
|
| 1353 |
+
unsigned int seed;
|
| 1354 |
+
} gdScatter, *gdScatterPtr;
|
| 1355 |
+
|
| 1356 |
+
BGD_DECLARE(int) gdImageScatter(gdImagePtr im, int sub, int plus);
|
| 1357 |
+
BGD_DECLARE(int) gdImageScatterColor(gdImagePtr im, int sub, int plus, int colors[], unsigned int num_colors);
|
| 1358 |
+
BGD_DECLARE(int) gdImageScatterEx(gdImagePtr im, gdScatterPtr s);
|
| 1359 |
+
BGD_DECLARE(int) gdImageSmooth(gdImagePtr im, float weight);
|
| 1360 |
+
BGD_DECLARE(int) gdImageMeanRemoval(gdImagePtr im);
|
| 1361 |
+
BGD_DECLARE(int) gdImageEmboss(gdImagePtr im);
|
| 1362 |
+
BGD_DECLARE(int) gdImageGaussianBlur(gdImagePtr im);
|
| 1363 |
+
BGD_DECLARE(int) gdImageEdgeDetectQuick(gdImagePtr src);
|
| 1364 |
+
BGD_DECLARE(int) gdImageSelectiveBlur( gdImagePtr src);
|
| 1365 |
+
BGD_DECLARE(int) gdImageConvolution(gdImagePtr src, float filter[3][3], float filter_div, float offset);
|
| 1366 |
+
BGD_DECLARE(int) gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha);
|
| 1367 |
+
BGD_DECLARE(int) gdImageContrast(gdImagePtr src, double contrast);
|
| 1368 |
+
BGD_DECLARE(int) gdImageBrightness(gdImagePtr src, int brightness);
|
| 1369 |
+
BGD_DECLARE(int) gdImageGrayScale(gdImagePtr src);
|
| 1370 |
+
BGD_DECLARE(int) gdImageNegate(gdImagePtr src);
|
| 1371 |
+
|
| 1372 |
+
BGD_DECLARE(gdImagePtr) gdImageCopyGaussianBlurred(gdImagePtr src, int radius,
|
| 1373 |
+
double sigma);
|
| 1374 |
+
|
| 1375 |
+
|
| 1376 |
+
/**
|
| 1377 |
+
* Group: Accessor Macros
|
| 1378 |
+
*/
|
| 1379 |
+
|
| 1380 |
+
/**
|
| 1381 |
+
* Macro: gdImageTrueColor
|
| 1382 |
+
*
|
| 1383 |
+
* Whether an image is a truecolor image.
|
| 1384 |
+
*
|
| 1385 |
+
* Parameters:
|
| 1386 |
+
* im - The image.
|
| 1387 |
+
*
|
| 1388 |
+
* Returns:
|
| 1389 |
+
* Non-zero if the image is a truecolor image, zero for palette images.
|
| 1390 |
+
*/
|
| 1391 |
+
#define gdImageTrueColor(im) ((im)->trueColor)
|
| 1392 |
+
|
| 1393 |
+
/**
|
| 1394 |
+
* Macro: gdImageSX
|
| 1395 |
+
*
|
| 1396 |
+
* Gets the width (in pixels) of an image.
|
| 1397 |
+
*
|
| 1398 |
+
* Parameters:
|
| 1399 |
+
* im - The image.
|
| 1400 |
+
*/
|
| 1401 |
+
#define gdImageSX(im) ((im)->sx)
|
| 1402 |
+
|
| 1403 |
+
/**
|
| 1404 |
+
* Macro: gdImageSY
|
| 1405 |
+
*
|
| 1406 |
+
* Gets the height (in pixels) of an image.
|
| 1407 |
+
*
|
| 1408 |
+
* Parameters:
|
| 1409 |
+
* im - The image.
|
| 1410 |
+
*/
|
| 1411 |
+
#define gdImageSY(im) ((im)->sy)
|
| 1412 |
+
|
| 1413 |
+
/**
|
| 1414 |
+
* Macro: gdImageColorsTotal
|
| 1415 |
+
*
|
| 1416 |
+
* Gets the number of colors in the palette.
|
| 1417 |
+
*
|
| 1418 |
+
* This macro is only valid for palette images.
|
| 1419 |
+
*
|
| 1420 |
+
* Parameters:
|
| 1421 |
+
* im - The image
|
| 1422 |
+
*/
|
| 1423 |
+
#define gdImageColorsTotal(im) ((im)->colorsTotal)
|
| 1424 |
+
|
| 1425 |
+
/**
|
| 1426 |
+
* Macro: gdImageRed
|
| 1427 |
+
*
|
| 1428 |
+
* Gets the red component value of a given color.
|
| 1429 |
+
*
|
| 1430 |
+
* Parameters:
|
| 1431 |
+
* im - The image.
|
| 1432 |
+
* c - The color.
|
| 1433 |
+
*/
|
| 1434 |
+
#define gdImageRed(im, c) ((im)->trueColor ? gdTrueColorGetRed(c) : \
|
| 1435 |
+
(im)->red[(c)])
|
| 1436 |
+
|
| 1437 |
+
/**
|
| 1438 |
+
* Macro: gdImageGreen
|
| 1439 |
+
*
|
| 1440 |
+
* Gets the green component value of a given color.
|
| 1441 |
+
*
|
| 1442 |
+
* Parameters:
|
| 1443 |
+
* im - The image.
|
| 1444 |
+
* c - The color.
|
| 1445 |
+
*/
|
| 1446 |
+
#define gdImageGreen(im, c) ((im)->trueColor ? gdTrueColorGetGreen(c) : \
|
| 1447 |
+
(im)->green[(c)])
|
| 1448 |
+
|
| 1449 |
+
/**
|
| 1450 |
+
* Macro: gdImageBlue
|
| 1451 |
+
*
|
| 1452 |
+
* Gets the blue component value of a given color.
|
| 1453 |
+
*
|
| 1454 |
+
* Parameters:
|
| 1455 |
+
* im - The image.
|
| 1456 |
+
* c - The color.
|
| 1457 |
+
*/
|
| 1458 |
+
#define gdImageBlue(im, c) ((im)->trueColor ? gdTrueColorGetBlue(c) : \
|
| 1459 |
+
(im)->blue[(c)])
|
| 1460 |
+
|
| 1461 |
+
/**
|
| 1462 |
+
* Macro: gdImageAlpha
|
| 1463 |
+
*
|
| 1464 |
+
* Gets the alpha component value of a given color.
|
| 1465 |
+
*
|
| 1466 |
+
* Parameters:
|
| 1467 |
+
* im - The image.
|
| 1468 |
+
* c - The color.
|
| 1469 |
+
*/
|
| 1470 |
+
#define gdImageAlpha(im, c) ((im)->trueColor ? gdTrueColorGetAlpha(c) : \
|
| 1471 |
+
(im)->alpha[(c)])
|
| 1472 |
+
|
| 1473 |
+
/**
|
| 1474 |
+
* Macro: gdImageGetTransparent
|
| 1475 |
+
*
|
| 1476 |
+
* Gets the transparent color of the image.
|
| 1477 |
+
*
|
| 1478 |
+
* Parameters:
|
| 1479 |
+
* im - The image.
|
| 1480 |
+
*
|
| 1481 |
+
* See also:
|
| 1482 |
+
* - <gdImageColorTransparent>
|
| 1483 |
+
*/
|
| 1484 |
+
#define gdImageGetTransparent(im) ((im)->transparent)
|
| 1485 |
+
|
| 1486 |
+
/**
|
| 1487 |
+
* Macro: gdImageGetInterlaced
|
| 1488 |
+
*
|
| 1489 |
+
* Whether an image is interlaced.
|
| 1490 |
+
*
|
| 1491 |
+
* Parameters:
|
| 1492 |
+
* im - The image.
|
| 1493 |
+
*
|
| 1494 |
+
* Returns:
|
| 1495 |
+
* Non-zero for interlaced images, zero otherwise.
|
| 1496 |
+
*
|
| 1497 |
+
* See also:
|
| 1498 |
+
* - <gdImageInterlace>
|
| 1499 |
+
*/
|
| 1500 |
+
#define gdImageGetInterlaced(im) ((im)->interlace)
|
| 1501 |
+
|
| 1502 |
+
/**
|
| 1503 |
+
* Macro: gdImagePalettePixel
|
| 1504 |
+
*
|
| 1505 |
+
* Gets the color of a pixel.
|
| 1506 |
+
*
|
| 1507 |
+
* Calling this macro is only valid for palette images.
|
| 1508 |
+
* No bounds checking is done for the coordinates.
|
| 1509 |
+
*
|
| 1510 |
+
* Parameters:
|
| 1511 |
+
* im - The image.
|
| 1512 |
+
* x - The x-coordinate.
|
| 1513 |
+
* y - The y-coordinate.
|
| 1514 |
+
*
|
| 1515 |
+
* See also:
|
| 1516 |
+
* - <gdImageTrueColorPixel>
|
| 1517 |
+
* - <gdImageGetPixel>
|
| 1518 |
+
*/
|
| 1519 |
+
#define gdImagePalettePixel(im, x, y) (im)->pixels[(y)][(x)]
|
| 1520 |
+
|
| 1521 |
+
/**
|
| 1522 |
+
* Macro: gdImageTrueColorPixel
|
| 1523 |
+
*
|
| 1524 |
+
* Gets the color of a pixel.
|
| 1525 |
+
*
|
| 1526 |
+
* Calling this macro is only valid for truecolor images.
|
| 1527 |
+
* No bounds checking is done for the coordinates.
|
| 1528 |
+
*
|
| 1529 |
+
* Parameters:
|
| 1530 |
+
* im - The image.
|
| 1531 |
+
* x - The x-coordinate.
|
| 1532 |
+
* y - The y-coordinate.
|
| 1533 |
+
*
|
| 1534 |
+
* See also:
|
| 1535 |
+
* - <gdImagePalettePixel>
|
| 1536 |
+
* - <gdImageGetTrueColorPixel>
|
| 1537 |
+
*/
|
| 1538 |
+
#define gdImageTrueColorPixel(im, x, y) (im)->tpixels[(y)][(x)]
|
| 1539 |
+
|
| 1540 |
+
/**
|
| 1541 |
+
* Macro: gdImageResolutionX
|
| 1542 |
+
*
|
| 1543 |
+
* Gets the horizontal resolution in DPI.
|
| 1544 |
+
*
|
| 1545 |
+
* Parameters:
|
| 1546 |
+
* im - The image.
|
| 1547 |
+
*
|
| 1548 |
+
* See also:
|
| 1549 |
+
* - <gdImageResolutionY>
|
| 1550 |
+
* - <gdImageSetResolution>
|
| 1551 |
+
*/
|
| 1552 |
+
#define gdImageResolutionX(im) (im)->res_x
|
| 1553 |
+
|
| 1554 |
+
/**
|
| 1555 |
+
* Macro: gdImageResolutionY
|
| 1556 |
+
*
|
| 1557 |
+
* Gets the vertical resolution in DPI.
|
| 1558 |
+
*
|
| 1559 |
+
* Parameters:
|
| 1560 |
+
* im - The image.
|
| 1561 |
+
*
|
| 1562 |
+
* See also:
|
| 1563 |
+
* - <gdImageResolutionX>
|
| 1564 |
+
* - <gdImageSetResolution>
|
| 1565 |
+
*/
|
| 1566 |
+
#define gdImageResolutionY(im) (im)->res_y
|
| 1567 |
+
|
| 1568 |
+
/* I/O Support routines. */
|
| 1569 |
+
|
| 1570 |
+
BGD_DECLARE(gdIOCtxPtr) gdNewFileCtx(FILE *);
|
| 1571 |
+
/* If data is null, size is ignored and an initial data buffer is
|
| 1572 |
+
allocated automatically. NOTE: this function assumes gd has the right
|
| 1573 |
+
to free or reallocate "data" at will! Also note that gd will free
|
| 1574 |
+
"data" when the IO context is freed. If data is not null, it must point
|
| 1575 |
+
to memory allocated with gdMalloc, or by a call to gdImage[something]Ptr.
|
| 1576 |
+
If not, see gdNewDynamicCtxEx for an alternative. */
|
| 1577 |
+
BGD_DECLARE(gdIOCtxPtr) gdNewDynamicCtx(int size, void *data);
|
| 1578 |
+
/* 2.0.21: if freeFlag is nonzero, gd will free and/or reallocate "data" as
|
| 1579 |
+
needed as described above. If freeFlag is zero, gd will never free
|
| 1580 |
+
or reallocate "data", which means that the context should only be used
|
| 1581 |
+
for *reading* an image from a memory buffer, or writing an image to a
|
| 1582 |
+
memory buffer which is already large enough. If the memory buffer is
|
| 1583 |
+
not large enough and an image write is attempted, the write operation
|
| 1584 |
+
will fail. Those wishing to write an image to a buffer in memory have
|
| 1585 |
+
a much simpler alternative in the gdImage[something]Ptr functions. */
|
| 1586 |
+
BGD_DECLARE(gdIOCtxPtr) gdNewDynamicCtxEx(int size, void *data, int freeFlag);
|
| 1587 |
+
BGD_DECLARE(gdIOCtxPtr) gdNewSSCtx(gdSourcePtr in, gdSinkPtr out);
|
| 1588 |
+
BGD_DECLARE(void *) gdDPExtractData(gdIOCtxPtr ctx, int *size);
|
| 1589 |
+
|
| 1590 |
+
#define GD2_CHUNKSIZE 128
|
| 1591 |
+
#define GD2_CHUNKSIZE_MIN 64
|
| 1592 |
+
#define GD2_CHUNKSIZE_MAX 4096
|
| 1593 |
+
|
| 1594 |
+
#define GD2_VERS 2
|
| 1595 |
+
#define GD2_ID "gd2"
|
| 1596 |
+
|
| 1597 |
+
#define GD2_FMT_RAW 1
|
| 1598 |
+
#define GD2_FMT_COMPRESSED 2
|
| 1599 |
+
|
| 1600 |
+
/* Image comparison definitions */
|
| 1601 |
+
BGD_DECLARE(int) gdImageCompare (gdImagePtr im1, gdImagePtr im2);
|
| 1602 |
+
|
| 1603 |
+
BGD_DECLARE(void) gdImageFlipHorizontal(gdImagePtr im);
|
| 1604 |
+
BGD_DECLARE(void) gdImageFlipVertical(gdImagePtr im);
|
| 1605 |
+
BGD_DECLARE(void) gdImageFlipBoth(gdImagePtr im);
|
| 1606 |
+
|
| 1607 |
+
/**
|
| 1608 |
+
* Group: Crop
|
| 1609 |
+
*
|
| 1610 |
+
* Constants: gdCropMode
|
| 1611 |
+
* GD_CROP_DEFAULT - Same as GD_CROP_TRANSPARENT
|
| 1612 |
+
* GD_CROP_TRANSPARENT - Crop using the transparent color
|
| 1613 |
+
* GD_CROP_BLACK - Crop black borders
|
| 1614 |
+
* GD_CROP_WHITE - Crop white borders
|
| 1615 |
+
* GD_CROP_SIDES - Crop using colors of the 4 corners
|
| 1616 |
+
*
|
| 1617 |
+
* See also:
|
| 1618 |
+
* - <gdImageCropAuto>
|
| 1619 |
+
**/
|
| 1620 |
+
enum gdCropMode {
|
| 1621 |
+
GD_CROP_DEFAULT = 0,
|
| 1622 |
+
GD_CROP_TRANSPARENT,
|
| 1623 |
+
GD_CROP_BLACK,
|
| 1624 |
+
GD_CROP_WHITE,
|
| 1625 |
+
GD_CROP_SIDES,
|
| 1626 |
+
GD_CROP_THRESHOLD
|
| 1627 |
+
};
|
| 1628 |
+
|
| 1629 |
+
BGD_DECLARE(gdImagePtr) gdImageCrop(gdImagePtr src, const gdRect *crop);
|
| 1630 |
+
BGD_DECLARE(gdImagePtr) gdImageCropAuto(gdImagePtr im, const unsigned int mode);
|
| 1631 |
+
BGD_DECLARE(gdImagePtr) gdImageCropThreshold(gdImagePtr im, const unsigned int color, const float threshold);
|
| 1632 |
+
|
| 1633 |
+
BGD_DECLARE(int) gdImageSetInterpolationMethod(gdImagePtr im, gdInterpolationMethod id);
|
| 1634 |
+
BGD_DECLARE(gdInterpolationMethod) gdImageGetInterpolationMethod(gdImagePtr im);
|
| 1635 |
+
|
| 1636 |
+
BGD_DECLARE(gdImagePtr) gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_height);
|
| 1637 |
+
|
| 1638 |
+
BGD_DECLARE(gdImagePtr) gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor);
|
| 1639 |
+
|
| 1640 |
+
typedef enum {
|
| 1641 |
+
GD_AFFINE_TRANSLATE = 0,
|
| 1642 |
+
GD_AFFINE_SCALE,
|
| 1643 |
+
GD_AFFINE_ROTATE,
|
| 1644 |
+
GD_AFFINE_SHEAR_HORIZONTAL,
|
| 1645 |
+
GD_AFFINE_SHEAR_VERTICAL
|
| 1646 |
+
} gdAffineStandardMatrix;
|
| 1647 |
+
|
| 1648 |
+
BGD_DECLARE(int) gdAffineApplyToPointF (gdPointFPtr dst, const gdPointFPtr src, const double affine[6]);
|
| 1649 |
+
BGD_DECLARE(int) gdAffineInvert (double dst[6], const double src[6]);
|
| 1650 |
+
BGD_DECLARE(int) gdAffineFlip (double dst_affine[6], const double src_affine[6], const int flip_h, const int flip_v);
|
| 1651 |
+
BGD_DECLARE(int) gdAffineConcat (double dst[6], const double m1[6], const double m2[6]);
|
| 1652 |
+
|
| 1653 |
+
BGD_DECLARE(int) gdAffineIdentity (double dst[6]);
|
| 1654 |
+
BGD_DECLARE(int) gdAffineScale (double dst[6], const double scale_x, const double scale_y);
|
| 1655 |
+
BGD_DECLARE(int) gdAffineRotate (double dst[6], const double angle);
|
| 1656 |
+
BGD_DECLARE(int) gdAffineShearHorizontal (double dst[6], const double angle);
|
| 1657 |
+
BGD_DECLARE(int) gdAffineShearVertical(double dst[6], const double angle);
|
| 1658 |
+
BGD_DECLARE(int) gdAffineTranslate (double dst[6], const double offset_x, const double offset_y);
|
| 1659 |
+
BGD_DECLARE(double) gdAffineExpansion (const double src[6]);
|
| 1660 |
+
BGD_DECLARE(int) gdAffineRectilinear (const double src[6]);
|
| 1661 |
+
BGD_DECLARE(int) gdAffineEqual (const double matrix1[6], const double matrix2[6]);
|
| 1662 |
+
BGD_DECLARE(int) gdTransformAffineGetImage(gdImagePtr *dst, const gdImagePtr src, gdRectPtr src_area, const double affine[6]);
|
| 1663 |
+
BGD_DECLARE(int) gdTransformAffineCopy(gdImagePtr dst, int dst_x, int dst_y, const gdImagePtr src, gdRectPtr src_region, const double affine[6]);
|
| 1664 |
+
/*
|
| 1665 |
+
gdTransformAffineCopy(gdImagePtr dst, int x0, int y0, int x1, int y1,
|
| 1666 |
+
const gdImagePtr src, int src_width, int src_height,
|
| 1667 |
+
const double affine[6]);
|
| 1668 |
+
*/
|
| 1669 |
+
BGD_DECLARE(int) gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox);
|
| 1670 |
+
|
| 1671 |
+
/**
|
| 1672 |
+
* Group: Image Comparison
|
| 1673 |
+
*
|
| 1674 |
+
* Constants:
|
| 1675 |
+
* GD_CMP_IMAGE - Actual image IS different
|
| 1676 |
+
* GD_CMP_NUM_COLORS - Number of colors in pallette differ
|
| 1677 |
+
* GD_CMP_COLOR - Image colors differ
|
| 1678 |
+
* GD_CMP_SIZE_X - Image width differs
|
| 1679 |
+
* GD_CMP_SIZE_Y - Image heights differ
|
| 1680 |
+
* GD_CMP_TRANSPARENT - Transparent color differs
|
| 1681 |
+
* GD_CMP_BACKGROUND - Background color differs
|
| 1682 |
+
* GD_CMP_INTERLACE - Interlaced setting differs
|
| 1683 |
+
* GD_CMP_TRUECOLOR - Truecolor vs palette differs
|
| 1684 |
+
*
|
| 1685 |
+
* See also:
|
| 1686 |
+
* - <gdImageCompare>
|
| 1687 |
+
*/
|
| 1688 |
+
#define GD_CMP_IMAGE 1
|
| 1689 |
+
#define GD_CMP_NUM_COLORS 2
|
| 1690 |
+
#define GD_CMP_COLOR 4
|
| 1691 |
+
#define GD_CMP_SIZE_X 8
|
| 1692 |
+
#define GD_CMP_SIZE_Y 16
|
| 1693 |
+
#define GD_CMP_TRANSPARENT 32
|
| 1694 |
+
#define GD_CMP_BACKGROUND 64
|
| 1695 |
+
#define GD_CMP_INTERLACE 128
|
| 1696 |
+
#define GD_CMP_TRUECOLOR 256
|
| 1697 |
+
|
| 1698 |
+
/* resolution affects ttf font rendering, particularly hinting */
|
| 1699 |
+
#define GD_RESOLUTION 96 /* pixels per inch */
|
| 1700 |
+
|
| 1701 |
+
|
| 1702 |
+
/* Version information functions */
|
| 1703 |
+
BGD_DECLARE(int) gdMajorVersion(void);
|
| 1704 |
+
BGD_DECLARE(int) gdMinorVersion(void);
|
| 1705 |
+
BGD_DECLARE(int) gdReleaseVersion(void);
|
| 1706 |
+
BGD_DECLARE(const char *) gdExtraVersion(void);
|
| 1707 |
+
BGD_DECLARE(const char *) gdVersionString(void);
|
| 1708 |
+
|
| 1709 |
+
/* newfangled special effects */
|
| 1710 |
+
#include "gdfx.h"
|
| 1711 |
+
|
| 1712 |
+
#ifdef __cplusplus
|
| 1713 |
+
}
|
| 1714 |
+
#endif
|
| 1715 |
+
|
| 1716 |
+
#endif /* GD_H */
|
data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gd_color_map.h
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#ifndef GD_COLOR_MAP_H
|
| 2 |
+
#define GD_COLOR_MAP_H 1
|
| 3 |
+
|
| 4 |
+
#include "gd.h"
|
| 5 |
+
|
| 6 |
+
#ifdef __cplusplus
|
| 7 |
+
extern "C" {
|
| 8 |
+
#endif
|
| 9 |
+
|
| 10 |
+
typedef struct {
|
| 11 |
+
char *color_name;
|
| 12 |
+
int red;
|
| 13 |
+
int green;
|
| 14 |
+
int blue;
|
| 15 |
+
} gdColorMapEntry;
|
| 16 |
+
|
| 17 |
+
typedef struct {
|
| 18 |
+
int num_entries;
|
| 19 |
+
gdColorMapEntry *entries;
|
| 20 |
+
} gdColorMap;
|
| 21 |
+
|
| 22 |
+
extern BGD_EXPORT_DATA_PROT gdColorMap GD_COLOR_MAP_X11;
|
| 23 |
+
|
| 24 |
+
BGD_DECLARE(int) gdColorMapLookup(const gdColorMap color_map, const char *color_name, int *r, int *g, int *b);
|
| 25 |
+
|
| 26 |
+
#ifdef __cplusplus
|
| 27 |
+
}
|
| 28 |
+
#endif
|
| 29 |
+
|
| 30 |
+
#endif
|
data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gd_errors.h
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#ifndef GD_ERRORS_H
|
| 2 |
+
#define GD_ERRORS_H
|
| 3 |
+
|
| 4 |
+
#ifndef _WIN32
|
| 5 |
+
# include <syslog.h>
|
| 6 |
+
#else
|
| 7 |
+
/*
|
| 8 |
+
* priorities/facilities are encoded into a single 32-bit quantity, where the
|
| 9 |
+
* bottom 3 bits are the priority (0-7) and the top 28 bits are the facility
|
| 10 |
+
* (0-big number). Both the priorities and the facilities map roughly
|
| 11 |
+
* one-to-one to strings in the syslogd(8) source code. This mapping is
|
| 12 |
+
* included in this file.
|
| 13 |
+
*
|
| 14 |
+
* priorities (these are ordered)
|
| 15 |
+
*/
|
| 16 |
+
# define LOG_EMERG 0 /* system is unusable */
|
| 17 |
+
# define LOG_ALERT 1 /* action must be taken immediately */
|
| 18 |
+
# define LOG_CRIT 2 /* critical conditions */
|
| 19 |
+
# define LOG_ERR 3 /* error conditions */
|
| 20 |
+
# define LOG_WARNING 4 /* warning conditions */
|
| 21 |
+
# define LOG_NOTICE 5 /* normal but significant condition */
|
| 22 |
+
# define LOG_INFO 6 /* informational */
|
| 23 |
+
# define LOG_DEBUG 7 /* debug-level messages */
|
| 24 |
+
#endif
|
| 25 |
+
|
| 26 |
+
/*
|
| 27 |
+
LOG_EMERG system is unusable
|
| 28 |
+
LOG_ALERT action must be taken immediately
|
| 29 |
+
LOG_CRIT critical conditions
|
| 30 |
+
LOG_ERR error conditions
|
| 31 |
+
LOG_WARNING warning conditions
|
| 32 |
+
LOG_NOTICE normal, but significant, condition
|
| 33 |
+
LOG_INFO informational message
|
| 34 |
+
LOG_DEBUG debug-level message
|
| 35 |
+
*/
|
| 36 |
+
|
| 37 |
+
#define GD_ERROR LOG_ERR
|
| 38 |
+
#define GD_WARNING LOG_WARNING
|
| 39 |
+
#define GD_NOTICE LOG_NOTICE
|
| 40 |
+
#define GD_INFO LOG_INFO
|
| 41 |
+
#define GD_DEBUG LOG_DEBUG
|
| 42 |
+
|
| 43 |
+
void gd_error(const char *format, ...);
|
| 44 |
+
void gd_error_ex(int priority, const char *format, ...);
|
| 45 |
+
|
| 46 |
+
#endif
|
data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gd_io.h
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#ifndef GD_IO_H
|
| 2 |
+
#define GD_IO_H 1
|
| 3 |
+
|
| 4 |
+
#include <stdio.h>
|
| 5 |
+
|
| 6 |
+
#ifdef __cplusplus
|
| 7 |
+
extern "C" {
|
| 8 |
+
#endif
|
| 9 |
+
|
| 10 |
+
/*
|
| 11 |
+
Group: Types
|
| 12 |
+
|
| 13 |
+
typedef: gdIOCtx
|
| 14 |
+
|
| 15 |
+
gdIOCtx structures hold function pointers for doing image IO.
|
| 16 |
+
|
| 17 |
+
Most of the gd functions that read and write files, such as
|
| 18 |
+
<gdImagePng> also have variants that accept a <gdIOCtx> structure;
|
| 19 |
+
see <gdImagePngCtx> and <gdImageCreateFromJpegCtx>.
|
| 20 |
+
|
| 21 |
+
Those who wish to provide their own custom routines to read and
|
| 22 |
+
write images can populate a gdIOCtx structure with functions of
|
| 23 |
+
their own devising to to read and write data. For image reading, the
|
| 24 |
+
only mandatory functions are getC and getBuf, which must return the
|
| 25 |
+
number of characters actually read, or a negative value on error or
|
| 26 |
+
EOF. These functions must read the number of characters requested
|
| 27 |
+
unless at the end of the file.
|
| 28 |
+
|
| 29 |
+
For image writing, the only mandatory functions are putC and putBuf,
|
| 30 |
+
which return the number of characters written; these functions must
|
| 31 |
+
write the number of characters requested except in the event of an
|
| 32 |
+
error. The seek and tell functions are only required in conjunction
|
| 33 |
+
with the gd2 file format, which supports quick loading of partial
|
| 34 |
+
images. The gd_free function will not be invoked when calling the
|
| 35 |
+
standard Ctx functions; it is an implementation convenience when
|
| 36 |
+
adding new data types to gd. For examples, see gd_png.c, gd_gd2.c,
|
| 37 |
+
gd_jpeg.c, etc., all of which rely on gdIOCtx to implement the
|
| 38 |
+
standard image read and write functions.
|
| 39 |
+
|
| 40 |
+
> typedef struct gdIOCtx
|
| 41 |
+
> {
|
| 42 |
+
> int (*getC)(gdIOCtxPtr);
|
| 43 |
+
> int (*getBuf)(gdIOCtxPtr, void *, int wanted);
|
| 44 |
+
>
|
| 45 |
+
> void (*putC)(gdIOCtxPtr, int);
|
| 46 |
+
> int (*putBuf)(gdIOCtxPtr, const void *, int wanted);
|
| 47 |
+
>
|
| 48 |
+
> // seek must return 1 on SUCCESS, 0 on FAILURE. Unlike fseek!
|
| 49 |
+
> int (*seek)(gdIOCtxPtr, const int);
|
| 50 |
+
> long (*tell)(gdIOCtxPtr);
|
| 51 |
+
>
|
| 52 |
+
> void (*gd_free)(gdIOCtxPtr);
|
| 53 |
+
> } gdIOCtx;
|
| 54 |
+
*/
|
| 55 |
+
typedef struct gdIOCtx *gdIOCtxPtr;
|
| 56 |
+
|
| 57 |
+
typedef struct gdIOCtx {
|
| 58 |
+
int (*getC)(gdIOCtxPtr);
|
| 59 |
+
int (*getBuf)(gdIOCtxPtr, void *, int);
|
| 60 |
+
void (*putC)(gdIOCtxPtr, int);
|
| 61 |
+
int (*putBuf)(gdIOCtxPtr, const void *, int);
|
| 62 |
+
/* seek must return 1 on SUCCESS, 0 on FAILURE. Unlike fseek! */
|
| 63 |
+
int (*seek)(gdIOCtxPtr, const int);
|
| 64 |
+
long (*tell)(gdIOCtxPtr);
|
| 65 |
+
void (*gd_free)(gdIOCtxPtr);
|
| 66 |
+
void *data;
|
| 67 |
+
} gdIOCtx;
|
| 68 |
+
|
| 69 |
+
void gdPutC(const unsigned char c, gdIOCtxPtr ctx);
|
| 70 |
+
int gdPutBuf(const void *, int, gdIOCtxPtr);
|
| 71 |
+
void gdPutWord(int w, gdIOCtxPtr ctx);
|
| 72 |
+
void gdPutInt(int w, gdIOCtxPtr ctx);
|
| 73 |
+
|
| 74 |
+
int gdGetC(gdIOCtxPtr ctx);
|
| 75 |
+
int gdGetBuf(void *, int, gdIOCtxPtr);
|
| 76 |
+
int gdGetByte(int *result, gdIOCtxPtr ctx);
|
| 77 |
+
int gdGetWord(int *result, gdIOCtxPtr ctx);
|
| 78 |
+
int gdGetWordLSB(signed short int *result, gdIOCtxPtr ctx);
|
| 79 |
+
int gdGetInt(int *result, gdIOCtxPtr ctx);
|
| 80 |
+
int gdGetIntLSB(signed int *result, gdIOCtxPtr ctx);
|
| 81 |
+
|
| 82 |
+
int gdSeek(gdIOCtxPtr ctx, const int offset);
|
| 83 |
+
long gdTell(gdIOCtxPtr ctx);
|
| 84 |
+
|
| 85 |
+
#ifdef __cplusplus
|
| 86 |
+
}
|
| 87 |
+
#endif
|
| 88 |
+
|
| 89 |
+
#endif
|
data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gdcache.h
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#ifdef __cplusplus
|
| 2 |
+
extern "C" {
|
| 3 |
+
#endif
|
| 4 |
+
|
| 5 |
+
/*
|
| 6 |
+
* gdcache.h
|
| 7 |
+
*
|
| 8 |
+
* Caches of pointers to user structs in which the least-recently-used
|
| 9 |
+
* element is replaced in the event of a cache miss after the cache has
|
| 10 |
+
* reached a given size.
|
| 11 |
+
*
|
| 12 |
+
* John Ellson (ellson@graphviz.org) Oct 31, 1997
|
| 13 |
+
*
|
| 14 |
+
* Test this with:
|
| 15 |
+
* gcc -o gdcache -g -Wall -DTEST -DNEED_CACHE gdcache.c -lgd
|
| 16 |
+
* or
|
| 17 |
+
* gcc -o gdcache -g -Wall -DTEST -DNEED_CACHE gdcache.c libgd.a
|
| 18 |
+
*
|
| 19 |
+
* The cache is implemented by a singly-linked list of elements
|
| 20 |
+
* each containing a pointer to a user struct that is being managed by
|
| 21 |
+
* the cache.
|
| 22 |
+
*
|
| 23 |
+
* The head structure has a pointer to the most-recently-used
|
| 24 |
+
* element, and elements are moved to this position in the list each
|
| 25 |
+
* time they are used. The head also contains pointers to three
|
| 26 |
+
* user defined functions:
|
| 27 |
+
* - a function to test if a cached userdata matches some keydata
|
| 28 |
+
* - a function to provide a new userdata struct to the cache
|
| 29 |
+
* if there has been a cache miss.
|
| 30 |
+
* - a function to release a userdata struct when it is
|
| 31 |
+
* no longer being managed by the cache
|
| 32 |
+
*
|
| 33 |
+
* In the event of a cache miss the cache is allowed to grow up to
|
| 34 |
+
* a specified maximum size. After the maximum size is reached then
|
| 35 |
+
* the least-recently-used element is discarded to make room for the
|
| 36 |
+
* new. The most-recently-returned value is always left at the
|
| 37 |
+
* beginning of the list after retrieval.
|
| 38 |
+
*
|
| 39 |
+
* In the current implementation the cache is traversed by a linear
|
| 40 |
+
* search from most-recent to least-recent. This linear search
|
| 41 |
+
* probably limits the usefulness of this implementation to cache
|
| 42 |
+
* sizes of a few tens of elements.
|
| 43 |
+
*/
|
| 44 |
+
|
| 45 |
+
/*********************************************************/
|
| 46 |
+
/* header */
|
| 47 |
+
/*********************************************************/
|
| 48 |
+
|
| 49 |
+
#include <stdlib.h>
|
| 50 |
+
#ifndef NULL
|
| 51 |
+
# define NULL (void *)0
|
| 52 |
+
#endif
|
| 53 |
+
|
| 54 |
+
/* user defined function templates */
|
| 55 |
+
typedef int (*gdCacheTestFn_t)(void *userdata, void *keydata);
|
| 56 |
+
typedef void *(*gdCacheFetchFn_t)(char **error, void *keydata);
|
| 57 |
+
typedef void (*gdCacheReleaseFn_t)(void *userdata);
|
| 58 |
+
|
| 59 |
+
/* element structure */
|
| 60 |
+
typedef struct gdCache_element_s gdCache_element_t;
|
| 61 |
+
struct gdCache_element_s {
|
| 62 |
+
gdCache_element_t *next;
|
| 63 |
+
void *userdata;
|
| 64 |
+
};
|
| 65 |
+
|
| 66 |
+
/* head structure */
|
| 67 |
+
typedef struct gdCache_head_s gdCache_head_t;
|
| 68 |
+
struct gdCache_head_s {
|
| 69 |
+
gdCache_element_t *mru;
|
| 70 |
+
int size;
|
| 71 |
+
char *error;
|
| 72 |
+
gdCacheTestFn_t gdCacheTest;
|
| 73 |
+
gdCacheFetchFn_t gdCacheFetch;
|
| 74 |
+
gdCacheReleaseFn_t gdCacheRelease;
|
| 75 |
+
};
|
| 76 |
+
|
| 77 |
+
/* function templates */
|
| 78 |
+
gdCache_head_t *gdCacheCreate(int size,
|
| 79 |
+
gdCacheTestFn_t gdCacheTest,
|
| 80 |
+
gdCacheFetchFn_t gdCacheFetch,
|
| 81 |
+
gdCacheReleaseFn_t gdCacheRelease
|
| 82 |
+
);
|
| 83 |
+
|
| 84 |
+
void gdCacheDelete(gdCache_head_t *head);
|
| 85 |
+
|
| 86 |
+
void *gdCacheGet(gdCache_head_t *head, void *keydata);
|
| 87 |
+
|
| 88 |
+
#ifdef __cplusplus
|
| 89 |
+
}
|
| 90 |
+
#endif
|
data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gdfontg.h
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#ifndef _GDFONTG_H_
|
| 2 |
+
#define _GDFONTG_H_ 1
|
| 3 |
+
|
| 4 |
+
#ifdef __cplusplus
|
| 5 |
+
extern "C"
|
| 6 |
+
{
|
| 7 |
+
#endif
|
| 8 |
+
|
| 9 |
+
/*
|
| 10 |
+
This is a header file for gd font, generated using
|
| 11 |
+
bdftogd version 0.51 by Jan Pazdziora, adelton@fi.muni.cz
|
| 12 |
+
from bdf font
|
| 13 |
+
-Misc-Fixed-Bold-R-Normal-Sans-15-140-75-75-C-90-ISO8859-2
|
| 14 |
+
at Mon Jan 26 14:45:58 1998.
|
| 15 |
+
The original bdf was holding following copyright:
|
| 16 |
+
"Libor Skarvada, libor@informatics.muni.cz"
|
| 17 |
+
*/
|
| 18 |
+
|
| 19 |
+
#include "gd.h"
|
| 20 |
+
|
| 21 |
+
extern BGD_EXPORT_DATA_PROT gdFontPtr gdFontGiant;
|
| 22 |
+
BGD_DECLARE(gdFontPtr) gdFontGetGiant(void);
|
| 23 |
+
|
| 24 |
+
#ifdef __cplusplus
|
| 25 |
+
}
|
| 26 |
+
#endif
|
| 27 |
+
|
| 28 |
+
#endif
|
data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gdfontl.h
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#ifndef _GDFONTL_H_
|
| 2 |
+
#define _GDFONTL_H_ 1
|
| 3 |
+
|
| 4 |
+
#ifdef __cplusplus
|
| 5 |
+
extern "C"
|
| 6 |
+
{
|
| 7 |
+
#endif
|
| 8 |
+
|
| 9 |
+
/*
|
| 10 |
+
This is a header file for gd font, generated using
|
| 11 |
+
bdftogd version 0.5 by Jan Pazdziora, adelton@fi.muni.cz
|
| 12 |
+
from bdf font
|
| 13 |
+
-misc-fixed-medium-r-normal--16-140-75-75-c-80-iso8859-2
|
| 14 |
+
at Tue Jan 6 19:39:27 1998.
|
| 15 |
+
|
| 16 |
+
The original bdf was holding following copyright:
|
| 17 |
+
"Libor Skarvada, libor@informatics.muni.cz"
|
| 18 |
+
*/
|
| 19 |
+
|
| 20 |
+
#include "gd.h"
|
| 21 |
+
|
| 22 |
+
extern BGD_EXPORT_DATA_PROT gdFontPtr gdFontLarge;
|
| 23 |
+
BGD_DECLARE(gdFontPtr) gdFontGetLarge(void);
|
| 24 |
+
|
| 25 |
+
#ifdef __cplusplus
|
| 26 |
+
}
|
| 27 |
+
#endif
|
| 28 |
+
|
| 29 |
+
#endif
|
data/miniconda3/pkgs/libgd-2.3.3-h6a678d5_3/include/gdfontmb.h
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#ifndef _GDFONTMB_H_
|
| 2 |
+
#define _GDFONTMB_H_ 1
|
| 3 |
+
|
| 4 |
+
#ifdef __cplusplus
|
| 5 |
+
extern "C"
|
| 6 |
+
{
|
| 7 |
+
#endif
|
| 8 |
+
|
| 9 |
+
/*
|
| 10 |
+
This is a header file for gd font, generated using
|
| 11 |
+
bdftogd version 0.5 by Jan Pazdziora, adelton@fi.muni.cz
|
| 12 |
+
from bdf font
|
| 13 |
+
-misc-fixed-bold-r-normal-sans-13-94-100-100-c-70-iso8859-2
|
| 14 |
+
at Thu Jan 8 13:54:57 1998.
|
| 15 |
+
No copyright info was found in the original bdf.
|
| 16 |
+
*/
|
| 17 |
+
|
| 18 |
+
#include "gd.h"
|
| 19 |
+
|
| 20 |
+
extern BGD_EXPORT_DATA_PROT gdFontPtr gdFontMediumBold;
|
| 21 |
+
BGD_DECLARE(gdFontPtr) gdFontGetMediumBold(void);
|
| 22 |
+
|
| 23 |
+
#ifdef __cplusplus
|
| 24 |
+
}
|
| 25 |
+
#endif
|
| 26 |
+
|
| 27 |
+
#endif
|