assassinlike commited on
Commit
33dc744
·
verified ·
1 Parent(s): 72b5454

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/about.json +247 -0
  2. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/files +1 -0
  3. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/git +0 -0
  4. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/hash_input.json +11 -0
  5. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/index.json +18 -0
  6. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/licenses/LICENSE +13 -0
  7. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/paths.json +11 -0
  8. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/conda_build_config.yaml +55 -0
  9. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/install-openmp_impl.sh +13 -0
  10. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/meta.yaml +54 -0
  11. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/LICENSE +13 -0
  12. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/build.sh +166 -0
  13. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/c11threads.c +6 -0
  14. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/conda_build_config.yaml +75 -0
  15. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/get_cpu_arch.sh +40 -0
  16. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/hello-world.cpp +7 -0
  17. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/include-fixed-math.h +12 -0
  18. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-conda-specs.sh +53 -0
  19. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-g++.sh +59 -0
  20. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-gcc.sh +282 -0
  21. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-gfortran.sh +90 -0
  22. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libgcc-devel.sh +32 -0
  23. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libgcc-no-gomp.sh +36 -0
  24. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libgcc.sh +89 -0
  25. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libgfortran.sh +27 -0
  26. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libgomp.sh +19 -0
  27. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libsanitizer.sh +32 -0
  28. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libstdc++-devel.sh +33 -0
  29. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libstdc++.sh +29 -0
  30. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-openmp_impl.sh +13 -0
  31. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-symlinks.sh +28 -0
  32. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/libgcc_s.so.ldscript +4 -0
  33. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/make_tool_links.sh +11 -0
  34. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/meta.yaml +793 -0
  35. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/patches/0001-allow-commands-in-main-specfile.patch +23 -0
  36. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/patches/0002-patch-zoneinfo_dir_override-to-point-to-our-tzdata.patch +114 -0
  37. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/patches/0003-add-ldl-to-libstdc___la_LDFLAGS.patch +40 -0
  38. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/patches/0004-Hardcode-HAVE_ALIGNED_ALLOC-1-in-libstdc-v3-configur.patch +57 -0
  39. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/recipe-scripts-license.txt +27 -0
  40. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/setup_compiler.sh +110 -0
  41. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/aligned_alloc.c +9 -0
  42. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/aligned_alloc.cpp +18 -0
  43. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/fortomp/CMakeLists.txt +5 -0
  44. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/fortomp/hello.f90 +3 -0
  45. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/fortomp/maths.f90 +47 -0
  46. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/fortomp/omp-threadprivate.f90 +40 -0
  47. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/fortomp/test_fort.sh +34 -0
  48. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/hello_world.c +5 -0
  49. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/hello_world.cpp +6 -0
  50. data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/howdy-dso.c +6 -0
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/about.json ADDED
@@ -0,0 +1,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "channels": [
3
+ "https://conda.anaconda.org/conda-forge/label/sysroot-with-crypt",
4
+ "https://conda.anaconda.org/conda-forge"
5
+ ],
6
+ "conda_build_version": "26.1.0",
7
+ "conda_version": "26.1.0",
8
+ "env_vars": {
9
+ "CIO_TEST": "<not set>"
10
+ },
11
+ "extra": {
12
+ "copy_test_source_files": true,
13
+ "feedstock-name": "ctng-compilers-feedstock",
14
+ "final": true,
15
+ "flow_run_id": "azure_20260212.3.1",
16
+ "parent_recipe": {
17
+ "name": "gcc_compilers",
18
+ "path": "/home/conda/recipe_root",
19
+ "version": "13.4.0"
20
+ },
21
+ "recipe-maintainers": [
22
+ "timsnyder",
23
+ "xhochy",
24
+ "isuruf",
25
+ "beckermr"
26
+ ],
27
+ "remote_url": "https://github.com/conda-forge/ctng-compilers-feedstock",
28
+ "sha": "14a57afe05d9db64add1754ce28198e5e8d4d7b6"
29
+ },
30
+ "home": "https://github.com/conda-forge/ctng-compilers-feedstock",
31
+ "identifiers": [],
32
+ "keywords": [],
33
+ "license": "BSD-3-Clause",
34
+ "license_file": "LICENSE",
35
+ "root_pkgs": [
36
+ "krb5 1.21.3 h659f571_0",
37
+ "hpack 4.1.0 pyhd8ed1ab_0",
38
+ "ripgrep 15.1.0 hdab8a38_0",
39
+ "readchar 4.2.1 pyhe01879c_0",
40
+ "attrs 25.4.0 pyhcf101f3_1",
41
+ "dbus 1.16.2 h24cb091_1",
42
+ "pyyaml 6.0.3 py312h8a5da7c_1",
43
+ "jinja2 3.1.6 pyhcf101f3_1",
44
+ "c-ares 1.34.6 hb03c661_0",
45
+ "conda-package-streaming 0.12.0 pyhd8ed1ab_0",
46
+ "h2 4.3.0 pyhcf101f3_0",
47
+ "liblzma 5.8.2 hb03c661_0",
48
+ "traitlets 5.14.3 pyhd8ed1ab_1",
49
+ "pkginfo 1.12.1.2 pyhd8ed1ab_0",
50
+ "evalidate 2.0.5 pyhe01879c_0",
51
+ "patchelf 0.17.2 h58526e2_0",
52
+ "typing_extensions 4.15.0 pyhcf101f3_0",
53
+ "patch 2.8 hb03c661_1002",
54
+ "libmamba-spdlog 2.5.0 h12fcf84_0",
55
+ "ncurses 6.5 h2d0b736_3",
56
+ "msgpack-python 1.1.2 py312hd9148b4_1",
57
+ "libnsl 2.0.1 hb9d3cd8_1",
58
+ "python 3.12.12 hd63d673_2_cpython",
59
+ "libpng 1.6.55 h421ea60_0",
60
+ "colorama 0.4.6 pyhd8ed1ab_1",
61
+ "lz4-c 1.10.0 h5888daf_1",
62
+ "libstdcxx-ng 15.2.0 hdf11a46_17",
63
+ "libmamba 2.5.0 hd28c85e_0",
64
+ "libfreetype6 2.14.1 h73754d4_0",
65
+ "beautifulsoup4 4.14.3 pyha770c72_0",
66
+ "idna 3.11 pyhd8ed1ab_0",
67
+ "tomli 2.4.0 pyhcf101f3_0",
68
+ "archspec 0.2.5 pyhd8ed1ab_0",
69
+ "markupsafe 3.0.3 py312h8a5da7c_0",
70
+ "urllib3 2.6.3 pyhd8ed1ab_0",
71
+ "annotated-doc 0.0.4 pyhcf101f3_0",
72
+ "icu 78.2 h33c6efd_0",
73
+ "conda-libmamba-solver 25.11.0 pyhd8ed1ab_1",
74
+ "libzlib 1.3.1 hb9d3cd8_2",
75
+ "jsonpatch 1.33 pyhd8ed1ab_1",
76
+ "pip 26.0.1 pyh8b19718_0",
77
+ "libxcb 1.17.0 h8a09558_0",
78
+ "pillow 12.1.1 py312h50c33e8_0",
79
+ "_libgcc_mutex 0.1 conda_forge",
80
+ "tzdata 2025c hc9c84f9_1",
81
+ "conda-index 0.7.0 pyhd8ed1ab_0",
82
+ "rpds-py 0.30.0 py312h868fb18_0",
83
+ "importlib_resources 6.5.2 pyhd8ed1ab_0",
84
+ "yaml-cpp 0.8.0 h59595ed_0",
85
+ "hyperframe 6.1.0 pyhd8ed1ab_0",
86
+ "zipp 3.23.0 pyhcf101f3_1",
87
+ "lcms2 2.18 h0c24ade_0",
88
+ "importlib-metadata 8.7.0 pyhe01879c_1",
89
+ "boltons 25.0.0 pyhd8ed1ab_0",
90
+ "typer 0.21.2 pyhf0a747c_0",
91
+ "pydantic-core 2.41.5 py312h868fb18_1",
92
+ "click 8.3.1 pyh8f84b5b_1",
93
+ "xorg-libxdmcp 1.1.5 hb03c661_1",
94
+ "shellingham 1.5.4 pyhd8ed1ab_2",
95
+ "typer-slim 0.21.2 pyhcf101f3_0",
96
+ "semver 3.0.4 pyhcf101f3_1",
97
+ "pluggy 1.6.0 pyhf9edf01_1",
98
+ "annotated-types 0.7.0 pyhd8ed1ab_1",
99
+ "typer-slim-standard 0.21.2 h0939d6c_0",
100
+ "python-dotenv 1.2.1 pyhcf101f3_0",
101
+ "ruamel.yaml 0.18.17 py312h5253ce2_2",
102
+ "psutil 7.2.2 py312h5253ce2_0",
103
+ "wheel 0.46.3 pyhd8ed1ab_0",
104
+ "liblzma-devel 5.8.2 hb03c661_0",
105
+ "pkce 1.0.3 pyhd8ed1ab_1",
106
+ "tqdm 4.67.3 pyh8f84b5b_0",
107
+ "cffi 2.0.0 py312h460c074_1",
108
+ "jaraco.functools 4.4.0 pyhcf101f3_1",
109
+ "referencing 0.37.0 pyhcf101f3_0",
110
+ "libtiff 4.7.1 h9d88235_1",
111
+ "simdjson 4.2.4 hb700be7_0",
112
+ "libdeflate 1.25 h17f619e_0",
113
+ "jupyter_core 5.9.1 pyhc90fa1f_0",
114
+ "readline 8.3 h853b02a_0",
115
+ "pyjwt 2.11.0 pyhd8ed1ab_0",
116
+ "openjpeg 2.5.4 h55fea9a_0",
117
+ "libedit 3.1.20250104 pl5321h7949ede_0",
118
+ "libsqlite 3.51.2 hf4e2dac_0",
119
+ "py-lief 0.17.1 py312h1289d80_0",
120
+ "cpp-expected 1.3.1 h171cf75_0",
121
+ "certifi 2026.1.4 pyhd8ed1ab_0",
122
+ "tini 0.19.0 h166bdaf_1",
123
+ "jsonschema-specifications 2025.9.1 pyhcf101f3_0",
124
+ "libgomp 15.2.0 he0feb66_17",
125
+ "bzip2 1.0.8 hda65f42_8",
126
+ "lerc 4.0.0 h0aef613_1",
127
+ "more-itertools 10.8.0 pyhcf101f3_1",
128
+ "pydantic-settings 2.12.0 pyh3cfb1c2_0",
129
+ "spdlog 1.17.0 hab81395_1",
130
+ "libssh2 1.11.1 hcf80075_0",
131
+ "pycparser 2.22 pyh29332c3_1",
132
+ "ruamel.yaml.clib 0.2.15 py312h5253ce2_1",
133
+ "python-dateutil 2.9.0.post0 pyhe01879c_2",
134
+ "requests-toolbelt 1.0.0 pyhd8ed1ab_1",
135
+ "libwebp-base 1.6.0 hd42ef1d_0",
136
+ "markdown-it-py 4.0.0 pyhd8ed1ab_0",
137
+ "libxcrypt 4.4.36 hd590300_1",
138
+ "libuuid 2.41.3 h5347b49_0",
139
+ "_openmp_mutex 4.5 2_gnu",
140
+ "libcurl 8.18.0 h4e3cde8_0",
141
+ "cryptography 46.0.5 py312ha4b625e_0",
142
+ "yaml 0.2.5 h280c20c_3",
143
+ "libffi 3.5.2 h3435931_0",
144
+ "libfreetype 2.14.1 ha770c72_0",
145
+ "ld_impl_linux-64 2.45.1 default_hbd61a6d_101",
146
+ "zstandard 0.25.0 py312h5253ce2_1",
147
+ "liblief 0.17.1 hecca717_0",
148
+ "setuptools 82.0.0 pyh332efcf_0",
149
+ "xorg-libxau 1.0.12 hb03c661_1",
150
+ "jsonpointer 3.0.0 pyhcf101f3_3",
151
+ "jsonschema 4.26.0 pyhcf101f3_0",
152
+ "libnghttp2 1.67.0 had1ee68_0",
153
+ "lzo 2.10 h280c20c_1002",
154
+ "libglib 2.86.3 h6548e54_0",
155
+ "nlohmann_json-abi 3.12.0 h0f90c79_1",
156
+ "libsolv 0.7.35 h9463b59_0",
157
+ "python-fastjsonschema 2.21.2 pyhe01879c_0",
158
+ "pygments 2.19.2 pyhd8ed1ab_0",
159
+ "anaconda-auth 0.12.3 pyhd8ed1ab_0",
160
+ "backports.tarfile 1.2.0 pyhcf101f3_2",
161
+ "frozendict 2.4.7 py312h4c3975b_0",
162
+ "chardet 5.2.0 pyhd8ed1ab_3",
163
+ "distro 1.9.0 pyhd8ed1ab_1",
164
+ "soupsieve 2.8.3 pyhd8ed1ab_0",
165
+ "six 1.17.0 pyhe01879c_1",
166
+ "anaconda-client 1.14.1 pyhcf101f3_0",
167
+ "jaraco.classes 3.4.0 pyhcf101f3_3",
168
+ "platformdirs 4.5.1 pyhcf101f3_0",
169
+ "reproc 14.2.5.post0 hb9d3cd8_0",
170
+ "mamba 2.5.0 h9835478_0",
171
+ "keyring 25.7.0 pyha804496_0",
172
+ "secretstorage 3.4.1 py312h7900ff3_0",
173
+ "defusedxml 0.7.1 pyhd8ed1ab_0",
174
+ "conda 26.1.0 py312h7900ff3_0",
175
+ "typing-inspection 0.4.2 pyhd8ed1ab_1",
176
+ "libiconv 1.18 h3b78370_2",
177
+ "keyutils 1.6.3 hb9d3cd8_0",
178
+ "pycosat 0.6.6 py312h4c3975b_3",
179
+ "tomlkit 0.14.0 pyha770c72_0",
180
+ "brotli-python 1.2.0 py312hdb49522_1",
181
+ "fmt 12.1.0 hff5e90c_0",
182
+ "anaconda-cli-base 0.8.1 pyhcf101f3_0",
183
+ "pixi 0.63.2 ha759004_0",
184
+ "nbformat 5.10.4 pyhd8ed1ab_1",
185
+ "libev 4.33 hd590300_2",
186
+ "python-libarchive-c 5.3 pyhe01879c_1",
187
+ "pytz 2025.2 pyhd8ed1ab_0",
188
+ "libgcc-ng 15.2.0 h69a702a_17",
189
+ "ca-certificates 2026.1.4 hbd8a1cb_0",
190
+ "charset-normalizer 3.4.4 pyhd8ed1ab_0",
191
+ "xz 5.8.2 ha02ee65_0",
192
+ "truststore 0.10.4 pyhcf101f3_0",
193
+ "libarchive 3.8.5 gpl_hc2c16d8_100",
194
+ "conda-build 26.1.0 pyh31ec981_2",
195
+ "rich 14.3.2 pyhcf101f3_0",
196
+ "packaging 26.0 pyhcf101f3_0",
197
+ "typing-extensions 4.15.0 h396c80c_0",
198
+ "menuinst 2.4.2 py312h7900ff3_0",
199
+ "xz-tools 5.8.2 hb03c661_0",
200
+ "python_abi 3.12 8_cp312",
201
+ "perl 5.32.1 7_hd590300_perl5",
202
+ "reproc-cpp 14.2.5.post0 h5888daf_0",
203
+ "pcre2 10.47 haa7fec5_0",
204
+ "backports.zstd 1.3.0 py312h90b7ffd_0",
205
+ "git 2.52.0 pl5321h6d3cee1_1",
206
+ "jaraco.context 6.1.0 pyhcf101f3_0",
207
+ "pthread-stubs 0.4 hb9d3cd8_1002",
208
+ "libstdcxx 15.2.0 h934c35e_17",
209
+ "mbedtls 3.6.3.1 h5888daf_0",
210
+ "conda-package-handling 2.4.0 pyh7900ff3_2",
211
+ "zlib-ng 2.3.3 hceb46e0_1",
212
+ "libxml2 2.15.1 he237659_1",
213
+ "mdurl 0.1.2 pyhd8ed1ab_1",
214
+ "openssl 3.6.1 h35e630c_1",
215
+ "pysocks 1.7.1 pyha55dd90_7",
216
+ "libexpat 2.7.3 hecca717_0",
217
+ "backports 1.0 pyhd8ed1ab_5",
218
+ "libgcc 15.2.0 he0feb66_17",
219
+ "pybind11-abi 11 hc364b38_1",
220
+ "zstd 1.5.7 hb78ec9c_6",
221
+ "pydantic 2.12.5 pyhcf101f3_1",
222
+ "su-exec 0.2 h166bdaf_1003",
223
+ "jeepney 0.9.0 pyhd8ed1ab_0",
224
+ "requests 2.32.5 pyhcf101f3_1",
225
+ "libjpeg-turbo 3.1.2 hb03c661_0",
226
+ "tk 8.6.13 noxft_h366c992_103",
227
+ "filelock 3.20.3 pyhd8ed1ab_0",
228
+ "libmambapy 2.5.0 py312h1ca65c7_0",
229
+ "xz-gpl-tools 5.8.2 ha02ee65_0",
230
+ "libxml2-16 2.15.1 hca6bf5a_1",
231
+ "deprecated 1.3.1 pyhd8ed1ab_1",
232
+ "conda-env 2.6.0 1",
233
+ "conda-oci-mirror 0.2.3 pyhd8ed1ab_0",
234
+ "rattler-build-conda-compat 1.4.11 pyhd8ed1ab_0",
235
+ "shyaml 0.6.2 pyhd3deb0d_0",
236
+ "joblib 1.5.3 pyhd8ed1ab_0",
237
+ "conda-forge-metadata 0.12.0 pyhcf101f3_1",
238
+ "jq 1.8.1 h73b1eb8_0",
239
+ "wrapt 2.1.1 py312h4c3975b_0",
240
+ "oniguruma 6.9.10 hb9d3cd8_0",
241
+ "oras-py 0.1.14 pyhd8ed1ab_0",
242
+ "conda-forge-ci-setup 4.24.2 py312hef7310e_101",
243
+ "rattler-build 0.57.2 he64ecbb_1"
244
+ ],
245
+ "summary": "OpenMP Implementation Mutex",
246
+ "tags": []
247
+ }
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/files ADDED
@@ -0,0 +1 @@
 
 
1
+ lib/libgomp.so.1
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/git ADDED
File without changes
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/hash_input.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "channel_targets": "conda-forge main",
3
+ "libgomp_ver": "1.0.0",
4
+ "openmp_ver": "4.5",
5
+ "cross_target_stdlib_version": "2.17",
6
+ "cross_target_platform": "linux-64",
7
+ "cross_target_stdlib": "sysroot",
8
+ "target_platform": "linux-64",
9
+ "TARGET": "x86_64-conda-linux-gnu",
10
+ "__glibc": "__glibc >=2.17,<3.0.a0"
11
+ }
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/index.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "arch": "x86_64",
3
+ "build": "20_gnu",
4
+ "build_number": 20,
5
+ "constrains": [
6
+ "openmp_impl <0.0a0"
7
+ ],
8
+ "depends": [
9
+ "__glibc >=2.17,<3.0.a0",
10
+ "libgomp >=7.5.0"
11
+ ],
12
+ "license": "BSD-3-Clause",
13
+ "name": "_openmp_mutex",
14
+ "platform": "linux",
15
+ "subdir": "linux-64",
16
+ "timestamp": 1770939786096,
17
+ "version": "4.5"
18
+ }
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/licenses/LICENSE 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/_openmp_mutex-4.5-20_gnu/info/paths.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paths": [
3
+ {
4
+ "_path": "lib/libgomp.so.1",
5
+ "path_type": "softlink",
6
+ "sha256": "7f03470f3da57b4e659243588bda6c150f09882ee43f33fd72d895586fe95cf7",
7
+ "size_in_bytes": 1475480
8
+ }
9
+ ],
10
+ "paths_version": 1
11
+ }
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/conda_build_config.yaml ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CI: azure
2
+ CONDA_BUILD_SYSROOT: /tmp/tmp.ZxUJu0EXtj/MacOSX11.0.sdk
3
+ MACOSX_SDK_VERSION: '11.0'
4
+ TARGET: x86_64-conda-linux-gnu
5
+ binutils_version: '2.45'
6
+ c_compiler: gcc
7
+ c_stdlib: sysroot
8
+ c_stdlib_version: '2.17'
9
+ channel_sources: conda-forge/label/sysroot-with-crypt,conda-forge
10
+ channel_targets: conda-forge main
11
+ cpu_optimization_target: nocona
12
+ cran_mirror: https://cran.r-project.org
13
+ cross_target_cxx_stdlib: libstdcxx
14
+ cross_target_platform: linux-64
15
+ cross_target_stdlib: sysroot
16
+ cross_target_stdlib_version: '2.17'
17
+ cxx_compiler: gxx
18
+ docker_image: quay.io/condaforge/linux-anvil-x86_64:alma9
19
+ extend_keys:
20
+ - ignore_version
21
+ - ignore_build_only_deps
22
+ - extend_keys
23
+ - pin_run_as_build
24
+ fortran_compiler: gfortran
25
+ gcc_maj_ver: '13'
26
+ gcc_version: 13.4.0
27
+ ignore_build_only_deps:
28
+ - numpy
29
+ - python
30
+ libgfortran_soname: '5'
31
+ libgomp_ver: 1.0.0
32
+ lua: '5'
33
+ numpy: '1.26'
34
+ openmp_ver: '4.5'
35
+ perl: 5.26.2
36
+ pin_run_as_build:
37
+ python:
38
+ max_pin: x.x
39
+ min_pin: x.x
40
+ r-base:
41
+ max_pin: x.x
42
+ min_pin: x.x
43
+ python: '3.12'
44
+ r_base: '3.5'
45
+ target_platform: linux-64
46
+ with_conda_specs: 'true'
47
+ zip_keys:
48
+ - - gcc_version
49
+ - gcc_maj_ver
50
+ - libgfortran_soname
51
+ - - cross_target_stdlib_version
52
+ - cross_target_stdlib
53
+ - cross_target_cxx_stdlib
54
+ - TARGET
55
+ - cross_target_platform
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/install-openmp_impl.sh ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+ set -e -x
5
+
6
+ mkdir -p ${PREFIX}/lib
7
+
8
+ pushd ${PREFIX}/lib/
9
+
10
+ if [[ "${TARGET}" != *mingw* ]]; then
11
+ ln -s libgomp.so.${libgomp_ver} libgomp.so.${libgomp_ver:0:1}
12
+ fi
13
+ popd
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/meta.yaml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file created by conda-build 26.1.0
2
+ # ------------------------------------------------
3
+
4
+ package:
5
+ name: _openmp_mutex
6
+ version: 4.5
7
+ source:
8
+ - url:
9
+ - https://mirrors.ocf.berkeley.edu/gnu/gcc/gcc-13.4.0/gcc-13.4.0.tar.gz
10
+ sha256: bf0baf3e570c9c74c17c8201f0196c6924b4bd98c90e69d6b2ac0cd823f33bbc
11
+ patches:
12
+ - patches/0001-allow-commands-in-main-specfile.patch
13
+ - patches/0004-Hardcode-HAVE_ALIGNED_ALLOC-1-in-libstdc-v3-configur.patch
14
+ - url: https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz
15
+ sha256: 9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23
16
+ folder: zlib2
17
+ build:
18
+ string: 20_gnu
19
+ number: 20
20
+ run_exports:
21
+ strong:
22
+ - _openmp_mutex >=4.5
23
+ requirements:
24
+ host:
25
+ - kernel-headers_linux-64 3.10.0 he581ecd_18
26
+ - libgomp 13.4.0 he0feb66_17
27
+ - sysroot_linux-64 2.17 hb09d241_18
28
+ - tzdata 2025c hc9c84f9_1
29
+ run:
30
+ - __glibc >=2.17,<3.0.a0
31
+ - libgomp >=7.5.0
32
+ run_constrained:
33
+ - openmp_impl <0.0a0
34
+ test:
35
+ commands:
36
+ - test -f ${PREFIX}/lib/libgomp.so.1
37
+ - test `readlink ${PREFIX}/lib/libgomp.so.1` == "libgomp.so.1.0.0"
38
+ about:
39
+ summary: OpenMP Implementation Mutex
40
+ license: BSD-3-Clause
41
+ license_file: LICENSE
42
+ home: https://github.com/conda-forge/ctng-compilers-feedstock
43
+ extra:
44
+ feedstock-name: ctng-compilers-feedstock
45
+ recipe-maintainers:
46
+ - beckermr
47
+ - isuruf
48
+ - timsnyder
49
+ - xhochy
50
+ final: true
51
+ copy_test_source_files: true
52
+ flow_run_id: azure_20260212.3.1
53
+ remote_url: https://github.com/conda-forge/ctng-compilers-feedstock
54
+ sha: 14a57afe05d9db64add1754ce28198e5e8d4d7b6
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/LICENSE 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/_openmp_mutex-4.5-20_gnu/info/recipe/parent/build.sh ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ set -ex
4
+
5
+ source ${RECIPE_DIR}/setup_compiler.sh
6
+
7
+ if [[ -d zlib2 ]]; then
8
+ # Use custom configure, Makefile from gcc source
9
+ rm zlib2/Makefile
10
+ rm zlib2/Makefile.in
11
+ rm zlib2/configure
12
+ mv zlib/Makefile.in zlib2/
13
+ mv zlib/configure zlib2/
14
+ rm -rf zlib
15
+ mv zlib2 zlib
16
+ fi
17
+
18
+ # ensure patch is applied
19
+ grep 'conda-forge:: allow' gcc/gcc.c*
20
+
21
+ GCC_CONFIGURE_OPTIONS=()
22
+
23
+ if [[ "$channel_targets" == *conda-forge* ]]; then
24
+ GCC_CONFIGURE_OPTIONS+=(--with-pkgversion="conda-forge gcc ${gcc_version}-${PKG_BUILDNUM}")
25
+ GCC_CONFIGURE_OPTIONS+=(--with-bugurl="https://github.com/conda-forge/ctng-compilers-feedstock/issues/new/choose")
26
+ fi
27
+
28
+ for ENV_TYPE in BUILD HOST TARGET; do
29
+ for tool in addr2line ar as c++filt cc c++ dsymutil fc gcc g++ gfortran ld nm objcopy objdump ranlib readelf size strings strip; do
30
+ tool_env=$(echo $tool | tr a-z-+ A-Z_X)
31
+ if [[ "${ENV_TYPE}" != "HOST" ]]; then
32
+ tool_env="${tool_env}_FOR_${ENV_TYPE}"
33
+ fi
34
+ if [[ "$tool" == "cc" ]]; then
35
+ if [[ "${!ENV_TYPE}" == *darwin* && "${ENV_TYPE}" != "TARGET" ]]; then
36
+ tool=clang
37
+ else
38
+ tool=gcc
39
+ fi
40
+ elif [[ "$tool" == "fc" ]]; then
41
+ tool=gfortran
42
+ elif [[ "$tool" == "c++" ]]; then
43
+ if [[ "${!ENV_TYPE}" == *darwin* && "${ENV_TYPE}" != "TARGET" ]]; then
44
+ tool=clang++
45
+ else
46
+ tool=g++
47
+ fi
48
+ elif [[ "${!ENV_TYPE}" != *darwin* && -f $BUILD_PREFIX/bin/${!ENV_TYPE}-gcc-${tool} ]]; then
49
+ tool="gcc-${tool}"
50
+ fi
51
+ eval "export ${tool_env}=$BUILD_PREFIX/bin/${!ENV_TYPE}-$tool"
52
+ done
53
+ done
54
+
55
+ if [[ "${TARGET}" == *mingw* ]]; then
56
+ # do not expect ${prefix}/mingw symlink - this should be superceded by
57
+ # 0005-Windows-Don-t-ignore-native-system-header-dir.patch .. but isn't!
58
+ sed -i.bak 's#${prefix}/mingw/#${prefix}/${target}/sysroot/usr/#g' configure
59
+ if [[ "$gcc_maj_ver" == "13" || "$gcc_maj_ver" == "14" ]]; then
60
+ sed -i.bak "s#/mingw/#/usr/#g" gcc/config/i386/mingw32.h
61
+ else
62
+ sed -i.bak "s#/mingw/#/usr/#g" gcc/config/mingw/mingw32.h
63
+ fi
64
+ else
65
+ # prevent mingw patches from being archived in linux conda packages
66
+ rm -rf ${RECIPE_DIR}/patches/mingw
67
+ fi
68
+
69
+ if [[ "${BUILD}" == *darwin* ]]; then
70
+ find ./ -name 'configure' -type f -exec sed -i -e 's/tmp_nm \-B/tmp_nm/g' {} \;
71
+ fi
72
+
73
+ if [[ "${TARGET}" != *darwin* ]]; then
74
+ # prevent macos patches from being archived in linux conda packages
75
+ rm -rf ${RECIPE_DIR}/patches/macos
76
+ fi
77
+
78
+ # workaround a bug in gcc build files when using external binutils
79
+ # and build != host == target
80
+ export gcc_cv_objdump=$OBJDUMP_FOR_TARGET
81
+
82
+ ls $BUILD_PREFIX/bin/
83
+
84
+ ./contrib/download_prerequisites
85
+
86
+ for f in isl mpfr mpc/build-aux; do
87
+ cp $BUILD_PREFIX/share/gnuconfig/config.* $f/
88
+ done
89
+
90
+ set +x
91
+ # We want CONDA_PREFIX/usr/lib not CONDA_PREFIX/usr/lib64 and this
92
+ # is the only way. It is incompatible with multilib (obviously).
93
+ TINFO_FILES=$(find . -path "*/config/*/t-*")
94
+ for TINFO_FILE in ${TINFO_FILES}; do
95
+ sed -i.bak 's#^\(MULTILIB_OSDIRNAMES.*\)\(lib64\)#\1lib#g' ${TINFO_FILE}
96
+ rm -f ${TINFO_FILE}.bak
97
+ sed -i.bak 's#^\(MULTILIB_OSDIRNAMES.*\)\(libx32\)#\1lib#g' ${TINFO_FILE}
98
+ rm -f ${TINFO_FILE}.bak
99
+ done
100
+ set -x
101
+
102
+ # workaround for https://gcc.gnu.org/bugzilla//show_bug.cgi?id=80196
103
+ if [[ "$gcc_version" == "11."* && "$build_platform" != "$target_platform" ]]; then
104
+ sed -i.bak 's@-I$glibcxx_srcdir/libsupc++@-I$glibcxx_srcdir/libsupc++ -nostdinc++@g' libstdc++-v3/configure
105
+ fi
106
+
107
+ mkdir -p build
108
+ cd build
109
+
110
+ # We need to explicitly set the gxx include dir because previously
111
+ # with ct-ng, native build was not considered native because
112
+ # BUILD=HOST=x86_64-build_unknown-linux-gnu and TARGET=x86_64-conda-linux-gnu
113
+ # Depending on native or not, the include dir changes. Setting it explictly
114
+ # goes back to the original way.
115
+ # See https://github.com/gcc-mirror/gcc/blob/16e2427f50c208dfe07d07f18009969502c25dc8/gcc/configure.ac#L218
116
+
117
+ if [[ "$TARGET" == *linux* ]]; then
118
+ GCC_CONFIGURE_OPTIONS+=(--enable-libsanitizer)
119
+ GCC_CONFIGURE_OPTIONS+=(--enable-default-pie)
120
+ GCC_CONFIGURE_OPTIONS+=(--enable-threads=posix)
121
+ GCC_CONFIGURE_OPTIONS+=(--enable-__cxa_atexit)
122
+ fi
123
+
124
+ if [[ "${TARGET}" == *darwin* ]]; then
125
+ GCC_CONFIGURE_OPTIONS+=(--with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk)
126
+ GCC_CONFIGURE_OPTIONS+=(--with-build-sysroot=${SDKROOT})
127
+ GCC_CONFIGURE_OPTIONS+=(--enable-darwin-at-rpath)
128
+ export gcc_cv_ld64_version=955.13
129
+ else
130
+ GCC_CONFIGURE_OPTIONS+=(--with-sysroot=${PREFIX}/${TARGET}/sysroot)
131
+ GCC_CONFIGURE_OPTIONS+=(--with-build-sysroot=${BUILD_PREFIX}/${TARGET}/sysroot)
132
+ GCC_CONFIGURE_OPTIONS+=(--enable-plugin)
133
+ fi
134
+
135
+ if [[ "${cross_target_cxx_stdlib}" == "libcxx" ]]; then
136
+ GCC_CONFIGURE_OPTIONS+=(--disable-libstdcxx)
137
+ fi
138
+
139
+ if [[ ! ("${BUILD}" == "${HOST}" && "${HOST}" != "${TARGET}") && "${TARGET}" != *darwin* ]]; then
140
+ GCC_CONFIGURE_OPTIONS+=(--enable-lto)
141
+ fi
142
+
143
+ ../configure \
144
+ --prefix="$PREFIX" \
145
+ --with-slibdir="$PREFIX/lib" \
146
+ --libdir="$PREFIX/lib" \
147
+ --mandir="$PREFIX/man" \
148
+ --build=$BUILD \
149
+ --host=$HOST \
150
+ --target=$TARGET \
151
+ --enable-languages=c,c++,fortran,objc,obj-c++ \
152
+ --enable-libgomp \
153
+ --disable-libssp \
154
+ --enable-libquadmath \
155
+ --enable-libquadmath-support \
156
+ --disable-nls \
157
+ --disable-bootstrap \
158
+ --disable-multilib \
159
+ --enable-long-long \
160
+ --without-zstd \
161
+ --with-native-system-header-dir=/usr/include \
162
+ --with-gxx-include-dir="${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/include/c++" \
163
+ --with-gxx-libcxx-include-dir="${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/../../../../include/c++/v1" \
164
+ "${GCC_CONFIGURE_OPTIONS[@]}" || (cat config.log; false)
165
+
166
+ make -j${CPU_COUNT} || (cat ${TARGET}/libgomp/config.log; false)
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/c11threads.c ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #include <threads.h>
2
+ int main() {
3
+ mtx_t mutex;
4
+ mtx_init(&mutex, mtx_plain);
5
+ }
6
+
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/conda_build_config.yaml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ TARGET:
2
+ - x86_64-conda-linux-gnu
3
+ - powerpc64le-conda-linux-gnu
4
+ - aarch64-conda-linux-gnu
5
+ - x86_64-w64-mingw32
6
+ - x86_64-apple-darwin13.4.0
7
+ - arm64-apple-darwin20.0.0
8
+ gcc_version:
9
+ - 15.2.0
10
+ - 14.3.0
11
+ - 13.4.0
12
+ gcc_maj_ver:
13
+ - 15
14
+ - 14
15
+ - 13
16
+ libgfortran_soname:
17
+ - 5
18
+ - 5
19
+ - 5
20
+ binutils_version:
21
+ - 2.45
22
+ cross_target_platform:
23
+ - linux-64
24
+ - linux-ppc64le
25
+ - linux-aarch64
26
+ - win-64
27
+ - osx-64
28
+ - osx-arm64
29
+ cross_target_stdlib_version:
30
+ - 2.17
31
+ - 2.17
32
+ - 2.17
33
+ - 12
34
+ - 0
35
+ - 0
36
+ cross_target_stdlib:
37
+ - sysroot
38
+ - sysroot
39
+ - sysroot
40
+ - m2w64-sysroot
41
+ - None
42
+ - None
43
+ cross_target_cxx_stdlib:
44
+ - libstdcxx
45
+ - libstdcxx
46
+ - libstdcxx
47
+ - libstdcxx
48
+ - libcxx
49
+ - libcxx
50
+ MACOSX_SDK_VERSION:
51
+ - 11.0
52
+ # openmp versions
53
+ openmp_ver:
54
+ - 4.5
55
+ libgomp_ver:
56
+ - 1.0.0
57
+ channel_sources:
58
+ - conda-forge/label/sysroot-with-crypt,conda-forge
59
+ # we could use stdlib("m2w64_c"), but this allows uniform use in setup_compiler.sh
60
+ c_stdlib: # [win]
61
+ - m2w64-sysroot # [win]
62
+ c_stdlib_version: # [win]
63
+ - 12 # [win]
64
+ with_conda_specs:
65
+ - true
66
+ - false
67
+ zip_keys:
68
+ - - cross_target_stdlib_version
69
+ - cross_target_stdlib
70
+ - cross_target_cxx_stdlib
71
+ - TARGET
72
+ - cross_target_platform
73
+ - - gcc_version
74
+ - gcc_maj_ver
75
+ - libgfortran_soname
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/get_cpu_arch.sh ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ get_cpu_arch() {
2
+ local CPU_ARCH
3
+ if [[ "$1" == *"-64" ]]; then
4
+ CPU_ARCH="x86_64"
5
+ elif [[ "$1" == *"-ppc64le" ]]; then
6
+ CPU_ARCH="powerpc64le"
7
+ elif [[ "$1" == *"-aarch64" ]]; then
8
+ CPU_ARCH="aarch64"
9
+ elif [[ "$1" == *"-s390x" ]]; then
10
+ CPU_ARCH="s390x"
11
+ else
12
+ echo "Unknown architecture"
13
+ exit 1
14
+ fi
15
+ echo $CPU_ARCH
16
+ }
17
+
18
+ get_triplet() {
19
+ if [[ "$1" == linux-* ]]; then
20
+ echo "$(get_cpu_arch $1)-conda-linux-gnu"
21
+ elif [[ "$1" == osx-64 ]]; then
22
+ echo "x86_64-apple-darwin13.4.0"
23
+ elif [[ "$1" == osx-arm64 ]]; then
24
+ echo "arm64-apple-darwin20.0.0"
25
+ elif [[ "$1" == win-64 ]]; then
26
+ echo "x86_64-w64-mingw32"
27
+ else
28
+ echo "unknown platform"
29
+ exit 1
30
+ fi
31
+ }
32
+
33
+ export BUILD="$(get_triplet $build_platform)"
34
+ export HOST="$(get_triplet $target_platform)"
35
+ export TARGET_REF="$(get_triplet $cross_target_platform)"
36
+
37
+ if [[ "${TARGET}" != "${TARGET_REF}" ]]; then
38
+ echo "TARGET: ${TARGET} does not match expected ${TARGET_REF}"
39
+ exit 1
40
+ fi
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/hello-world.cpp ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ #include <iostream>
2
+
3
+ int main(int argc, char * argv[])
4
+ {
5
+ std::cout << "Hello World!\n" << std::endl;
6
+ return 0;
7
+ }
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/include-fixed-math.h ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #ifndef __MATH_H__
2
+
3
+ #if __FLT_EVAL_METHOD__ == 16
4
+ #undef __FLT_EVAL_METHOD__
5
+ #define __FLT_EVAL_METHOD__ 1
6
+ #include_next <math.h>
7
+ #undef __FLT_EVAL_METHOD__
8
+ #define __FLT_EVAL_METHOD__ 16
9
+ #else
10
+ #include_next <math.h>
11
+ #endif
12
+ #endif
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-conda-specs.sh ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+
5
+ set -ex
6
+
7
+ specdir=$PREFIX/lib/gcc/$TARGET/${gcc_version}
8
+ mkdir -p ${specdir}
9
+
10
+ if [[ "${TARGET}" == "${HOST}" ]]; then
11
+ cp ${SRC_DIR}/build/gcc/specs ${SRC_DIR}/build/gcc/conda.specs
12
+ install -Dm644 ${SRC_DIR}/build/gcc/conda.specs $specdir
13
+
14
+ # Add specs when we're not cross compiling so that the toolchain works more like a system
15
+ # toolchain (i.e. conda installed libs can be #include <>'d and linked without adding any
16
+ # cmdline args or FLAGS and likewise the assumptions we have about rpath are built in)
17
+ #
18
+ # THIS IS INTENDED as a safety net for casual users who just want the native toolchain to work.
19
+ # It is not to be relied on by conda-forge package recipes and best practice is still to set the
20
+ # appropriate FLAGS vars (either via compiler activation scripts or explicitly in the recipe)
21
+ #
22
+ # We use double quotes here because we want $PREFIX and $TARGET to be expanded at build time
23
+ # and recorded in the specs file. It will undergo a prefix replacement when our compiler
24
+ # package is installed.
25
+ if [[ "$TARGET" == *linux* ]]; then
26
+ NEW_LINK="%{\!static:-rpath ${PREFIX}/lib -rpath-link ${PREFIX}/lib} -L ${PREFIX}/lib/stubs -L ${PREFIX}/lib"
27
+ sed -i.bak "/\*link_command:/,+1 s+%.*+& ${NEW_LINK}+" $specdir/conda.specs
28
+ elif [[ "$TARGET" == *mingw* ]]; then
29
+ NEW_LINK="-L ${PREFIX}/lib"
30
+ sed -i.bak "/\*link_command:/,+1 s+%.*+& ${NEW_LINK}+" $specdir/conda.specs
31
+ elif [[ "$TARGET" == *darwin* ]]; then
32
+ NEW_LINK="%{\!static:-rpath ${PREFIX}/lib} -L ${PREFIX}/lib"
33
+ sed -i.bak "/\*link_command:/,+1 s+%\(.*\)\}\}\}\}\}\}\}\}\}\}+%\1\}\}\} ${NEW_LINK}\}\}\}\}\}\}\}+" $specdir/conda.specs
34
+ sed -i.bak "s+@loader_path+${PREFIX}/lib+g" $specdir/conda.specs
35
+ fi
36
+ if [[ "${TARGET}" == *linux* ]]; then
37
+ # put -disable-new-dtags at the front of the cmdline so that user provided -enable-new-dtags (in %l) can override it
38
+ sed -i.bak "/\*link_command:/,+1 s+%(linker)+& -disable-new-dtags +" $specdir/conda.specs
39
+ fi
40
+ # use -idirafter to put the conda "system" includes where /usr/local/include would typically go
41
+ # in a system-packaged non-cross compiler
42
+ sed -i.bak "/\*cpp_options:/,+1 s+%.*+& -idirafter ${PREFIX}/include+" $specdir/conda.specs
43
+ # cc1_options also get used for cc1plus... at least in 11.2.0
44
+ sed -i.bak "/\*cc1_options:/,+1 s+%.*+& -idirafter ${PREFIX}/include+" $specdir/conda.specs
45
+
46
+ rm $specdir/conda.specs.bak
47
+ else
48
+ # does it even make sense to do anything here? Could do something with %:getenv(BUILD_PREFIX /include)
49
+ # but in the case that we aren't inside conda-build, it will cause gcc to fatal
50
+ # because it won't be set. Just explicitly making this fail for now so that the meta.yaml
51
+ # is consitent with when it creates the conda-gcc-specs package
52
+ false
53
+ fi
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-g++.sh ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+ set -e -x
5
+
6
+
7
+ _libdir=libexec/gcc/${TARGET}/${PKG_VERSION}
8
+
9
+ # libtool wants to use ranlib that is here, macOS install doesn't grok -t etc
10
+ # .. do we need this scoped over the whole file though?
11
+ #export PATH=${SRC_DIR}/gcc_built/bin:${SRC_DIR}/.build/${TARGET}/buildtools/bin:${SRC_DIR}/.build/tools/bin:${PATH}
12
+
13
+ pushd ${SRC_DIR}/build
14
+
15
+ make -C gcc prefix=${PREFIX} c++.install-common
16
+
17
+ # How it used to be:
18
+ # install -m755 -t ${PREFIX}/bin/ gcc/{cc1plus,lto1}
19
+ for file in cc1plus; do
20
+ if [[ -f gcc/${file}${EXEEXT} ]]; then
21
+ install -c gcc/${file}${EXEEXT} ${PREFIX}/${_libdir}/${file}${EXEEXT}
22
+ fi
23
+ done
24
+
25
+ # Following 3 are in libstdcxx-devel
26
+ #make -C $TARGET/libstdc++-v3/src prefix=${PREFIX} install
27
+ #make -C $TARGET/libstdc++-v3/include prefix=${PREFIX} install
28
+ #make -C $TARGET/libstdc++-v3/libsupc++ prefix=${PREFIX} install
29
+ if [[ "$cross_target_cxx_stdlib" == "libstdcxx" ]]; then
30
+ make -C $TARGET/libstdc++-v3/python prefix=${PREFIX} install
31
+ fi
32
+
33
+ # Probably don't want to do this for cross-compilers
34
+ # mkdir -p ${PREFIX}/share/gdb/auto-load/usr/lib/
35
+ # cp ${SRC_DIR}/gcc_built/${TARGET}/sysroot/lib/libstdc++.so.6.*-gdb.py ${PREFIX}/share/gdb/auto-load/usr/lib/
36
+
37
+ make -C libcpp prefix=${PREFIX} install
38
+
39
+ popd
40
+
41
+ set +x
42
+ # Strip executables, we may want to install to a different prefix
43
+ # and strip in there so that we do not change files that are not
44
+ # part of this package.
45
+ pushd ${PREFIX}
46
+ _files=$(find bin libexec -type f -not -name '*.dll')
47
+ for _file in ${_files}; do
48
+ _type="$( file "${_file}" | cut -d ' ' -f 2- )"
49
+ case "${_type}" in
50
+ *script*executable*)
51
+ ;;
52
+ *executable*)
53
+ ${BUILD_PREFIX}/bin/${HOST}-strip ${STRIP_ARGS} -v "${_file}" || :
54
+ ;;
55
+ esac
56
+ done
57
+ popd
58
+
59
+ source ${RECIPE_DIR}/make_tool_links.sh
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-gcc.sh ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+ set -e -x
5
+
6
+ _libdir=libexec/gcc/${TARGET}/${PKG_VERSION}
7
+
8
+ # libtool wants to use ranlib that is here, macOS install doesn't grok -t etc
9
+ # .. do we need this scoped over the whole file though?
10
+ #export PATH=${SRC_DIR}/gcc_built/bin:${SRC_DIR}/.build/${TARGET}/buildtools/bin:${SRC_DIR}/.build/tools/bin:${PATH}
11
+
12
+ pushd ${SRC_DIR}/build
13
+ # We may not have built with plugin support so failure here is not fatal:
14
+ make prefix=${PREFIX} install-lto-plugin || true
15
+
16
+ sed -i.bak 's/install-collect2: collect2 /install-collect2: collect2$(exeext) /g' gcc/Makefile
17
+ make -C gcc prefix=${PREFIX} install-driver install-cpp install-gcc-ar install-headers install-plugin install-lto-wrapper install-collect2
18
+ # not sure if this is the same as the line above. Run both, just in case
19
+ make -C lto-plugin prefix=${PREFIX} install || true
20
+ install -dm755 ${PREFIX}/lib/bfd-plugins/ || true
21
+
22
+ # statically linked, so this so does not exist
23
+ # ln -s $PREFIX/lib/gcc/$TARGET/liblto_plugin.so ${PREFIX}/lib/bfd-plugins/
24
+
25
+ make -C libcpp prefix=${PREFIX} install
26
+
27
+ # Include languages we do not have any other place for here (and also lto1)
28
+ for file in gnat1 brig1 cc1 go1 lto1 cc1obj cc1objplus; do
29
+ if [[ -f gcc/${file}${EXEEXT} ]]; then
30
+ install -c gcc/${file}${EXEEXT} ${PREFIX}/${_libdir}/${file}${EXEEXT}
31
+ fi
32
+ done
33
+
34
+ # https://github.com/gcc-mirror/gcc/blob/gcc-7_3_0-release/gcc/Makefile.in#L3481-L3526
35
+ # Could have used install-common, but it also installs cxx binaries, which we
36
+ # don't want in this package. We could patch it, or use the loop below:
37
+ for file in gcov{,-tool,-dump}; do
38
+ if [[ -f gcc/${file}${EXEEXT} ]]; then
39
+ install -c gcc/${file}${EXEEXT} ${PREFIX}/bin/${TARGET}-${file}${EXEEXT}
40
+ fi
41
+ done
42
+
43
+ make prefix=${PREFIX}/lib/gcc/${TARGET}/${gcc_version} install-libcc1
44
+ install -d ${PREFIX}/share/gdb/auto-load/usr/lib
45
+
46
+ make prefix=${PREFIX} install-fixincludes
47
+ make -C gcc prefix=${PREFIX} install-mkheaders
48
+
49
+ if [[ -d ${TARGET}/libatomic ]]; then
50
+ make -C ${TARGET}/libatomic prefix=${PREFIX} install
51
+ fi
52
+
53
+ if [[ -d ${TARGET}/libgomp ]]; then
54
+ make -C ${TARGET}/libgomp prefix=${PREFIX} install
55
+ fi
56
+
57
+ if [[ -d ${TARGET}/libitm ]]; then
58
+ make -C ${TARGET}/libitm prefix=${PREFIX} install
59
+ fi
60
+
61
+ if [[ -d ${TARGET}/libquadmath ]]; then
62
+ make -C ${TARGET}/libquadmath prefix=${PREFIX} install
63
+ fi
64
+
65
+ if [[ -d ${TARGET}/libsanitizer ]]; then
66
+ make -C ${TARGET}/libsanitizer prefix=${PREFIX} install
67
+ fi
68
+
69
+ if [[ -d ${TARGET}/libsanitizer/asan ]]; then
70
+ make -C ${TARGET}/libsanitizer/asan prefix=${PREFIX} install
71
+ fi
72
+
73
+ if [[ -d ${TARGET}/libsanitizer/tsan ]]; then
74
+ make -C ${TARGET}/libsanitizer/tsan prefix=${PREFIX} install
75
+ fi
76
+
77
+ make -C libiberty prefix=${PREFIX} install
78
+ # install PIC version of libiberty
79
+ if [[ "${TARGET}" != *mingw* ]]; then
80
+ install -m644 libiberty/pic/libiberty.a ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}
81
+ else
82
+ install -m644 libiberty/libiberty.a ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}
83
+ fi
84
+
85
+ make -C gcc prefix=${PREFIX} install-man install-info
86
+
87
+ make -C gcc prefix=${PREFIX} install-po
88
+
89
+ # many packages expect this symlink
90
+ [[ -f ${PREFIX}/bin/${TARGET}-cc${EXEEXT} ]] && rm ${PREFIX}/bin/${TARGET}-cc${EXEEXT}
91
+ pushd ${PREFIX}/bin
92
+ if [[ "${HOST}" != *mingw* ]]; then
93
+ ln -s ${TARGET}-gcc${EXEEXT} ${TARGET}-cc${EXEEXT}
94
+ else
95
+ cp ${TARGET}-gcc${EXEEXT} ${TARGET}-cc${EXEEXT}
96
+ fi
97
+ popd
98
+
99
+ # POSIX conformance launcher scripts for c89 and c99
100
+ cat > ${PREFIX}/bin/${TARGET}-c89${EXEEXT} <<"EOF"
101
+ #!/bin/sh
102
+ fl="-std=c89"
103
+ for opt; do
104
+ case "$opt" in
105
+ -ansi|-std=c89|-std=iso9899:1990) fl="";;
106
+ -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2
107
+ exit 1;;
108
+ esac
109
+ done
110
+ exec ${TARGET}-c89${EXEEXT} $fl ${1+"$@"}
111
+ EOF
112
+
113
+ cat > ${PREFIX}/bin/${TARGET}-c99${EXEEXT} <<"EOF"
114
+ #!/bin/sh
115
+ fl="-std=c99"
116
+ for opt; do
117
+ case "$opt" in
118
+ -std=c99|-std=iso9899:1999) fl="";;
119
+ -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
120
+ exit 1;;
121
+ esac
122
+ done
123
+ exec ${TARGET}-c99${EXEEXT} $fl ${1+"$@"}
124
+ EOF
125
+
126
+ chmod 755 ${PREFIX}/bin/${TARGET}-c{8,9}9${EXEEXT}
127
+
128
+ rm ${PREFIX}/bin/${TARGET}-gcc-${PKG_VERSION}${EXEEXT}
129
+
130
+ popd
131
+
132
+ # generate specfile so that we can patch loader link path
133
+ # link_libgcc should have the gcc's own libraries by default (-R)
134
+ # so that LD_LIBRARY_PATH isn't required for basic libraries.
135
+ #
136
+ # GF method here to create specs file and edit it. The other methods
137
+ # tried had no effect on the result. including:
138
+ # setting LINK_LIBGCC_SPECS on configure
139
+ # setting LINK_LIBGCC_SPECS on make
140
+ # setting LINK_LIBGCC_SPECS in gcc/Makefile
141
+ specdir=$PREFIX/lib/gcc/$TARGET/${gcc_version}
142
+ cp ${SRC_DIR}/build/gcc/specs $specdir/specs
143
+ cat $specdir/specs
144
+
145
+ # make a copy of the specs without our additions so that people can choose not to use them
146
+ # by passing -specs=builtin.specs
147
+ cp $specdir/specs $specdir/builtin.specs
148
+
149
+ # modify the default specs to only have %include_noerr that includes an optional conda.specs
150
+ # package installable via the conda-gcc-specs package where conda.specs (for ${TARGET}
151
+ # == ${HOST}) will add the minimal set of flags for the 'native' toolchains to be useable
152
+ # without anything additional set in the enviornment or extra cmdline args.
153
+ echo "%include_noerr <conda.specs>" >> $specdir/specs
154
+
155
+ # We use double quotes here because we want $PREFIX and $TARGET to be expanded at build time
156
+ # and recorded in the specs file. It will undergo a prefix replacement when our compiler
157
+ # package is installed.
158
+ if [[ "${TARGET}" == *linux* ]]; then
159
+ sed -i.bak "/\*link_command:/,+1 s+%.*+& %{!static:-rpath ${PREFIX}/lib}+" $specdir/specs
160
+ elif [[ "${TARGET}" == *darwin* ]]; then
161
+ sed -i.bak "s#@loader_path#${PREFIX}/lib#g" $specdir/specs
162
+ fi
163
+ rm -f $specdir/specs.bak
164
+
165
+ mkdir -p ${PREFIX}/share/licenses/gcc
166
+
167
+ # Install Runtime Library Exception
168
+ install -Dm644 $SRC_DIR/COPYING.RUNTIME \
169
+ ${PREFIX}/share/licenses/gcc/RUNTIME.LIBRARY.EXCEPTION
170
+
171
+ set +x
172
+ # Strip executables, we may want to install to a different prefix
173
+ # and strip in there so that we do not change files that are not
174
+ # part of this package.
175
+ pushd ${PREFIX}
176
+ _files=$(find bin libexec -type f -not -name '*.dll')
177
+ for _file in ${_files}; do
178
+ _type="$( file "${_file}" | cut -d ' ' -f 2- )"
179
+ case "${_type}" in
180
+ *script*executable*)
181
+ ;;
182
+ *executable*)
183
+ ${BUILD_PREFIX}/bin/${HOST}-strip ${STRIP_ARGS} -v "${_file}" || :
184
+ ;;
185
+ esac
186
+ done
187
+ popd
188
+
189
+ set -x
190
+
191
+ #${PREFIX}/bin/${TARGET}-gcc "${RECIPE_DIR}"/c11threads.c -std=c11
192
+
193
+ mkdir -p ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}
194
+
195
+ if [[ "${HOST}" == "${TARGET}" ]]; then
196
+ if [[ "${TARGET}" == *darwin* ]]; then
197
+ rm -rf ${PREFIX}/lib/libgomp.*dylib
198
+ rm -rf ${PREFIX}/lib/libgomp.a
199
+ fi
200
+ # making these this way so conda build doesn't muck with them
201
+ pushd ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/
202
+ if [[ "${TARGET}" == *darwin* ]]; then
203
+ ln -sf ../../../libomp.dylib libgomp.dylib
204
+ fi
205
+ for name in atomic gomp cc1 itm quadmath {a,hwa,l,t,ub}san; do
206
+ [ -e "${PREFIX}/lib/lib${name}${SHLIB_EXT}" ] || continue
207
+ ln -s ../../../lib${name}${SHLIB_EXT} lib${name}${SHLIB_EXT}
208
+ done
209
+ popd
210
+ else
211
+ source ${RECIPE_DIR}/install-libgcc.sh
212
+ if [[ "${TARGET}" == *darwin* ]]; then
213
+ rm -rf ${PREFIX}/${TARGET}/lib/libgomp.*dylib
214
+ rm -rf ${PREFIX}/${TARGET}/lib/libgomp.a
215
+ fi
216
+ rm -f ${PREFIX}/share/info/*.info
217
+ # TODO: create a TBD file libgomp.tbd that re-exports libomp.dylib
218
+ # and remove libgomp.dylib symlink from _openmp_mutex
219
+ for name in atomic gomp cc1 itm quadmath {a,hwa,l,t,ub}san; do
220
+ if [[ -f "${PREFIX}/${TARGET}/lib/lib${name}.so" ]]; then
221
+ mv ${PREFIX}/${TARGET}/lib/lib${name}.so* ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/ || true
222
+ fi
223
+ if [[ -f "${PREFIX}/${TARGET}/lib/lib${name}.dylib" ]]; then
224
+ mv ${PREFIX}/${TARGET}/lib/lib${name}.*dylib ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/ || true
225
+ fi
226
+ done
227
+ fi
228
+
229
+ mkdir -p ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/
230
+ for name in atomic gomp itm quadmath {a,hwa,l,t,ub}san; do
231
+ if [[ -f "${PREFIX}/lib/lib${name}.a" ]]; then
232
+ mv ${PREFIX}/lib/lib${name}.*a ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/
233
+ fi
234
+ if [[ -f "${PREFIX}/${TARGET}/lib/lib${name}.a" ]]; then
235
+ mv ${PREFIX}/${TARGET}/lib/lib${name}.*a ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/
236
+ fi
237
+ done
238
+
239
+ for f in ${PREFIX}/lib/*.spec; do
240
+ [ -e "$f" ] || continue
241
+ mv $f ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/$(basename $f)
242
+ done
243
+ for f in ${PREFIX}/${TARGET}/lib/*.spec; do
244
+ [ -e "$f" ] || continue
245
+ mv $f ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/$(basename $f)
246
+ done
247
+ if [[ "${TARGET}" == *linux* ]]; then
248
+ # sanitizer preinit files
249
+ for f in ${PREFIX}/lib/*.o; do
250
+ [ -e "$f" ] || continue
251
+ mv $f ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/$(basename $f)
252
+ done
253
+ for f in ${PREFIX}/${TARGET}/lib/*.o; do
254
+ [ -e "$f" ] || continue
255
+ mv $f ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/$(basename $f)
256
+ done
257
+ fi
258
+ rm -f ${PREFIX}/share/info/dir
259
+
260
+ mkdir -p ${PREFIX}/libexec/gcc/${TARGET}/${gcc_version}
261
+ if [[ "${TARGET}" == *darwin* ]]; then
262
+ TOOLS="ar as c++filt ld nm ranlib size strings strip"
263
+ elif [[ "${TARGET}" == *linux* ]]; then
264
+ TOOLS=TOOLS="addr2line ar c++filt elfedit ld nm objcopy objdump ranlib readelf size strings strip"
265
+ elif [[ "${TARGET}" == *mingw* ]]; then
266
+ TOOLS=""
267
+ #TOOLS=TOOLS="addr2line ar c++filt elfedit ld nm objcopy objdump ranlib readelf size strings strip dlltool dllwrap windmc windres"
268
+ fi
269
+
270
+ for f in ${TOOLS}; do
271
+ ln -sf ${PREFIX}/bin/${TARGET}-${f} ${PREFIX}/libexec/gcc/${TARGET}/${gcc_version}/${f}
272
+ done
273
+
274
+ if [[ "${TARGET}" == *darwin* ]]; then
275
+ # stdio.h from the SDK is vendored and "fixed" here, but we need to allow
276
+ # using different SDKs
277
+ rm -f ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/include-fixed/stdio.h
278
+ # same here, but we need to support __FLT_EVAL_METHOD__=16 on older SDKs
279
+ cp ${RECIPE_DIR}/include-fixed-math.h ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/include-fixed/math.h
280
+ fi
281
+
282
+ source ${RECIPE_DIR}/make_tool_links.sh
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-gfortran.sh ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+ set -e -x
5
+
6
+
7
+ _libdir=libexec/gcc/${TARGET}/${PKG_VERSION}
8
+
9
+ mkdir -p $PREFIX/lib/gcc/${TARGET}/${gcc_version}/finclude
10
+ mkdir -p $PREFIX/lib/gcc/${TARGET}/${gcc_version}/include
11
+
12
+ # libtool wants to use ranlib that is here, macOS install doesn't grok -t etc
13
+ # .. do we need this scoped over the whole file though?
14
+ #export PATH=${SRC_DIR}/gcc_built/bin:${SRC_DIR}/.build/${TARGET}/buildtools/bin:${SRC_DIR}/.build/tools/bin:${PATH}
15
+
16
+ pushd ${SRC_DIR}/build
17
+
18
+ # adapted from Arch install script from https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/gcc/PKGBUILD
19
+ # We cannot make install since .la files are not relocatable so libtool deliberately prevents it:
20
+ # libtool: install: error: cannot install `libgfortran.la' to a directory not ending in ${SRC_DIR}/work/gcc_built/${TARGET}/lib/../lib
21
+ make -C ${TARGET}/libgfortran prefix=${PREFIX} all-multi libgfortran.spec ieee_arithmetic.mod ieee_exceptions.mod ieee_features.mod config.h
22
+ make -C gcc prefix=${PREFIX} fortran.install-{common,man,info}
23
+
24
+ # How it used to be:
25
+ # install -Dm755 gcc/f951 ${PREFIX}/${_libdir}/f951
26
+ for file in f951; do
27
+ if [[ -f gcc/${file}${EXEEXT} ]]; then
28
+ install -c gcc/${file}${EXEEXT} ${PREFIX}/${_libdir}/${file}${EXEEXT}
29
+ fi
30
+ done
31
+
32
+ cp ${TARGET}/libgfortran/libgfortran.spec ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/
33
+
34
+ pushd ${PREFIX}/bin
35
+ if [[ "${HOST}" != *mingw* ]]; then
36
+ ln -sf ${TARGET}-gfortran${EXEEXT} ${TARGET}-f95${EXEEXT}
37
+ else
38
+ cp ${TARGET}-gfortran${EXEEXT} ${TARGET}-f95${EXEEXT}
39
+ fi
40
+ popd
41
+
42
+ make install DESTDIR=$SRC_DIR/build-finclude
43
+ install -Dm644 $SRC_DIR/build-finclude/$PREFIX/lib/gcc/${TARGET}/${gcc_version}/finclude/* $PREFIX/lib/gcc/${TARGET}/${gcc_version}/finclude/
44
+ install -Dm644 $SRC_DIR/build-finclude/$PREFIX/lib/gcc/${TARGET}/${gcc_version}/include/*.h $PREFIX/lib/gcc/${TARGET}/${gcc_version}/include/
45
+
46
+ mkdir -p ${PREFIX}/share/licenses/gcc-fortran
47
+ # Install Runtime Library Exception
48
+ install -Dm644 $SRC_DIR/COPYING.RUNTIME \
49
+ ${PREFIX}/share/licenses/gcc-fortran/RUNTIME.LIBRARY.EXCEPTION
50
+
51
+ if [[ "${HOST}" == "${TARGET}" ]]; then
52
+ if [[ ${TARGET} == *linux* ]]; then
53
+ ln -sf ${PREFIX}/lib/libgfortran.so ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/libgfortran.so
54
+ elif [[ ${TARGET} == *darwin* ]]; then
55
+ ln -sf ${PREFIX}/lib/libgfortran.dylib ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/libgfortran.dylib
56
+ fi
57
+ else
58
+ if [[ ${TARGET} == *linux* ]]; then
59
+ cp -f -P ${SRC_DIR}/build/${TARGET}/libgfortran/.libs/libgfortran*.so* ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/
60
+ elif [[ ${TARGET} == *darwin* ]]; then
61
+ cp -f -P ${SRC_DIR}/build/${TARGET}/libgfortran/.libs/libgfortran*.dylib ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/
62
+ fi
63
+ fi
64
+ cp -f -P ${SRC_DIR}/build/${TARGET}/libgfortran/.libs/libgfortran.*a ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/
65
+
66
+ set +x
67
+ # Strip executables, we may want to install to a different prefix
68
+ # and strip in there so that we do not change files that are not
69
+ # part of this package.
70
+ pushd ${PREFIX}
71
+ _files=$(find bin libexec -type f -not -name '*.dll')
72
+ for _file in ${_files}; do
73
+ _type="$( file "${_file}" | cut -d ' ' -f 2- )"
74
+ case "${_type}" in
75
+ *script*executable*)
76
+ ;;
77
+ *executable*)
78
+ ${BUILD_PREFIX}/bin/${HOST}-strip ${STRIP_ARGS} -v "${_file}" || :
79
+ ;;
80
+ esac
81
+ done
82
+ popd
83
+
84
+ if [[ -f ${PREFIX}/lib/libgomp.spec ]]; then
85
+ mv ${PREFIX}/lib/libgomp.spec ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/libgomp.spec
86
+ fi
87
+
88
+ rm -f ${PREFIX}/share/info/dir
89
+
90
+ source ${RECIPE_DIR}/make_tool_links.sh
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libgcc-devel.sh ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+ set -e -x
5
+
6
+
7
+
8
+ # libtool wants to use ranlib that is here, macOS install doesn't grok -t etc
9
+ # .. do we need this scoped over the whole file though?
10
+ #export PATH=${SRC_DIR}/gcc_built/bin:${SRC_DIR}/.build/${TARGET}/buildtools/bin:${SRC_DIR}/.build/tools/bin:${PATH}
11
+
12
+ pushd ${SRC_DIR}/build
13
+
14
+ make -C ${TARGET}/libgcc prefix=${PREFIX} install
15
+
16
+ # ${PREFIX}/lib/libgcc_s.so* goes into libgcc output, but
17
+ # avoid that the equivalents in ${PREFIX}/lib/gcc/TARGET/gcc_version end up
18
+ # in gcc_impl_{{ cross_target_platform }}, c.f. install-gcc.sh
19
+ if [[ "${TARGET}" == *linux* ]]; then
20
+ mv ${PREFIX}/lib/libgcc_s.so* ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}
21
+ elif [[ "${TARGET}" == *darwin* ]]; then
22
+ mv ${PREFIX}/lib/libgcc_s*.dylib ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}
23
+ else
24
+ # import library, not static library
25
+ mv ${PREFIX}/lib/libgcc_s.a ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/
26
+ rm ${PREFIX}/lib/libgcc_s*.dll || true
27
+ fi
28
+ # This is in gcc_impl as it is gcc specific and clang has the same header
29
+ rm -rf ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/include/unwind.h
30
+
31
+ popd
32
+
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libgcc-no-gomp.sh ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+ set -e -x
5
+
6
+
7
+
8
+ # we have to remove existing links/files so that the libgcc install works
9
+ rm -rf ${PREFIX}/lib/*
10
+ rm -rf ${PREFIX}/share/*
11
+ rm -f ${PREFIX}/${TARGET}/lib/libgomp*
12
+
13
+ # now run install of libgcc
14
+ # this reinstalls the wrong symlinks for openmp
15
+ source ${RECIPE_DIR}/install-libgcc.sh
16
+
17
+ # remove and relink things for openmp
18
+ rm -f ${PREFIX}/lib/libgomp.so
19
+ rm -f ${PREFIX}/${TARGET}/lib/libgomp.so
20
+ rm -f ${PREFIX}/lib/libgomp.so.${libgomp_ver:0:1}
21
+ rm -f ${PREFIX}/${TARGET}/lib/libgomp.so.${libgomp_ver:0:1}
22
+ rm -f ${PREFIX}/${TARGET}/lib/libgomp.so.${libgomp_ver}
23
+ rm -f ${PREFIX}/lib/libgomp.dylib
24
+ rm -f ${PREFIX}/${TARGET}/lib/libgomp.dylib
25
+ rm -f ${PREFIX}/lib/libgomp.${libgomp_ver:0:1}.dylib
26
+ rm -f ${PREFIX}/${TARGET}/lib/libgomp.${libgomp_ver:0:1}.dylib
27
+ rm -f ${PREFIX}/${TARGET}/lib/libgomp.${libgomp_ver}.dylib
28
+
29
+ # (re)make the right links
30
+ # note that this code is remaking more links than the ones we want in this
31
+ # package but that is ok
32
+ pushd ${PREFIX}/lib
33
+ if [[ "${TARGET}" == *linux* ]]; then
34
+ ln -s libgomp.so.${libgomp_ver} libgomp.so.${libgomp_ver:0:1}
35
+ fi
36
+ popd
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libgcc.sh ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+ set -e -x
5
+
6
+ # libtool wants to use ranlib that is here, macOS install doesn't grok -t etc
7
+ # .. do we need this scoped over the whole file though?
8
+ #export PATH=${SRC_DIR}/gcc_built/bin:${SRC_DIR}/.build/${TARGET}/buildtools/bin:${SRC_DIR}/.build/tools/bin:${PATH}
9
+
10
+ pushd ${SRC_DIR}/build
11
+
12
+ if [[ "${PKG_NAME}" == "libgcc" ]]; then
13
+ mkdir -p ${PREFIX}/lib
14
+ mkdir -p ${PREFIX}/bin
15
+ # install-shared target doesn't seem to work on macos
16
+ # make -C ${TARGET}/libgcc prefix=${PREFIX} install DESTDIR=${PWD}/tmp
17
+ make -C ${TARGET}/libgcc prefix=${PREFIX} install DESTDIR=${PWD}/tmp
18
+ install -c -m 644 ${PWD}/tmp/${PREFIX}/lib/lib* ${PREFIX}/lib || true
19
+ if [[ "${TARGET}" == *mingw* ]]; then
20
+ mv $PREFIX/lib/libgcc_s*.dll $PREFIX/bin
21
+ fi
22
+ elif [[ "${PKG_NAME}" != "gcc_impl"* ]]; then
23
+ # when building a cross compiler, above make line will clobber $PREFIX/lib/libgcc_s.so.1
24
+ # and fail after some point for some architectures. To avoid that, we copy manually
25
+ pushd ${TARGET}/libgcc
26
+ mkdir -p ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}
27
+ install -c -m 644 libgcc_eh.a ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/libgcc_eh.a
28
+ chmod 644 ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/libgcc_eh.a
29
+ ${TARGET}-ranlib ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/libgcc_eh.a
30
+
31
+ if [[ "${TARGET}" == *linux* ]]; then
32
+ install -c -m 644 ./libgcc_s.so.1 ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/libgcc_s.so.1
33
+ cp $RECIPE_DIR/libgcc_s.so.ldscript ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/libgcc_s.so
34
+ elif [[ "${TARGET}" == *darwin* ]]; then
35
+ install -c -m 644 ./libgcc_s.1.dylib ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/libgcc_s.1.dylib
36
+ else
37
+ # import library, not static library
38
+ install -c -m 644 ./shlib/libgcc_s.a ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/libgcc_s.a
39
+ fi
40
+ popd
41
+ fi
42
+
43
+ # TODO :: Also do this for libgfortran (and libstdc++ too probably?)
44
+ if [[ -f ${TARGET}/libsanitizer/libtool ]]; then
45
+ sed -i.bak 's/.*cannot install.*/func_warning "Ignoring libtool error about cannot install to a directory not ending in"/' \
46
+ ${TARGET}/libsanitizer/libtool
47
+ fi
48
+ for lib in libatomic libgomp libquadmath libitm libvtv libsanitizer/{a,hwa,l,ub,t}san; do
49
+ # TODO :: Also do this for libgfortran (and libstdc++ too probably?)
50
+ if [[ -f ${TARGET}/${lib}/libtool ]]; then
51
+ sed -i.bak 's/.*cannot install.*/func_warning "Ignoring libtool error about cannot install to a directory not ending in"/' \
52
+ ${TARGET}/${lib}/libtool
53
+ fi
54
+ if [[ -d ${TARGET}/${lib} ]]; then
55
+ make -C ${TARGET}/${lib} prefix=${PREFIX} install-toolexeclibLTLIBRARIES
56
+ make -C ${TARGET}/${lib} prefix=${PREFIX} install-nodist_fincludeHEADERS || true
57
+ fi
58
+ done
59
+
60
+ for lib in libgomp libquadmath; do
61
+ if [[ -d ${TARGET}/${lib} ]]; then
62
+ make -C ${TARGET}/${lib} prefix=${PREFIX} install-info
63
+ fi
64
+ done
65
+
66
+ popd
67
+
68
+ mkdir -p ${PREFIX}/lib
69
+
70
+ if [[ "${PKG_NAME}" != "gcc_impl"* ]]; then
71
+ # no static libs
72
+ find ${PREFIX}/lib -name "*\.a" ! -name "*\.dll\.a" -exec rm -rf {} \;
73
+ fi
74
+ # no libtool files
75
+ find ${PREFIX}/lib -name "*\.la" -exec rm -rf {} \;
76
+
77
+ if [[ "${PKG_NAME}" != gcc_impl* ]]; then
78
+ # clean up empty folder
79
+ rm -rf ${PREFIX}/lib/gcc
80
+ rm -rf ${PREFIX}/lib/lib{a,hwa,l,ub,t}san.so*
81
+ rm -rf ${PREFIX}/lib/lib{a,hwa,l,ub,t}san.*dylib
82
+
83
+ mkdir -p ${PREFIX}/share/licenses/gcc-libs
84
+ # Install Runtime Library Exception
85
+ install -Dm644 ${SRC_DIR}/COPYING.RUNTIME \
86
+ ${PREFIX}/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION
87
+ fi
88
+
89
+ rm -f ${PREFIX}/share/info/dir
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libgfortran.sh ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+ set -e -x
5
+
6
+ rm -f ${PREFIX}/lib/libgfortran* || true
7
+
8
+ if [[ "${TARGET}" == *mingw* ]]; then
9
+ mkdir -p ${PREFIX}/bin/
10
+ mkdir -p ${PREFIX}/lib/
11
+ cp ${SRC_DIR}/build/${TARGET}/libgfortran/.libs/libgfortran*.dll ${PREFIX}/bin/
12
+ cp ${SRC_DIR}/build/${TARGET}/libgfortran/.libs/libgfortran.dll.a ${PREFIX}/lib/
13
+ elif [[ "${TARGET}" == *linux* ]]; then
14
+ mkdir -p ${PREFIX}/lib
15
+ cp -f -P ${SRC_DIR}/build/${TARGET}/libgfortran/.libs/libgfortran*.so* ${PREFIX}/lib/
16
+ elif [[ "${TARGET}" == *darwin* ]]; then
17
+ mkdir -p ${PREFIX}/lib
18
+ cp -f -P ${SRC_DIR}/build/${TARGET}/libgfortran/.libs/libgfortran*.dylib ${PREFIX}/lib/
19
+ else
20
+ echo "${TARGET} not handled"
21
+ exit 1
22
+ fi
23
+
24
+ mkdir -p ${PREFIX}/share/licenses/libgfortran
25
+ # Install Runtime Library Exception
26
+ install -Dm644 $SRC_DIR/COPYING.RUNTIME \
27
+ ${PREFIX}/share/licenses/libgfortran/RUNTIME.LIBRARY.EXCEPTION
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libgomp.sh ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+
5
+ cd build
6
+
7
+ make -C ${TARGET}/libgomp prefix=${PREFIX} install-toolexeclibLTLIBRARIES
8
+ rm ${PREFIX}/lib/libgomp.a ${PREFIX}/lib/libgomp.la
9
+
10
+ if [[ "${HOST}" == *linux* ]]; then
11
+ rm ${PREFIX}/lib/libgomp.so.1
12
+ rm ${PREFIX}/lib/libgomp.so
13
+ ln -sf ${PREFIX}/lib/libgomp.so.${libgomp_ver} ${PREFIX}/lib/libgomp.so
14
+ fi
15
+
16
+ mkdir -p ${PREFIX}/share/licenses/gcc-libs
17
+ # Install Runtime Library Exception
18
+ install -Dm644 ${SRC_DIR}/COPYING.RUNTIME \
19
+ ${PREFIX}/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION.gomp_copy
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libsanitizer.sh ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+ set -e -x
5
+
6
+
7
+
8
+ mkdir -p ${PREFIX}/lib
9
+
10
+ pushd ${SRC_DIR}/build
11
+
12
+ # TODO :: Also do this for libgfortran (and libstdc++ too probably?)
13
+ sed -i.bak 's/.*cannot install.*/func_warning "Ignoring libtool error about cannot install to a directory not ending in"/' \
14
+ ${TARGET}/libsanitizer/libtool
15
+ for lib in libsanitizer/{a,hwa,l,ub,t}san; do
16
+ # TODO :: Also do this for libgfortran (and libstdc++ too probably?)
17
+ if [[ -f ${TARGET}/${lib}/libtool ]]; then
18
+ sed -i.bak 's/.*cannot install.*/func_warning "Ignoring libtool error about cannot install to a directory not ending in"/' \
19
+ ${TARGET}/${lib}/libtool
20
+ fi
21
+ if [[ -d ${TARGET}/${lib} ]]; then
22
+ make -C ${TARGET}/${lib} prefix=${PREFIX} install-toolexeclibLTLIBRARIES
23
+ make -C ${TARGET}/${lib} prefix=${PREFIX} install-nodist_fincludeHEADERS || true
24
+ fi
25
+ done
26
+
27
+ popd
28
+
29
+ # no static libs
30
+ find ${PREFIX}/lib -name "*\.a" ! -name "*\.dll\.a" -exec rm -rf {} \;
31
+ # no libtool files
32
+ find ${PREFIX}/lib -name "*\.la" -exec rm -rf {} \;
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libstdc++-devel.sh ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+ set -e -x
5
+
6
+ # libtool wants to use ranlib that is here, macOS install doesn't grok -t etc
7
+ # .. do we need this scoped over the whole file though?
8
+ # export PATH=${SRC_DIR}/gcc_built/bin:${SRC_DIR}/.build/${TARGET}/buildtools/bin:${SRC_DIR}/.build/tools/bin:${PATH}
9
+
10
+ pushd ${SRC_DIR}/build
11
+
12
+ make -C $TARGET/libstdc++-v3/src prefix=${PREFIX} install
13
+ make -C $TARGET/libstdc++-v3/include prefix=${PREFIX} install
14
+ make -C $TARGET/libstdc++-v3/libsupc++ prefix=${PREFIX} install
15
+
16
+ mkdir -p ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}
17
+
18
+ if [[ "${HOST}" == "${TARGET}" ]]; then
19
+ mv $PREFIX/lib/lib*.a ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/
20
+ if [[ "${TARGET}" == *linux* ]]; then
21
+ mv ${PREFIX}/lib/libstdc++.so* ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/
22
+ else
23
+ rm ${PREFIX}/bin/libstdc++*.dll
24
+ fi
25
+ else
26
+ mv $PREFIX/${TARGET}/lib/lib*.a ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/
27
+ if [[ "${TARGET}" == *linux* ]]; then
28
+ mv ${PREFIX}/${TARGET}/lib/libstdc++.so* ${PREFIX}/lib/gcc/${TARGET}/${gcc_version}/
29
+ fi
30
+ fi
31
+
32
+ popd
33
+
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-libstdc++.sh ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+ set -e -x
5
+
6
+
7
+
8
+ # libtool wants to use ranlib that is here, macOS install doesn't grok -t etc
9
+ # .. do we need this scoped over the whole file though?
10
+ #export PATH=${SRC_DIR}/gcc_built/bin:${SRC_DIR}/.build/${TARGET}/buildtools/bin:${SRC_DIR}/.build/tools/bin:${PATH}
11
+
12
+ pushd ${SRC_DIR}/build
13
+
14
+ make -C ${TARGET}/libstdc++-v3/src prefix=${PREFIX} install-toolexeclibLTLIBRARIES
15
+ make -C ${TARGET}/libstdc++-v3/po prefix=${PREFIX} install
16
+
17
+ popd
18
+
19
+ mkdir -p ${PREFIX}/lib
20
+
21
+ # no static libs
22
+ find ${PREFIX}/lib -name "*\.a" ! -name "*\.dll\.a" -exec rm -rf {} \;
23
+ # no libtool files
24
+ find ${PREFIX}/lib -name "*\.la" -exec rm -rf {} \;
25
+
26
+ mkdir -p ${PREFIX}/share/licenses/libstdc++
27
+ # Install Runtime Library Exception
28
+ install -Dm644 ${SRC_DIR}/COPYING.RUNTIME \
29
+ ${PREFIX}/share/licenses/libstdc++/RUNTIME.LIBRARY.EXCEPTION
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-openmp_impl.sh ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+ set -e -x
5
+
6
+ mkdir -p ${PREFIX}/lib
7
+
8
+ pushd ${PREFIX}/lib/
9
+
10
+ if [[ "${TARGET}" != *mingw* ]]; then
11
+ ln -s libgomp.so.${libgomp_ver} libgomp.so.${libgomp_ver:0:1}
12
+ fi
13
+ popd
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/install-symlinks.sh ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source ${RECIPE_DIR}/setup_compiler.sh
4
+
5
+ if [[ "${HOST}" == *mingw* ]]; then
6
+ symlink_or_copy="cp"
7
+ else
8
+ symlink_or_copy="ln -sf"
9
+ fi
10
+
11
+ TOOLS=""
12
+ if [[ "${PKG_NAME}" == "gcc" ]]; then
13
+ TOOLS="gcc gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool"
14
+ if [[ "${HOST}" != *darwin* ]]; then
15
+ TOOLS="${TOOLS} cc cpp"
16
+ fi
17
+ elif [[ "${PKG_NAME}" == "gxx" ]]; then
18
+ TOOLS="g++"
19
+ if [[ "${HOST}" != *darwin* ]]; then
20
+ TOOLS="${TOOLS} c++"
21
+ fi
22
+ elif [[ "${PKG_NAME}" == "gfortran" ]]; then
23
+ TOOLS="gfortran"
24
+ fi
25
+
26
+ for tool in ${TOOLS}; do
27
+ $symlink_or_copy ${PREFIX}/bin/${TARGET}-${tool}${EXEEXT} ${PREFIX}/bin/${tool}${EXEEXT}
28
+ done
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/libgcc_s.so.ldscript ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ /* GNU ld script
2
+ Use the shared library, but some functions are only in
3
+ the static library. */
4
+ GROUP ( libgcc_s.so.1 -lgcc )
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/make_tool_links.sh ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # When host=target, gcc installs un-prefixed tools together with prefixed-tools
2
+ # In the case of cpp, only un-prefixed cpp. Let's copy the un-prefixed tool
3
+ # to prefix-tool and delete the un-prefixed one to get back ct-ng behaviour
4
+ for tool in gcc g++ gfortran cpp gcc-ar gcc-nm gcc-ranlib c++; do
5
+ if [ -f ${PREFIX}/bin/${tool}${EXEEXT} ]; then
6
+ if [ ! -f ${PREFIX}/bin/${TARGET}-${tool}${EXEEXT} ]; then
7
+ cp ${PREFIX}/bin/${tool}${EXEEXT} ${PREFIX}/bin/${TARGET}-${tool}${EXEEXT}
8
+ fi
9
+ rm ${PREFIX}/bin/${tool}${EXEEXT}
10
+ fi
11
+ done
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/meta.yaml ADDED
@@ -0,0 +1,793 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {% set version = gcc_version %}
2
+ {% set build_num = 17 %}
3
+
4
+ {% if gcc_maj_ver is not defined %}
5
+ {% set gcc_maj_ver = 15 %}
6
+ {% endif %}
7
+
8
+ # libgcc-devel is a noarch: generic package that is built for
9
+ # cross-compilers as well. Instead of skipping for cross-compilers,
10
+ # let's prioritize the native compilers package
11
+ {% if target_platform == cross_target_platform %}
12
+ {% set libgcc_devel_build_num = build_num + 100 %}
13
+ {% else %}
14
+ {% set libgcc_devel_build_num = build_num %}
15
+ {% endif %}
16
+
17
+ {% if cross_target_platform is not defined %}
18
+ {% set cross_target_platform = "linux-64" %}
19
+ {% endif %}
20
+
21
+ package:
22
+ name: gcc_compilers
23
+ version: {{ version }}
24
+
25
+ source:
26
+ - url:
27
+ #- https://ftp.gnu.org/gnu/gcc/gcc-{{ version }}/gcc-{{ version }}.tar.gz
28
+ - https://mirrors.ocf.berkeley.edu/gnu/gcc/gcc-{{ version }}/gcc-{{ version }}.tar.gz
29
+ sha256: 7294d65cc1a0558cb815af0ca8c7763d86f7a31199794ede3f630c0d1b0a5723 # [gcc_version == "15.2.0"]
30
+ sha256: ace8b8b0dbfe6abfc22f821cb093e195aa5498b7ccf7cd23e4424b9f14afed22 # [gcc_version == "14.3.0"]
31
+ sha256: bf0baf3e570c9c74c17c8201f0196c6924b4bd98c90e69d6b2ac0cd823f33bbc # [gcc_version == "13.4.0"]
32
+ patches:
33
+ - patches/0001-allow-commands-in-main-specfile.patch
34
+ - patches/0002-patch-zoneinfo_dir_override-to-point-to-our-tzdata.patch # [gcc_maj_ver != 13]
35
+ {% if cross_target_platform.startswith("linux-") %}
36
+ - patches/0003-add-ldl-to-libstdc___la_LDFLAGS.patch # [gcc_maj_ver != 13]
37
+ - patches/0004-Hardcode-HAVE_ALIGNED_ALLOC-1-in-libstdc-v3-configur.patch
38
+ {% elif cross_target_platform.startswith("win-") %}
39
+ # for GCC 15: https://github.com/msys2/MINGW-packages/tree/f59921184b35858d4ceb91679578de0d62475cbf/mingw-w64-gcc
40
+ # for GCC 14: https://github.com/msys2/MINGW-packages/tree/331bf945d21af562d228ed46bda21c8272d1e76e/mingw-w64-gcc
41
+ # for GCC 13: https://github.com/msys2/MINGW-packages/tree/4f1262b4e1072632eccf0958764f90d890b832ac/mingw-w64-gcc
42
+ - patches/mingw/{{ gcc_maj_ver }}/0002-Relocate-libintl.patch # [gcc_maj_ver == 13]
43
+ - patches/mingw/{{ gcc_maj_ver }}/0003-Windows-Follow-Posix-dir-exists-semantics-more-close.patch
44
+ - patches/mingw/{{ gcc_maj_ver }}/0005-Windows-Don-t-ignore-native-system-header-dir.patch
45
+ - patches/mingw/{{ gcc_maj_ver }}/0006-Windows-New-feature-to-allow-overriding.patch # [gcc_maj_ver == 13]
46
+ - patches/mingw/{{ gcc_maj_ver }}/0007-Build-EXTRA_GNATTOOLS-for-Ada.patch
47
+ - patches/mingw/{{ gcc_maj_ver }}/0008-Prettify-linking-no-undefined.patch
48
+ - patches/mingw/{{ gcc_maj_ver }}/0011-Enable-shared-gnat-implib.patch
49
+ - patches/mingw/{{ gcc_maj_ver }}/0012-Handle-spaces-in-path-for-default-manifest.patch
50
+ - patches/mingw/{{ gcc_maj_ver }}/0014-gcc-9-branch-clone_function_name_1-Retain-any-stdcall-suffix.patch
51
+ - patches/mingw/{{ gcc_maj_ver }}/0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch
52
+ - patches/mingw/{{ gcc_maj_ver }}/0021-PR14940-Allow-a-PCH-to-be-mapped-to-a-different-addr.patch # [gcc_maj_ver != 15]
53
+ - patches/mingw/{{ gcc_maj_ver }}/0140-gcc-diagnostic-color.patch
54
+ - patches/mingw/{{ gcc_maj_ver }}/0200-add-m-no-align-vector-insn-option-for-i386.patch
55
+ - patches/mingw/{{ gcc_maj_ver }}/0300-override-builtin-printf-format.patch # [gcc_maj_ver == 13]
56
+ - patches/mingw/{{ gcc_maj_ver }}/2000-enable-rust.patch # [gcc_maj_ver == 13]
57
+ - patches/mingw/{{ gcc_maj_ver }}/2001-fix-building-rust-on-mingw-w64.patch
58
+ - patches/mingw/{{ gcc_maj_ver }}/2f7e7bfa3c6327793cdcdcb5c770b93cecd49bd0.patch # [gcc_maj_ver == 13]
59
+ - patches/mingw/{{ gcc_maj_ver }}/3eeb4801d6f45f6250fc77a6d3ab4e0115f8cfdd.patch # [gcc_maj_ver == 13]
60
+ - patches/mingw/{{ gcc_maj_ver }}/9002-native-tls.patch # [gcc_maj_ver == 15]
61
+ {% elif cross_target_platform.startswith("osx-") %}
62
+ # all patches from https://github.com/Homebrew/formula-patches/tree/698885df7f624d0ce15bceb79a4d9760a473b502/gcc
63
+ # and edited with `s/-Wc,-nodefaultrpaths/-nodefaultrpaths`.
64
+ # in case of several patches per version, use newest one
65
+ - patches/macos/gcc-{{ version }}.diff
66
+ # from https://github.com/JuliaPackaging/Yggdrasil/blob/master/0_RootFS/GCCBootstrap%4014/bundled/patches/gcc/gcc1420-Increase-fallback-min-macOS-version-for-libgcc-to-10.8.patch
67
+ - patches/macos/0001-GCC-{{ gcc_maj_ver }}-Increase-fallback-min-macOS-version-for-libgc.patch # [cross_target_platform == "osx-64"]
68
+ # Make -stdlib=libcxx the default
69
+ - patches/macos/0002-Make-stdlib-libc-the-default-for-macos-platforms.patch
70
+ # call xcrun to get sdkroot
71
+ - patches/macos/0003-Find-macos-sysroot-by-calling-xcrun.patch
72
+ - patches/macos/fix-malloc-error.diff
73
+ {% endif %}
74
+ # Need an up-to-date zlib for recent clang
75
+ - url: https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz
76
+ sha256: 9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23
77
+ folder: zlib2
78
+
79
+ build:
80
+ number: {{ build_num }}
81
+ skip: true # [(win and cross_target_platform != "win-64") or ((cross_target_platform in ("osx-64", "osx-arm64") or osx) and gcc_maj_ver < 15)]
82
+ detect_binary_files_with_prefix: false
83
+ ignore_run_exports_from:
84
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }}
85
+
86
+ requirements:
87
+ build:
88
+ # Build dependencies are installed in setup_compilers.sh due to
89
+ # conda-build bugs
90
+ host:
91
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
92
+
93
+ outputs:
94
+ - name: libgcc-devel_{{ cross_target_platform }}
95
+ script: install-libgcc-devel.sh
96
+ build:
97
+ noarch: generic
98
+ number: {{ libgcc_devel_build_num }}
99
+ detect_binary_files_with_prefix: false
100
+ missing_dso_whitelist:
101
+ - "*"
102
+ ignore_run_exports_from:
103
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }}
104
+ requirements:
105
+ build:
106
+ host:
107
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
108
+ run:
109
+ - __unix # [unix]
110
+ - m2-conda-epoch # [win]
111
+ test:
112
+ commands:
113
+ - echo {{ cross_target_stdlib_version }}
114
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/crtbegin.o # [cross_target_platform not in ("osx-64", "osx-arm64")]
115
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/crtfastmath.o # [cross_target_platform in ("osx-64", "osx-arm64")]
116
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgcc_eh.a
117
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgcc.a
118
+ {% if cross_target_platform.startswith("linux-") %}
119
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgcc_s.so
120
+ {% elif cross_target_platform == "osx-64" %}
121
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgcc_s.1.dylib
122
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgcc_s.1.1.dylib
123
+ {% elif cross_target_platform == "osx-arm64" %}
124
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgcc_s.1.1.dylib
125
+ {% else %}
126
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgcc_s.a
127
+ {% endif %}
128
+ about:
129
+ summary: The GNU C development libraries and object files
130
+ home: https://gcc.gnu.org/
131
+ license: GPL-3.0-only WITH GCC-exception-3.1
132
+
133
+ - name: libstdcxx-devel_{{ cross_target_platform }}
134
+ script: install-libstdc++-devel.sh
135
+ build:
136
+ noarch: generic
137
+ number: {{ libgcc_devel_build_num }}
138
+ skip: true # [cross_target_cxx_stdlib != "libstdcxx"]
139
+ detect_binary_files_with_prefix: false
140
+ missing_dso_whitelist:
141
+ - "*"
142
+ ignore_run_exports_from:
143
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }}
144
+ requirements:
145
+ build:
146
+ host:
147
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
148
+ run:
149
+ - __unix # [unix]
150
+ - m2-conda-epoch # [win]
151
+ test:
152
+ commands:
153
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libstdc++.a
154
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libstdc++fs.a
155
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libsupc++.a
156
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/include/c++/cstdio
157
+ {% if cross_target_platform.startswith("linux-") %}
158
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libstdc++.so
159
+ {% else %}
160
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libstdc++.dll.a
161
+ {% endif %}
162
+ about:
163
+ summary: The GNU C++ headers and development libraries
164
+ home: https://gcc.gnu.org/
165
+ license: GPL-3.0-only WITH GCC-exception-3.1
166
+
167
+ - name: gcc_impl_{{ cross_target_platform }}
168
+ script: install-gcc.sh
169
+ build:
170
+ number: {{ build_num }}
171
+ detect_binary_files_with_prefix: false
172
+ missing_dso_whitelist:
173
+ - '*'
174
+ ignore_run_exports_from:
175
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }}
176
+ requirements:
177
+ build:
178
+ host:
179
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
180
+ - {{ pin_subpackage("libgomp", exact=True) }} # [target_platform == cross_target_platform and cross_target_platform not in ("osx-64", "osx-arm64")]
181
+ - {{ pin_subpackage("libstdcxx", exact=True) }} # [target_platform == cross_target_platform and cross_target_platform not in ("osx-64", "osx-arm64")]
182
+ - {{ pin_subpackage("libgcc", exact=True) }} # [target_platform == cross_target_platform]
183
+ - {{ pin_subpackage("libgfortran" ~ libgfortran_soname) }} # [target_platform == cross_target_platform]
184
+ - {{ pin_subpackage("libsanitizer", exact=True) }} # [target_platform == cross_target_platform and not (win or osx)]
185
+ - {{ pin_subpackage("libgcc-devel_" ~ cross_target_platform, exact=True) }}
186
+ run:
187
+ {% if cross_target_platform.startswith("osx-") %}
188
+ # For the linker
189
+ - ld64_{{ cross_target_platform }}
190
+ # For the assembler which calls the integrated assembler in clang
191
+ - cctools_{{ cross_target_platform }}
192
+ - clang
193
+ {% else %}
194
+ - binutils_impl_{{ cross_target_platform }} >={{ binutils_version }}
195
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} # [cross_target_stdlib != "None"]
196
+ # libstdcxx is a runtime dep of gcc because LTO requires it.
197
+ - {{ pin_subpackage("libstdcxx", max_pin=None) }} # [target_platform == cross_target_platform]
198
+ - {{ pin_subpackage("libgomp", max_pin=None) }} # [target_platform == cross_target_platform]
199
+ - {{ pin_subpackage("libstdcxx-devel_" ~ cross_target_platform, exact=True) }}
200
+ {% endif %}
201
+ - {{ pin_subpackage("libgcc-devel_" ~ cross_target_platform, exact=True) }}
202
+ - {{ pin_subpackage("libsanitizer", exact=True) }} # [target_platform == cross_target_platform and not (win or osx)]
203
+ - {{ pin_subpackage("libgcc", max_pin=None) }} # [target_platform == cross_target_platform]
204
+ run_exports:
205
+ # impose this requirement across the build/host boundary
206
+ strong:
207
+ - libgcc >={{ gcc_version }}
208
+ test:
209
+ requires:
210
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
211
+ files:
212
+ - tests
213
+ commands:
214
+ - echo {{ c_stdlib }}
215
+ - echo {{ c_stdlib_version }}
216
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgomp.so # [target_platform == cross_target_platform and cross_target_platform not in ("osx-64", "osx-arm64")]
217
+ - test `readlink ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgomp.so` == "../../../libgomp.so" # [target_platform == cross_target_platform and cross_target_platform not in ("osx-64", "osx-arm64")]
218
+ - test -f ${PREFIX}/bin/{{ TARGET }}-gcc
219
+ - test -f ${PREFIX}/bin/{{ TARGET }}-cpp
220
+ - test ! -f ${PREFIX}/bin/gcc # [cross_target_platform not in ("osx-64", "osx-arm64")]
221
+ - test ! -f ${PREFIX}/bin/cpp # [cross_target_platform not in ("osx-64", "osx-arm64")]
222
+ - CC=$(${PREFIX}/bin/*-gcc -dumpmachine)-gcc
223
+ - ${CC} -Wall tests/aligned_alloc.c -c -o c_aligned.o -v -Wl,-v -march=native # [target_platform == cross_target_platform and (x86_64 or s390x)]
224
+ # This test does not work well with QEMU
225
+ - ${CC} -Wall tests/aligned_alloc.c -c -o c_aligned.o -v -Wl,-v -mcpu=native # [target_platform == cross_target_platform and (not x86_64 and not s390x and not ppc64le)]
226
+ - ${CC} -Wall tests/aligned_alloc.c -c -o c_aligned.o -v -fsanitize=address # [cross_target_platform != "win-64"]
227
+ - ${CC} -Wall tests/aligned_alloc.c -c -o c_aligned.o -v # [cross_target_platform != "win-64"]
228
+ - ${CC} -Wall c_aligned.o -o c_aligned -v && ./c_aligned # [cross_target_platform == target_platform and cross_target_platform != "win-64"]
229
+ - ${CC} -Wall c_aligned.o -o c_aligned -Wl,-rpath,/foo && {{ TARGET }}-readelf -d c_aligned | grep RPATH | grep "/foo:${PREFIX}/lib" # [cross_target_platform == target_platform and linux]
230
+ - ${CC} -Wall tests/hello_world.c -c -o hello_world.o -v
231
+ - ${CC} -Wall hello_world.o -o hello_world -v
232
+ {% if cross_target_platform.startswith("linux-") %}
233
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgcc_s.so
234
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libsanitizer.spec
235
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libasan_preinit.o
236
+ {% elif cross_target_platform.startswith("osx-") %}
237
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgcc_s.1.1.dylib
238
+ - find ${PREFIX}/{{ TARGET }} || true
239
+ - test ! -d ${PREFIX}/{{ TARGET }}
240
+ {% else %}
241
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgcc_s.a
242
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libquadmath.a
243
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgomp.a
244
+ {% endif %}
245
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgomp.spec
246
+ about:
247
+ summary: GNU C Compiler
248
+ home: https://gcc.gnu.org/
249
+ license: GPL-3.0-only WITH GCC-exception-3.1
250
+
251
+ - name: gcc
252
+ script: install-symlinks.sh
253
+ build:
254
+ skip: true # [target_platform != cross_target_platform]
255
+ track_features: # [not with_conda_specs]
256
+ - gcc_no_conda_specs # [not with_conda_specs]
257
+ requirements:
258
+ host:
259
+ - {{ pin_subpackage("gcc_impl_" ~ cross_target_platform, exact=True) }}
260
+ - binutils_impl_{{ cross_target_platform }} {{ binutils_version }}.* bootstrap_* # [cross_target_platform not in ("osx-arm64", "osx-64")]
261
+ run:
262
+ - {{ pin_subpackage("gcc_impl_" ~ cross_target_platform, exact=True) }}
263
+ - conda-gcc-specs # [with_conda_specs]
264
+ test:
265
+ commands:
266
+ - echo "int main (void) {return 0;}" > conftest.c
267
+ - ${PREFIX}/bin/gcc -v
268
+ - ${PREFIX}/bin/gcc conftest.c -c -v
269
+ - ${PREFIX}/bin/gcov -v
270
+ about:
271
+ summary: GNU C native compiler (symlinks)
272
+ home: https://github.com/conda-forge/ctng-compilers-feedstock
273
+ license: BSD-3-Clause
274
+ license_file: LICENSE
275
+
276
+ - name: gcc-no-conda-specs
277
+ build:
278
+ skip: true # [with_conda_specs or target_platform != cross_target_platform]
279
+ requirements:
280
+ run:
281
+ - {{ pin_subpackage("gcc", exact=True) }}
282
+ run_constrained:
283
+ - conda-gcc-specs <0.0a0
284
+ test:
285
+ commands:
286
+ - gcc --version
287
+
288
+ - name: conda-gcc-specs
289
+ script: install-conda-specs.sh
290
+ build:
291
+ number: {{ build_num }}
292
+ skip: true # [cross_target_platform != target_platform]
293
+ detect_binary_files_with_prefix: false
294
+ requirements:
295
+ build:
296
+ run:
297
+ - {{ pin_subpackage("gcc_impl_" ~ cross_target_platform, max_pin='x.x.x.x') }}
298
+ test:
299
+ files:
300
+ - tests
301
+ commands:
302
+ - specdir=$PREFIX/lib/gcc/{{ TARGET }}/{{ gcc_version }}
303
+ - test -f $specdir/conda.specs
304
+ - CC=$(${PREFIX}/bin/*-gcc -dumpmachine)-gcc
305
+ - echo | ${CC} -E -v -x c - |& grep '^Reading specs from' | awk '{print $NF}' | xargs readlink -e | awk -v ORS= '{print $1":"}' | grep "${specdir}/specs:${specdir}/conda.specs:" # [linux]
306
+ - cp tests/libhowdy.h $PREFIX/include/
307
+ - ${CC} -shared -fpic -o $PREFIX/lib/libhowdy.so tests/libhowdy.c
308
+ - ${CC} -o howdy-dso tests/howdy-dso.c -lhowdy
309
+ - ./howdy-dso
310
+ - grep RPATH <({{ TARGET }}-readelf -d howdy-dso) # [linux]
311
+ - "! grep RUNPATH <({{ TARGET }}-readelf -d howdy-dso)" # [linux]
312
+ - ${CC} -Wl,-enable-new-dtags -o howdy-dso-runpath tests/howdy-dso.c -lhowdy # [linux]
313
+ - ./howdy-dso-runpath # [linux]
314
+ - "! grep RPATH <({{ TARGET }}-readelf -d howdy-dso-runpath)" # [linux]
315
+ - grep RUNPATH <({{ TARGET }}-readelf -d howdy-dso-runpath) # [linux]
316
+ - echo | ${CC} -E -Wp,-v -x c - |& awk '/include <\.\.\.> search starts/,/^End of search/ {print}' | tail -n2 | head -n1 | grep "$PREFIX/include" # [linux]
317
+ - echo | ${CC} -isystem "$PREFIX/include" -E -Wp,-v -x c - |& awk '/include <\.\.\.> search starts/, /^End of search/ {print}' | head -n2 | tail -n1 | grep "$PREFIX/include" # [linux]
318
+
319
+ about:
320
+ summary: conda-specific specfile for GNU C/C++ Compiler
321
+ description: |
322
+ When installed, this optional package provides a specfile that
323
+ directs gcc (and g++ or gfortran) to automatically:
324
+ * search for includes in $PREFIX/include
325
+ * link libraries in $PREFIX/lib
326
+ * set RPATH to $PREFIX/lib
327
+ * use RPATH instead of the newer RUNPATH
328
+ This package is intended to aid usability of the compiler
329
+ toolchain as a replacement for system-installed compilers.
330
+ It should not be used in recipes. Use the 'compiler(<lang>)'
331
+ jinja function as described on
332
+ https://conda-forge.org/docs/maintainer/knowledge_base.html#dep-compilers
333
+ home: https://gcc.gnu.org/
334
+ license: GPL-3.0-only WITH GCC-exception-3.1
335
+ doc_url: https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html
336
+
337
+ - name: gxx_impl_{{ cross_target_platform }}
338
+ script: install-g++.sh
339
+ build:
340
+ number: {{ build_num }}
341
+ detect_binary_files_with_prefix: false
342
+ missing_dso_whitelist:
343
+ - "*"
344
+ ignore_run_exports_from:
345
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }}
346
+ requirements:
347
+ build:
348
+ host:
349
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
350
+ # For cpp and crt{i,n}.o
351
+ - {{ pin_subpackage("gcc_impl_" ~ cross_target_platform, exact=True) }}
352
+ - binutils_impl_{{ cross_target_platform }} {{ binutils_version }}.* bootstrap_* # [cross_target_platform not in ("osx-arm64", "osx-64")]
353
+ - {{ pin_subpackage("libstdcxx-devel_" ~ cross_target_platform, exact=True) }} # [cross_target_cxx_stdlib == "libstdcxx"]
354
+ run:
355
+ # For cpp and crt{i,n}.o
356
+ - {{ pin_subpackage("gcc_impl_" ~ cross_target_platform, exact=True) }}
357
+ # not needed due to pinning above but marks this build as using the new sysroots
358
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} # [cross_target_stdlib != "None"]
359
+ - {{ pin_subpackage("libstdcxx-devel_" ~ cross_target_platform, exact=True) }} # [cross_target_cxx_stdlib == "libstdcxx"]
360
+ - libcxx-devel # [cross_target_cxx_stdlib == "libcxx" and target_platform == cross_target_platform]
361
+ - libcxx-headers # [cross_target_cxx_stdlib == "libcxx" and target_platform != cross_target_platform]
362
+ # for C++20 chrono support
363
+ - tzdata
364
+ run_exports:
365
+ # impose this requirement across the build/host boundary
366
+ strong:
367
+ - libstdcxx >={{ gcc_version }} # [cross_target_cxx_stdlib == "libstdcxx"]
368
+ - libcxx # [cross_target_cxx_stdlib == "libcxx"]
369
+ test:
370
+ requires:
371
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
372
+ files:
373
+ - tests
374
+ commands:
375
+ - test -f ${PREFIX}/bin/{{ TARGET }}-g++
376
+ - CXX=$(${PREFIX}/bin/*-gcc -dumpmachine)-g++
377
+ - ${CXX} -Wall tests/aligned_alloc.cpp -c -o cpp_aligned.o --std=c++17 # [cross_target_platform != "win-64"]
378
+ - ${CXX} -Wall cpp_aligned.o -o cpp_aligned --std=c++17 && ./cpp_aligned # [cross_target_platform == target_platform and cross_target_platform != "win-64"]
379
+ - ${CXX} -Wall tests/hello_world.cpp -c -o hello_world.o --std=c++17 -v
380
+ - ${CXX} -Wall hello_world.o -o hello_world --std=c++17 -v
381
+
382
+ # test tzdb integration
383
+ {% if (gcc_maj_ver|int >= 14) and cross_target_cxx_stdlib == "libstdcxx" %}
384
+ - ${CXX} -isystem ${PREFIX}/include --std=c++20 -Wall tests/tzdb-override.cpp -c -o tzdb-override.o -v
385
+ - ${CXX} -isystem ${PREFIX}/include --std=c++20 -Wall tests/tzdb.cpp -c -o tzdb.o -v
386
+ {% if target_platform == cross_target_platform %}
387
+ - ${CXX} tzdb-override.o -o tzdb-override -v && ./tzdb-override
388
+ - ${CXX} tzdb.o -o tzdb -v && ./tzdb
389
+ - strace ./tzdb 2>&1 | grep ${CONDA_PREFIX}/lib/../share/zoneinfo/tzdata.zi
390
+ # also test without any environment activation
391
+ - unset PREFIX
392
+ - unset CONDA_PREFIX
393
+ - ./tzdb
394
+ {% endif %}
395
+ {% endif %}
396
+ about:
397
+ summary: GNU C++ Compiler
398
+ home: https://gcc.gnu.org/
399
+ license: GPL-3.0-only WITH GCC-exception-3.1
400
+
401
+ - name: gxx
402
+ script: install-symlinks.sh
403
+ build:
404
+ skip: true # [target_platform != cross_target_platform]
405
+ requirements:
406
+ host:
407
+ - {{ pin_subpackage("gxx_impl_" ~ cross_target_platform, exact=True) }}
408
+ - binutils_impl_{{ cross_target_platform }} {{ binutils_version }}.* bootstrap_* # [cross_target_platform not in ("osx-arm64", "osx-64")]
409
+ - {{ pin_subpackage("gcc", exact=True) }}
410
+ run:
411
+ - {{ pin_subpackage("gxx_impl_" ~ cross_target_platform, exact=True) }}
412
+ - {{ pin_subpackage("gcc", exact=True) }}
413
+ test:
414
+ commands:
415
+ - ${PREFIX}/bin/g++ -v
416
+ - ${PREFIX}/bin/gcc -v
417
+ about:
418
+ summary: GNU C++ native compiler (symlinks)
419
+ home: https://github.com/conda-forge/ctng-compilers-feedstock
420
+ license: BSD-3-Clause
421
+ license_file: LICENSE
422
+
423
+ - name: gfortran_impl_{{ cross_target_platform }}
424
+ script: install-gfortran.sh
425
+ build:
426
+ number: {{ build_num }}
427
+ detect_binary_files_with_prefix: false
428
+ missing_dso_whitelist:
429
+ - "*"
430
+ ignore_run_exports_from:
431
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }}
432
+ requirements:
433
+ build:
434
+ host:
435
+ # For cpp and crt{i,n}.o
436
+ - {{ pin_subpackage("gcc_impl_" ~ cross_target_platform, exact=True) }}
437
+ - binutils_impl_{{ cross_target_platform }} {{ binutils_version }}.* bootstrap_* # [cross_target_platform not in ("osx-arm64", "osx-64")]
438
+ # not needed due to pinning above but marks this build as using the new sysroots
439
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
440
+ run:
441
+ # For cpp and crt{i,n}.o
442
+ - gcc_impl_{{ cross_target_platform }} >={{ gcc_version }}
443
+ - {{ pin_subpackage("libgfortran" ~ libgfortran_soname, max_pin=None) }} # [target_platform == cross_target_platform]
444
+ - {{ pin_subpackage("libgcc", max_pin=None) }} # [target_platform == cross_target_platform]
445
+ - {{ pin_subpackage("libstdcxx", max_pin=None) }} # [target_platform == cross_target_platform and cross_target_cxx_stdlib == "libstdcxx"]
446
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} # [cross_target_stdlib != "None"]
447
+ run_exports:
448
+ # impose this requirement across the build/host boundary
449
+ strong:
450
+ - libgfortran{{ libgfortran_soname }} {{ gcc_version }}.*
451
+ - libgcc >={{ gcc_version }}
452
+ test:
453
+ requires:
454
+ - cmake >=3.11,<4 # [x86_64 or aarch64 or ppc64le]
455
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
456
+ commands:
457
+ {% if cross_target_platform.startswith("linux-") %}
458
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgfortran.so
459
+ {% elif cross_target_platform.startswith("osx-") %}
460
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgfortran.dylib
461
+ {% else %}
462
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgfortran.dll.a
463
+ {% endif %}
464
+ - test -f ${PREFIX}/lib/gcc/{{ TARGET }}/{{ gcc_version }}/libgfortran.a
465
+ - test -f ${PREFIX}/bin/{{ TARGET }}-gfortran
466
+ - find $PREFIX/lib -iname omp_lib.mod | grep '.'
467
+ - find $PREFIX/lib -iname omp_lib.h | grep '.'
468
+ - find $PREFIX/lib -iname ISO_Fortran_binding.h | grep '.'
469
+ - echo {{ gcc_maj_ver }}
470
+ - pushd tests/fortomp
471
+ - sh test_fort.sh # [target_platform == cross_target_platform and (x86_64 or aarch64 or ppc64le)]
472
+ files:
473
+ - tests/fortomp/*
474
+ about:
475
+ summary: GNU Fortran Compiler
476
+ home: https://gcc.gnu.org/
477
+ license: GPL-3.0-only WITH GCC-exception-3.1
478
+
479
+ - name: gfortran
480
+ script: install-symlinks.sh
481
+ build:
482
+ skip: true # [target_platform != cross_target_platform]
483
+ requirements:
484
+ host:
485
+ - {{ pin_subpackage("gfortran_impl_" ~ cross_target_platform, exact=True) }}
486
+ - {{ pin_subpackage("gcc_impl_" ~ cross_target_platform, exact=True) }}
487
+ - binutils_impl_{{ cross_target_platform }} {{ binutils_version }}.* bootstrap_* # [cross_target_platform not in ("osx-arm64", "osx-64")]
488
+ - {{ pin_subpackage("gcc", exact=True) }}
489
+ run:
490
+ - {{ pin_subpackage("gfortran_impl_" ~ cross_target_platform, exact=True) }}
491
+ - {{ pin_subpackage("gcc_impl_" ~ cross_target_platform, exact=True) }}
492
+ - {{ pin_subpackage("gcc", exact=True) }}
493
+ test:
494
+ commands:
495
+ - ${PREFIX}/bin/gfortran -v
496
+ - ${PREFIX}/bin/gcc -v
497
+ about:
498
+ summary: GNU Fortran native compiler (symlinks)
499
+ home: https://github.com/conda-forge/ctng-compilers-feedstock
500
+ license: BSD-3-Clause
501
+ license_file: LICENSE
502
+
503
+ - name: libstdcxx
504
+ target: {{ cross_target_platform }}
505
+ script: install-libstdc++.sh
506
+ build:
507
+ number: {{ build_num }}
508
+ skip: true # [target_platform != cross_target_platform or cross_target_cxx_stdlib != "libstdcxx"]
509
+ detect_binary_files_with_prefix: false
510
+ missing_dso_whitelist:
511
+ - "*"
512
+ requirements:
513
+ build:
514
+ host:
515
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
516
+ - {{ pin_subpackage("libgcc", exact=True) }}
517
+ run:
518
+ - {{ pin_subpackage("libgcc", exact=True) }}
519
+ run_constrained:
520
+ # avoid installing incompatible version of old name for this output
521
+ - libstdcxx-ng =={{ version }}=*_{{ build_num }}
522
+ test:
523
+ commands:
524
+ - test -f ${PREFIX}/lib/libstdc++.so
525
+ about:
526
+ summary: The GNU C++ Runtime Library
527
+ home: https://gcc.gnu.org/
528
+ license: GPL-3.0-only WITH GCC-exception-3.1
529
+
530
+ - name: libsanitizer
531
+ target: {{ cross_target_platform }}
532
+ script: install-libsanitizer.sh
533
+ build:
534
+ number: {{ build_num }}
535
+ skip: true # [target_platform != cross_target_platform or win or osx]
536
+ detect_binary_files_with_prefix: false
537
+ missing_dso_whitelist:
538
+ - "*"
539
+ run_exports:
540
+ - libsanitizer {{ gcc_version }}
541
+ requirements:
542
+ build:
543
+ host:
544
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
545
+ run:
546
+ - libgcc >={{ gcc_version }}
547
+ - libstdcxx >={{ gcc_version }}
548
+ test:
549
+ requires:
550
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} # [cross_target_stdlib != "None"]
551
+ - gcc_impl_{{ cross_target_platform }}
552
+ - binutils_impl_{{ cross_target_platform }} {{ binutils_version }}.* bootstrap_* # [cross_target_platform not in ("osx-arm64", "osx-64")]
553
+ commands:
554
+ - test -f ${PREFIX}/lib/libasan.so
555
+ - test -f ${PREFIX}/lib/libhwasan.so # [x86_64 or aarch64]
556
+ - file ${PREFIX}/bin/{{ TARGET }}-gcc
557
+ - echo 'void main(){}' | {{ TARGET }}-gcc -fsanitize=address -Wl,--fatal-warnings -x c -
558
+ about:
559
+ summary: The GCC runtime libraries for sanitizers
560
+ home: https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html
561
+ license: GPL-3.0-only WITH GCC-exception-3.1
562
+
563
+ - name: libgomp
564
+ target: {{ cross_target_platform }}
565
+ script: install-libgomp.sh
566
+ build:
567
+ number: {{ build_num }}
568
+ skip: true # [target_platform != cross_target_platform or osx]
569
+ detect_binary_files_with_prefix: false
570
+ missing_dso_whitelist:
571
+ - "*"
572
+ run_exports:
573
+ strong:
574
+ - {{ pin_subpackage("_openmp_mutex", max_pin=None) }}
575
+ {% if cross_target_platform.startswith("win-") %}
576
+ - {{ pin_subpackage("libgomp", max_pin=None) }}
577
+ {% endif %}
578
+ requirements:
579
+ build:
580
+ host:
581
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
582
+ run_constrained:
583
+ - msys2-conda-epoch <0.0a0 # [win]
584
+ test:
585
+ requires:
586
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} # [cross_target_stdlib != "None"]
587
+ commands:
588
+ - test -f ${PREFIX}/lib/libgomp.so.{{ libgomp_ver }}
589
+ - test ! -f ${PREFIX}/lib/libgomp.so.{{ libgomp_ver[0:1] }}
590
+ about:
591
+ summary: The GCC OpenMP implementation.
592
+ home: https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html
593
+ license: GPL-3.0-only WITH GCC-exception-3.1
594
+
595
+ - name: libgcc
596
+ target: {{ cross_target_platform }}
597
+ script: install-libgcc-no-gomp.sh
598
+ build:
599
+ number: {{ build_num }}
600
+ skip: true # [target_platform != cross_target_platform]
601
+ detect_binary_files_with_prefix: false
602
+ missing_dso_whitelist:
603
+ - "*"
604
+ rpaths_patcher: patchelf
605
+ requirements:
606
+ build:
607
+ host:
608
+ - {{ pin_subpackage("libgomp", exact=True) }} # [not osx]
609
+ - {{ pin_subpackage('_openmp_mutex', exact=True) }} # [not osx]
610
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
611
+ run:
612
+ - {{ pin_subpackage("_openmp_mutex", max_pin=None) }} # [not osx]
613
+ - _openmp_mutex # [osx]
614
+ run_constrained:
615
+ - {{ pin_subpackage("libgomp", exact=True) }}
616
+ - msys2-conda-epoch <0.0a0 # [win]
617
+ # avoid installing incompatible version of old name for this output
618
+ - libgcc-ng =={{ version }}=*_{{ build_num }}
619
+ test:
620
+ requires:
621
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} # [cross_target_stdlib != "None"]
622
+ commands:
623
+ - test -f ${PREFIX}/lib/libgcc_s.so # [linux]
624
+ - test -f ${PREFIX}/lib/libgcc_s.1.dylib # [osx]
625
+ - test -f ${PREFIX}/lib/libgomp.so.{{ libgomp_ver[0:1] }} # [linux]
626
+ - test `readlink ${PREFIX}/lib/libgomp.so.{{ libgomp_ver[0:1] }}` == "libgomp.so.{{ libgomp_ver }}" # [linux]
627
+ - test `readlink ${PREFIX}/lib/libgomp.so.{{ libgomp_ver[0:1] }}` == "libgomp.so.{{ libgomp_ver }}" # [linux]
628
+ about:
629
+ summary: The GCC low-level runtime library
630
+ home: https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html
631
+ license: GPL-3.0-only WITH GCC-exception-3.1
632
+
633
+ - name: _openmp_mutex
634
+ script: install-openmp_impl.sh
635
+ version: {{ openmp_ver }}
636
+ build:
637
+ # have higher priority than llvm
638
+ string: 20_gnu
639
+ number: 20
640
+ skip: true # [target_platform != cross_target_platform or osx]
641
+ run_exports:
642
+ strong:
643
+ - {{ pin_subpackage("_openmp_mutex", max_pin=None) }}
644
+ requirements:
645
+ build:
646
+ host:
647
+ - {{ pin_subpackage('libgomp', exact=True) }}
648
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
649
+ run:
650
+ - libgomp >=7.5.0
651
+ run_constrained:
652
+ # conflict with previous name
653
+ - openmp_impl <0.0a0
654
+ - msys2-conda-epoch <0.0a0 # [win]
655
+ test:
656
+ commands:
657
+ - test -f ${PREFIX}/lib/libgomp.so.{{ libgomp_ver[0:1] }}
658
+ - test `readlink ${PREFIX}/lib/libgomp.so.{{ libgomp_ver[0:1] }}` == "libgomp.so.{{ libgomp_ver }}"
659
+ about:
660
+ summary: OpenMP Implementation Mutex
661
+ license: BSD-3-Clause
662
+ license_file: LICENSE
663
+ home: https://github.com/conda-forge/ctng-compilers-feedstock
664
+
665
+ - name: libgfortran{{ libgfortran_soname }}
666
+ target: {{ cross_target_platform }}
667
+ script: install-libgfortran.sh
668
+ build:
669
+ number: {{ build_num }}
670
+ skip: true # [target_platform != cross_target_platform]
671
+ detect_binary_files_with_prefix: false
672
+ missing_dso_whitelist:
673
+ - "*"
674
+ requirements:
675
+ build:
676
+ host:
677
+ - {{ cross_target_stdlib }}_{{ cross_target_platform }} {{ cross_target_stdlib_version }} # [cross_target_stdlib != "None"]
678
+ run:
679
+ - libgcc >={{ gcc_version }}
680
+ run_constrained:
681
+ - libgfortran {{ gcc_version }}
682
+ test:
683
+ commands:
684
+ - test -f ${PREFIX}/lib/libgfortran${SHLIB_EXT}
685
+ about:
686
+ summary: The GNU Fortran Runtime Library
687
+ home: https://gcc.gnu.org/
688
+ license: GPL-3.0-only WITH GCC-exception-3.1
689
+
690
+ - name: libgfortran
691
+ target: {{ cross_target_platform }}
692
+ build:
693
+ skip: true # [target_platform != cross_target_platform]
694
+ number: {{ build_num }}
695
+ requirements:
696
+ run:
697
+ - {{ pin_subpackage('libgfortran' ~ libgfortran_soname, exact=True) }}
698
+ run_constrained:
699
+ # avoid installing incompatible version of old name for this output
700
+ - libgfortran-ng =={{ version }}=*_{{ build_num }}
701
+ test:
702
+ commands:
703
+ - test -f ${PREFIX}/lib/libgfortran${SHLIB_EXT}
704
+ about:
705
+ summary: The GNU Fortran Runtime Library
706
+ home: https://gcc.gnu.org/
707
+ license: GPL-3.0-only WITH GCC-exception-3.1
708
+
709
+ # compatibility outputs for previous naming of the runtime libraries
710
+ # with "-ng" suffix; for windows the suffix had never been introduced
711
+ {% if cross_target_platform.startswith("linux-") %}
712
+ - name: libgcc-ng
713
+ target: {{ cross_target_platform }}
714
+ build:
715
+ number: {{ build_num }}
716
+ skip: true # [target_platform != cross_target_platform]
717
+ run_exports:
718
+ strong:
719
+ - libgcc
720
+ requirements:
721
+ host:
722
+ - {{ pin_subpackage("libgcc", exact=True) }}
723
+ run:
724
+ - {{ pin_subpackage("libgcc", exact=True) }}
725
+ test:
726
+ commands:
727
+ - echo "empty wrapper for compatibility with previous naming"
728
+ about:
729
+ summary: The GCC low-level runtime library
730
+ home: https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html
731
+ license: GPL-3.0-only WITH GCC-exception-3.1
732
+
733
+ - name: libstdcxx-ng
734
+ target: {{ cross_target_platform }}
735
+ script: install-libstdc++.sh
736
+ build:
737
+ number: {{ build_num }}
738
+ skip: true # [target_platform != cross_target_platform or cross_target_cxx_stdlib != "libstdcxx"]
739
+ run_exports:
740
+ strong:
741
+ - libstdcxx
742
+ requirements:
743
+ host:
744
+ - {{ pin_subpackage("libstdcxx", exact=True) }}
745
+ run:
746
+ - {{ pin_subpackage("libstdcxx", exact=True) }}
747
+ test:
748
+ commands:
749
+ - echo "empty wrapper for compatibility with previous naming"
750
+ about:
751
+ summary: The GNU C++ Runtime Library
752
+ home: https://gcc.gnu.org/
753
+ license: GPL-3.0-only WITH GCC-exception-3.1
754
+
755
+ - name: libgfortran-ng
756
+ target: {{ cross_target_platform }}
757
+ build:
758
+ number: {{ build_num }}
759
+ skip: true # [target_platform != cross_target_platform]
760
+ run_exports:
761
+ strong:
762
+ - libgfortran
763
+ requirements:
764
+ host:
765
+ - {{ pin_subpackage('libgfortran', exact=True) }}
766
+ run:
767
+ - {{ pin_subpackage('libgfortran', exact=True) }}
768
+ test:
769
+ commands:
770
+ - echo "empty wrapper for compatibility with previous naming"
771
+ about:
772
+ summary: The GNU Fortran Runtime Library
773
+ home: https://gcc.gnu.org/
774
+ license: GPL-3.0-only WITH GCC-exception-3.1
775
+ {% endif %}
776
+
777
+ about:
778
+ summary: GNU Compiler Collection
779
+ home: https://gcc.gnu.org/
780
+ license: GPL-3.0-only WITH GCC-exception-3.1
781
+ license_file:
782
+ - COPYING
783
+ - COPYING.LIB
784
+ - COPYING3
785
+ - COPYING3.LIB
786
+
787
+ extra:
788
+ feedstock-name: ctng-compilers-feedstock
789
+ recipe-maintainers:
790
+ - timsnyder
791
+ - xhochy
792
+ - isuruf
793
+ - beckermr
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/patches/0001-allow-commands-in-main-specfile.patch ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ From 10cf9f22dcb62db55cd2e9cbc587e2ab35a88889 Mon Sep 17 00:00:00 2001
2
+ From: Tim Snyder <snyder.tim@gmail.com>
3
+ Date: Tue, 29 Mar 2022 22:33:27 +0000
4
+ Subject: [PATCH 1/4] allow % commands in main specfile
5
+
6
+ ---
7
+ gcc/gcc.cc | 3 ++-
8
+ 1 file changed, 2 insertions(+), 1 deletion(-)
9
+
10
+ diff --git a/gcc/gcc.cc b/gcc/gcc.cc
11
+ index fc9f1f545dc..28b947c7afd 100644
12
+ --- a/gcc/gcc.cc
13
+ +++ b/gcc/gcc.cc
14
+ @@ -2392,7 +2392,8 @@ read_specs (const char *filename, bool main_p, bool user_p)
15
+ /* Is this a special command that starts with '%'? */
16
+ /* Don't allow this for the main specs file, since it would
17
+ encourage people to overwrite it. */
18
+ - if (*p == '%' && !main_p)
19
+ + /* ::conda-forge:: allow use of commands in main specs */
20
+ + if (*p == '%')
21
+ {
22
+ p1 = p;
23
+ while (*p && *p != '\n')
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/patches/0002-patch-zoneinfo_dir_override-to-point-to-our-tzdata.patch ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ From 92dc5e74592f57dbc9c2b421e2e348d88d3439f6 Mon Sep 17 00:00:00 2001
2
+ From: "H. Vetinari" <h.vetinari@gmx.com>
3
+ Date: Fri, 21 Jun 2024 12:41:07 +1100
4
+ Subject: [PATCH 2/4] patch zoneinfo_dir_override to point to our tzdata
5
+
6
+ ---
7
+ libstdc++-v3/src/c++20/tzdb.cc | 78 ++++++++++++++++++++++++++++------
8
+ 1 file changed, 65 insertions(+), 13 deletions(-)
9
+
10
+ diff --git a/libstdc++-v3/src/c++20/tzdb.cc b/libstdc++-v3/src/c++20/tzdb.cc
11
+ index 72f20e7f828..8d4feb99902 100644
12
+ --- a/libstdc++-v3/src/c++20/tzdb.cc
13
+ +++ b/libstdc++-v3/src/c++20/tzdb.cc
14
+ @@ -37,8 +37,13 @@
15
+ #include <mutex> // mutex
16
+ #include <filesystem> // filesystem::read_symlink
17
+
18
+ -#ifndef _AIX
19
+ -# include <cstdlib> // getenv
20
+ +#if defined(__linux__) || defined(__APPLE__)
21
+ +# include <dlfcn.h> // dladdr
22
+ +# include <cstdlib> // free, malloc, realpath
23
+ +# include <cstring> // memcpy, strlen
24
+ +# include <limits.h> // PATH_MAX
25
+ +#elif defined(_WIN32)
26
+ +# include <windows.h>
27
+ #endif
28
+
29
+ #if defined __GTHREADS && ATOMIC_POINTER_LOCK_FREE == 2
30
+ @@ -64,25 +68,73 @@
31
+
32
+ namespace __gnu_cxx
33
+ {
34
+ -#ifdef _AIX
35
+ - // Cannot override weak symbols on AIX.
36
+ - const char* (*zoneinfo_dir_override)() = nullptr;
37
+ -#else
38
+ - [[gnu::weak]] const char* zoneinfo_dir_override();
39
+ -
40
+ -#if defined(__APPLE__) || defined(__hpux__) \
41
+ - || (defined(__VXWORKS__) && !defined(__RTP__))
42
+ - // Need a weak definition for Mach-O et al.
43
+ [[gnu::weak]] const char* zoneinfo_dir_override()
44
+ {
45
+ +#ifdef _GLIBCXX_SHARED
46
+ + // get path to library we're in, to determine our location relative to $PREFIX;
47
+ + // with help from the MIT-licensed https://github.com/gpakosz/whereami
48
+ + void* addr = __builtin_extract_return_addr(__builtin_return_address(0));
49
+ + char* this_lib;
50
+ + int i;
51
+ + // <string> is included through <chrono>
52
+ + static std::string tz_dir;
53
+ + if (!tz_dir.empty()) {
54
+ + return tz_dir.c_str();
55
+ + }
56
+ +#ifdef _WIN32
57
+ + // we're in %PREFIX%\Library\bin\libstdc++-6.dll
58
+ +# define TO_PREFIX "/../.."
59
+ + // needs single quotes for character (not string) literal
60
+ +# define PATH_SEP '\\'
61
+ + wchar_t buffer[MAX_PATH];
62
+ + HMODULE hm = NULL;
63
+ + // non-zero return means success
64
+ + if (GetModuleHandleEx(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS |
65
+ + GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT,
66
+ + (LPCSTR) addr, &hm)) {
67
+ + // returns length of string (not counting null byte), see
68
+ + // https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-getmodulefilenamew#return-value
69
+ + DWORD total_length = GetModuleFileNameW(hm, buffer, sizeof(buffer));
70
+ + if (total_length) {
71
+ + this_lib = (char*)malloc(total_length + 1);
72
+ + memcpy(this_lib, buffer, total_length);
73
+ +#else
74
+ + // we're in $PREFIX/lib/libstdcxx.so
75
+ +# define TO_PREFIX "/.."
76
+ +# define PATH_SEP '/'
77
+ + char buffer[PATH_MAX];
78
+ + Dl_info info;
79
+ +
80
+ + if (dladdr(addr, &info)) {
81
+ + char* resolved = realpath(info.dli_fname, buffer);
82
+ + if (resolved) {
83
+ + int total_length = (int)strlen(resolved);
84
+ + this_lib = (char*)malloc(total_length + 1);
85
+ + memcpy(this_lib, resolved, total_length);
86
+ +#endif
87
+ +
88
+ + for (i = (int)total_length - 1; i >= 0; --i) {
89
+ + if (this_lib[i] == PATH_SEP) {
90
+ + // set to null byte so the string ends before the basename
91
+ + this_lib[i] = '\0';
92
+ + break;
93
+ + }
94
+ + }
95
+ + tz_dir = {this_lib};
96
+ + tz_dir += TO_PREFIX;
97
+ + tz_dir += "/share/zoneinfo";
98
+ + // std::string constructor for tz_dir deep-copies
99
+ + free(this_lib);
100
+ + return tz_dir.c_str();
101
+ + }
102
+ + }
103
+ +#endif // _GLIBCXX_SHARED
104
+ #ifdef _GLIBCXX_ZONEINFO_DIR
105
+ return _GLIBCXX_ZONEINFO_DIR;
106
+ #else
107
+ return nullptr;
108
+ #endif
109
+ }
110
+ -#endif
111
+ -#endif
112
+ }
113
+
114
+ #if ! defined _GLIBCXX_ZONEINFO_DIR && ! defined _GLIBCXX_STATIC_TZDATA
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/patches/0003-add-ldl-to-libstdc___la_LDFLAGS.patch ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ From c54fd2dea14134d3e51c17ca5442e0ae2dc16462 Mon Sep 17 00:00:00 2001
2
+ From: "H. Vetinari" <h.vetinari@gmx.com>
3
+ Date: Mon, 15 Jul 2024 19:16:05 +1100
4
+ Subject: [PATCH 3/4] add `-ldl` to libstdc___la_LDFLAGS
5
+
6
+ we want to link static-only here, to avoid having to add
7
+ `-ldl` everytime something links against libstdc++.so
8
+
9
+ Co-Authored-By: Isuru Fernando <isuruf@gmail.com>
10
+ ---
11
+ libstdc++-v3/src/Makefile.am | 2 +-
12
+ libstdc++-v3/src/Makefile.in | 2 +-
13
+ 2 files changed, 2 insertions(+), 2 deletions(-)
14
+
15
+ diff --git a/libstdc++-v3/src/Makefile.am b/libstdc++-v3/src/Makefile.am
16
+ index 37ba1491dea..5b69f43ecd8 100644
17
+ --- a/libstdc++-v3/src/Makefile.am
18
+ +++ b/libstdc++-v3/src/Makefile.am
19
+ @@ -161,7 +161,7 @@ libstdc___darwin_rpath += -Wl,-rpath,@loader_path
20
+ endif
21
+
22
+ libstdc___la_LDFLAGS = \
23
+ - -version-info $(libtool_VERSION) ${version_arg} -lm $(libstdc___darwin_rpath)
24
+ + -version-info $(libtool_VERSION) ${version_arg} -lm -Bstatic -ldl -Bdynamic -Wl,--exclude-libs,libdl.a $(libstdc___darwin_rpath)
25
+
26
+ libstdc___la_LINK = $(CXXLINK) $(libstdc___la_LDFLAGS) $(lt_host_flags)
27
+
28
+ diff --git a/libstdc++-v3/src/Makefile.in b/libstdc++-v3/src/Makefile.in
29
+ index 1bdf0daa88f..ab28e14804e 100644
30
+ --- a/libstdc++-v3/src/Makefile.in
31
+ +++ b/libstdc++-v3/src/Makefile.in
32
+ @@ -566,7 +566,7 @@ libstdc___la_DEPENDENCIES = \
33
+ @ENABLE_DARWIN_AT_RPATH_TRUE@ -Wc,-nodefaultrpaths \
34
+ @ENABLE_DARWIN_AT_RPATH_TRUE@ -Wl,-rpath,@loader_path
35
+ libstdc___la_LDFLAGS = \
36
+ - -version-info $(libtool_VERSION) ${version_arg} -lm $(libstdc___darwin_rpath)
37
+ + -version-info $(libtool_VERSION) ${version_arg} -lm -Bstatic -ldl -Bdynamic -Wl,--exclude-libs,libdl.a $(libstdc___darwin_rpath)
38
+
39
+ libstdc___la_LINK = $(CXXLINK) $(libstdc___la_LDFLAGS) $(lt_host_flags)
40
+ @GLIBCXX_LDBL_ALT128_COMPAT_FALSE@@GLIBCXX_LDBL_COMPAT_TRUE@LTCXXCOMPILE64 = $(LTCXXCOMPILE)
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/patches/0004-Hardcode-HAVE_ALIGNED_ALLOC-1-in-libstdc-v3-configur.patch ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ From 86369ec6c37896394546f3b01f9c447c4f4188ae Mon Sep 17 00:00:00 2001
2
+ From: Nehal J Wani <nehaljw.kkd1@gmail.com>
3
+ Date: Tue, 12 Jun 2018 05:26:24 +0000
4
+ Subject: [PATCH 4/4] Hardcode HAVE_ALIGNED_ALLOC=1 in libstdc++-v3/configure
5
+
6
+ ---
7
+ libstdc++-v3/configure | 16 ++++++++++++++++
8
+ 1 file changed, 16 insertions(+)
9
+
10
+ diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
11
+ index 18053ab7eae..44b6a72f775 100755
12
+ --- a/libstdc++-v3/configure
13
+ +++ b/libstdc++-v3/configure
14
+ @@ -26405,6 +26405,11 @@ _ACEOF
15
+ fi
16
+ done
17
+
18
+ +# The check above works only if aligned_alloc is present as a symbol in libc.so
19
+ +# Since we provide a header only implementation, override the value here
20
+ +cat >>confdefs.h <<_ACEOF
21
+ +#define `$as_echo "HAVE_aligned_alloc" | $as_tr_cpp` 1
22
+ +_ACEOF
23
+
24
+ # For iconv support.
25
+
26
+ @@ -38403,6 +38408,9 @@ _ACEOF
27
+ fi
28
+ done
29
+
30
+ +cat >>confdefs.h <<_ACEOF
31
+ +#define `$as_echo "HAVE_aligned_alloc" | $as_tr_cpp` 1
32
+ +_ACEOF
33
+ ;;
34
+
35
+ *-fuchsia*)
36
+ @@ -42318,6 +42326,10 @@ fi
37
+ done
38
+
39
+
40
+ +cat >>confdefs.h <<_ACEOF
41
+ +#define `$as_echo "HAVE_aligned_alloc" | $as_tr_cpp` 1
42
+ +_ACEOF
43
+ +
44
+ ;;
45
+ *-mingw32*)
46
+
47
+ @@ -45924,6 +45936,10 @@ _ACEOF
48
+ fi
49
+ done
50
+
51
+ +cat >>confdefs.h <<_ACEOF
52
+ +#define `$as_echo "HAVE_aligned_alloc" | $as_tr_cpp` 1
53
+ +_ACEOF
54
+ +
55
+ ;;
56
+ *-qnx6.1* | *-qnx6.2*)
57
+ SECTION_FLAGS='-ffunction-sections -fdata-sections'
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/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/_openmp_mutex-4.5-20_gnu/info/recipe/parent/setup_compiler.sh ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ source $RECIPE_DIR/get_cpu_arch.sh
4
+
5
+ export SDKROOT=${CONDA_BUILD_SYSROOT}
6
+ unset CONDA_BUILD_SYSROOT
7
+
8
+ extra_pkgs=()
9
+
10
+ export CF_PREFIX=$SRC_DIR/cf-compilers
11
+
12
+ if [[ ! -d ${SRC_DIR}/cf-compilers ]]; then
13
+ if [[ "$build_platform" != "$target_platform" ]]; then
14
+ # we need a compiler to target cross_target_platform.
15
+ # when build_platform == target_platform, the compiler
16
+ # just built can be used.
17
+ # when build_platform != target_platform, the compiler
18
+ # just built cannot be used, hence we need one that
19
+ # can be used.
20
+ extra_pkgs+=(
21
+ "gcc_impl_${cross_target_platform}=${gcc_version}"
22
+ "gxx_impl_${cross_target_platform}=${gcc_version}"
23
+ "gfortran_impl_${cross_target_platform}=${gcc_version}"
24
+ )
25
+ fi
26
+ if [[ "${cross_target_platform}" != "osx-"* ]]; then
27
+ extra_pkgs+=(
28
+ "binutils_impl_${cross_target_platform}=${binutils_version}"
29
+ "${cross_target_stdlib}_${cross_target_platform}=${cross_target_stdlib_version}"
30
+ )
31
+ else
32
+ extra_pkgs+=(
33
+ "clang"
34
+ "clangxx"
35
+ "cctools_${cross_target_platform}"
36
+ "ld64_${cross_target_platform}"
37
+ )
38
+ fi
39
+ if [[ "${build_platform}" == "osx-"* ]]; then
40
+ extra_pkgs+=(
41
+ "make"
42
+ )
43
+ fi
44
+ # Remove conda-forge/label/sysroot-with-crypt when GCC < 14 is dropped
45
+ conda create -p ${CF_PREFIX} -c conda-forge/label/gcc-experimental -c conda-forge/label/sysroot-with-crypt -c conda-forge --use-local --yes --quiet \
46
+ "gcc_impl_${build_platform}" \
47
+ "gxx_impl_${build_platform}" \
48
+ "gfortran_impl_${build_platform}" \
49
+ "gcc_impl_${target_platform}" \
50
+ "gxx_impl_${target_platform}" \
51
+ "gfortran_impl_${target_platform}" \
52
+ "${c_stdlib}_${target_platform}=${c_stdlib_version}" \
53
+ gnuconfig \
54
+ ${extra_pkgs[@]}
55
+
56
+ if [[ "${TARGET}" == *darwin* ]]; then
57
+ CONDA_OVERRIDE_OSX=15.5 CONDA_SUBDIR="${cross_target_platform}" conda create -p $SRC_DIR/cf-compilers-target -c conda-forge/label/sysroot-with-crypt -c conda-forge --use-local --yes --quiet libcxx-devel
58
+ mkdir -p ${CF_PREFIX}/${TARGET}/lib
59
+ ln -sf $SRC_DIR/cf-compilers-target/lib/libc++* ${CF_PREFIX}/${TARGET}/lib
60
+
61
+ fi
62
+ if [[ "${HOST}" == *darwin* && "${HOST}" != "${TARGET}" ]]; then
63
+ CONDA_OVERRIDE_OSX=15.5 CONDA_SUBDIR="${target_platform}" conda create -p $SRC_DIR/cf-compilers-host -c conda-forge/label/sysroot-with-crypt -c conda-forge --use-local --yes --quiet libcxx-devel
64
+ mkdir -p ${CF_PREFIX}/${HOST}/lib
65
+ ln -sf $SRC_DIR/cf-compilers-host/lib/libc++* ${CF_PREFIX}/${HOST}/lib
66
+ fi
67
+ if [[ "${TARGET}" == *darwin* && ! -f "${CF_PREFIX}/bin/${TARGET}-clang" ]]; then
68
+ ln -sf "${CF_PREFIX}/bin/clang" "${CF_PREFIX}/bin/${TARGET}-clang"
69
+ fi
70
+ if [[ "${TARGET}" == *darwin* && ! -f "${CF_PREFIX}/bin/${TARGET}-clang++" ]]; then
71
+ ln -sf "${CF_PREFIX}/bin/${TARGET}-clang" "${CF_PREFIX}/bin/${TARGET}-clang++"
72
+ fi
73
+ if [[ "${HOST}" == *darwin* && ! -f "${CF_PREFIX}/bin/${HOST}-clang" ]]; then
74
+ ln -sf "${CF_PREFIX}/bin/clang" "${CF_PREFIX}/bin/${HOST}-clang"
75
+ fi
76
+ if [[ "${HOST}" == *darwin* && ! -f "${CF_PREFIX}/bin/${HOST}-clang++" ]]; then
77
+ ln -sf "${CF_PREFIX}/bin/${HOST}-clang" "${CF_PREFIX}/bin/${HOST}-clang++"
78
+ fi
79
+ if [[ "${BUILD}" == *darwin* && ! -f "${CF_PREFIX}/bin/${BUILD}-clang" ]]; then
80
+ ln -sf "${CF_PREFIX}/bin/clang" "${CF_PREFIX}/bin/${BUILD}-clang"
81
+ fi
82
+ if [[ "${BUILD}" == *darwin* && ! -f "${CF_PREFIX}/bin/${BUILD}-clang++" ]]; then
83
+ ln -sf "${CF_PREFIX}/bin/${BUILD}-clang" "${CF_PREFIX}/bin/${BUILD}-clang++"
84
+ fi
85
+ fi
86
+
87
+ if [[ "${BUILD_PREFIX}" != "${PREFIX}" ]]; then
88
+ ln -sf ${CF_PREFIX}/${TARGET} ${BUILD_PREFIX}/${TARGET} || true
89
+ ln -sf ${CF_PREFIX}/bin ${BUILD_PREFIX}/bin || true
90
+ ln -sf ${CF_PREFIX}/share ${BUILD_PREFIX}/share || true
91
+ fi
92
+
93
+ export PATH=$SRC_DIR/cf-compilers/bin:$PATH
94
+
95
+ if [[ "$target_platform" == "win-"* && "${PREFIX}" != *Library ]]; then
96
+ export PREFIX=${PREFIX}/Library
97
+ fi
98
+
99
+ if [[ "$target_platform" == "win-64" ]]; then
100
+ EXEEXT=".exe"
101
+ else
102
+ EXEEXT=""
103
+ fi
104
+ SYSROOT_DIR=${PREFIX}/${TARGET}/sysroot
105
+
106
+ if [[ "$target_platform" == "osx-"* ]]; then
107
+ STRIP_ARGS=""
108
+ else
109
+ STRIP_ARGS="--strip-all"
110
+ fi
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/aligned_alloc.c ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ #include <stdio.h>
2
+ #include <stdlib.h>
3
+
4
+ int main(void)
5
+ {
6
+ int *p2 = (int*)aligned_alloc(1024, 1024*sizeof *p2);
7
+ printf("1024-byte aligned addr: %p\n", (void*)p2);
8
+ free(p2);
9
+ }
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/aligned_alloc.cpp ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #include <cstdio>
2
+ #include <cstdlib>
3
+ #include <cstdint>
4
+ //#include <stdlib.h>
5
+
6
+ int main(void)
7
+ {
8
+ /// int *p2 = (int*)memalign(1024, 1024 * sizeof *p2);
9
+ int *p2;
10
+ int err = posix_memalign((void**)&p2, 1024, sizeof *p2);
11
+ printf("1024-byte aligned addr: %p\n", (void*)p2);
12
+ free(p2);
13
+ p2 = (int*)std::aligned_alloc(1024, 1);
14
+ printf("1024-byte aligned addr: %p\n", (void*)p2);
15
+ std::free(p2);
16
+ p2 = (int*)aligned_alloc(1024, 1024);
17
+ printf("1024-byte aligned addr: %p\n", (void*)p2);
18
+ }
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/fortomp/CMakeLists.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
2
+ project(fortomp
3
+ LANGUAGES Fortran)
4
+
5
+ find_package(OpenMP REQUIRED)
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/fortomp/hello.f90 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ program hello
2
+ print *, "Hello World! I can compile FORTRAN."
3
+ end program hello
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/fortomp/maths.f90 ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ program maths
2
+ use, intrinsic :: ieee_arithmetic
3
+ use omp_lib
4
+ implicit none
5
+
6
+ real(8) :: x = 2.0_8
7
+ complex :: z = (1.0, 2.0)
8
+ integer, parameter :: n = 4567
9
+ integer :: i
10
+ real :: f(n)
11
+
12
+ ! Check that large reals and libquadmath work
13
+ integer, parameter :: k1 = &
14
+ max(selected_real_kind(precision(0.d0) + 1), kind(0.))
15
+ integer, parameter :: k2 = &
16
+ max(selected_real_kind(precision(0._k1) + 1), kind(0.d0))
17
+ real(kind=k1) :: x1
18
+ real(kind=k2) :: x2
19
+
20
+ ! Test intrinsic modules also
21
+ x1 = ieee_value(x1, ieee_positive_inf)
22
+ print *, "infinite is:", sqrt(x1)
23
+ x2 = ieee_value(x2, ieee_positive_inf)
24
+ print *, "infinite is:", sqrt(x2)
25
+
26
+ x = sqrt(x)
27
+ z = sqrt(z)
28
+
29
+ do i = 1, n
30
+ f(i) = i
31
+ enddo
32
+
33
+ !$OMP PARALLEL SHARED(f) PRIVATE(i)
34
+
35
+ !$omp master
36
+ print *, "number of threads:", omp_get_num_threads()
37
+ !$omp end master
38
+
39
+ !$OMP DO
40
+ do i = 1, n
41
+ f(i) = sqrt(f(i))
42
+ enddo
43
+ !$OMP END DO NOWAIT
44
+ !$OMP END PARALLEL
45
+
46
+ print *, "sqrt(2):", f(2)
47
+ end program maths
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/fortomp/omp-threadprivate.f90 ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ! @@name: threadprivate.5f
2
+ ! @@type: F-fixed
3
+ ! @@compilable: yes
4
+ ! @@linkable: yes
5
+ ! @@expect: success
6
+ PROGRAM INC_GOOD2
7
+ INTEGER, ALLOCATABLE, SAVE :: A(:)
8
+ INTEGER, POINTER, SAVE :: PTR
9
+ INTEGER, SAVE :: I
10
+ INTEGER, TARGET :: TARG
11
+ LOGICAL :: FIRSTIN = .TRUE.
12
+ !$OMP THREADPRIVATE(A, I, PTR)
13
+
14
+ ALLOCATE (A(3))
15
+ A = (/1,2,3/)
16
+ PTR => TARG
17
+ I = 5
18
+
19
+ !$OMP PARALLEL COPYIN(I, PTR)
20
+ !$OMP CRITICAL
21
+ IF (FIRSTIN) THEN
22
+ TARG = 4 ! Update target of ptr
23
+ I = I + 10
24
+ IF (ALLOCATED(A)) A = A + 10
25
+ FIRSTIN = .FALSE.
26
+ END IF
27
+
28
+ IF (ALLOCATED(A)) THEN
29
+ PRINT *, 'a = ', A
30
+ ELSE
31
+ PRINT *, 'A is not allocated'
32
+ END IF
33
+
34
+ PRINT *, 'ptr = ', PTR
35
+ PRINT *, 'i = ', I
36
+ PRINT *
37
+
38
+ !$OMP END CRITICAL
39
+ !$OMP END PARALLEL
40
+ END PROGRAM INC_GOOD2
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/fortomp/test_fort.sh ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GFORTRAN=$(${PREFIX}/bin/*-gcc -dumpmachine)-gfortran
2
+ FFLAGS="-fopenmp -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe"
3
+
4
+ cmake \
5
+ -H${SRC_DIR} \
6
+ -Bbuild \
7
+ -DCMAKE_INSTALL_PREFIX=${PREFIX} \
8
+ -DCMAKE_BUILD_TYPE=Release \
9
+ -DCMAKE_Fortran_COMPILER=${GFORTRAN} \
10
+ -DCMAKE_Fortran_FLAGS="${FFLAGS}" \
11
+ .
12
+
13
+ if [[ "${target_platform}" == "${build_platform}" ]]; then
14
+ "${PREFIX}/bin/${TARGET}-gfortran" -o hello hello.f90 -v
15
+ if [[ "${cross_target_platform}" == "${build_platform}" ]]; then
16
+ ./hello
17
+ fi
18
+ rm -f hello
19
+
20
+ "${PREFIX}/bin/${TARGET}-gfortran" -O3 -fopenmp -ffast-math -o maths maths.f90 -v
21
+ if [[ "${cross_target_platform}" == "${build_platform}" ]]; then
22
+ ./maths
23
+ fi
24
+ rm -f maths
25
+
26
+ "${PREFIX}/bin/${TARGET}-gfortran" -fopenmp -o omp-threadprivate omp-threadprivate.f90 -v
27
+ if [[ "${cross_target_platform}" == "${build_platform}" ]]; then
28
+ ./omp-threadprivate
29
+ fi
30
+ rm -f omp-threadprivate
31
+
32
+ ${TARGET}-gfortran -v
33
+ ${TARGET}-gfortran -E -dM - </dev/null
34
+ fi
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/hello_world.c ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ #include <stdio.h>
2
+
3
+ int main() {
4
+ printf("hello world!\n");
5
+ }
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/hello_world.cpp ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #include <iostream>
2
+
3
+ int main(void)
4
+ {
5
+ std::cout << "hello world!" << std::endl;
6
+ }
data/miniconda3/pkgs/_openmp_mutex-4.5-20_gnu/info/recipe/parent/tests/howdy-dso.c ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #include <libhowdy.h>
2
+
3
+ int main(void) {
4
+ howdy();
5
+ return 0;
6
+ }