MNghia commited on
Commit
563c80f
·
verified ·
1 Parent(s): 6be3106

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. lib/clang/14.0.6/include/omp.h +513 -0
  2. lib/cmake/OpenSSL/OpenSSLConfig.cmake +146 -0
  3. lib/cmake/OpenSSL/OpenSSLConfigVersion.cmake +17 -0
  4. lib/cmake/ZeroMQ/ZeroMQConfig.cmake +19 -0
  5. lib/cmake/ZeroMQ/ZeroMQConfigVersion.cmake +10 -0
  6. lib/cmake/libdeflate/libdeflate-targets.cmake +103 -0
  7. lib/cmake/liblzma/liblzma-config-version.cmake +70 -0
  8. lib/cmake/liblzma/liblzma-config.cmake +16 -0
  9. lib/cmake/liblzma/liblzma-targets-release.cmake +19 -0
  10. lib/cmake/liblzma/liblzma-targets.cmake +102 -0
  11. lib/cmake/openjpeg-2.5/OpenJPEGConfig.cmake +74 -0
  12. lib/cmake/openjpeg-2.5/OpenJPEGConfigVersion.cmake +65 -0
  13. lib/cmake/openjpeg-2.5/OpenJPEGTargets-release.cmake +56 -0
  14. lib/cmake/openjpeg-2.5/OpenJPEGTargets.cmake +123 -0
  15. lib/cmake/openmp/FindOpenMPTarget.cmake +338 -0
  16. lib/cmake/zstd/zstdConfig.cmake +34 -0
  17. lib/cmake/zstd/zstdConfigVersion.cmake +70 -0
  18. lib/cmake/zstd/zstdTargets-release.cmake +29 -0
  19. lib/cmake/zstd/zstdTargets.cmake +123 -0
  20. lib/pkgconfig/Lerc.pc +12 -0
  21. lib/pkgconfig/expat.pc +13 -0
  22. lib/pkgconfig/formw.pc +19 -0
  23. lib/pkgconfig/freetype2.pc +14 -0
  24. lib/pkgconfig/gmp.pc +11 -0
  25. lib/pkgconfig/gmpxx.pc +12 -0
  26. lib/pkgconfig/gnutls.pc +24 -0
  27. lib/pkgconfig/history.pc +11 -0
  28. lib/pkgconfig/hogweed.pc +19 -0
  29. lib/pkgconfig/lcms2.pc +11 -0
  30. lib/pkgconfig/libavcodec.pc +14 -0
  31. lib/pkgconfig/libavdevice.pc +14 -0
  32. lib/pkgconfig/libavfilter.pc +14 -0
  33. lib/pkgconfig/libavformat.pc +14 -0
  34. lib/pkgconfig/libavresample.pc +14 -0
  35. lib/pkgconfig/libavutil.pc +14 -0
  36. lib/pkgconfig/libcrypto.pc +13 -0
  37. lib/pkgconfig/libdeflate.pc +18 -0
  38. lib/pkgconfig/libffi.pc +11 -0
  39. lib/pkgconfig/libidn2.pc +11 -0
  40. lib/pkgconfig/libjpeg.pc +10 -0
  41. lib/pkgconfig/liblz4.pc +14 -0
  42. lib/pkgconfig/liblzma.pc +16 -0
  43. lib/pkgconfig/libopenjp2.pc +15 -0
  44. lib/pkgconfig/libpng.pc +12 -0
  45. lib/pkgconfig/libpng16.pc +12 -0
  46. lib/pkgconfig/libsharpyuv.pc +11 -0
  47. lib/pkgconfig/libsodium.pc +12 -0
  48. lib/pkgconfig/libssl.pc +11 -0
  49. lib/pkgconfig/libswresample.pc +14 -0
  50. lib/pkgconfig/libswscale.pc +14 -0
lib/clang/14.0.6/include/omp.h ADDED
@@ -0,0 +1,513 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * include/omp.h.var
3
+ */
4
+
5
+
6
+ //===----------------------------------------------------------------------===//
7
+ //
8
+ // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
9
+ // See https://llvm.org/LICENSE.txt for license information.
10
+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
11
+ //
12
+ //===----------------------------------------------------------------------===//
13
+
14
+
15
+ #ifndef __OMP_H
16
+ # define __OMP_H
17
+
18
+ # include <stdlib.h>
19
+ # include <stdint.h>
20
+
21
+ # define KMP_VERSION_MAJOR 5
22
+ # define KMP_VERSION_MINOR 0
23
+ # define KMP_VERSION_BUILD 20140926
24
+ # define KMP_BUILD_DATE "No_Timestamp"
25
+
26
+ # ifdef __cplusplus
27
+ extern "C" {
28
+ # endif
29
+
30
+ # define omp_set_affinity_format ompc_set_affinity_format
31
+ # define omp_get_affinity_format ompc_get_affinity_format
32
+ # define omp_display_affinity ompc_display_affinity
33
+ # define omp_capture_affinity ompc_capture_affinity
34
+
35
+ # if defined(_WIN32)
36
+ # define __KAI_KMPC_CONVENTION __cdecl
37
+ # ifndef __KMP_IMP
38
+ # define __KMP_IMP __declspec(dllimport)
39
+ # endif
40
+ # else
41
+ # define __KAI_KMPC_CONVENTION
42
+ # ifndef __KMP_IMP
43
+ # define __KMP_IMP
44
+ # endif
45
+ # endif
46
+
47
+ /* schedule kind constants */
48
+ typedef enum omp_sched_t {
49
+ omp_sched_static = 1,
50
+ omp_sched_dynamic = 2,
51
+ omp_sched_guided = 3,
52
+ omp_sched_auto = 4,
53
+ omp_sched_monotonic = 0x80000000
54
+ } omp_sched_t;
55
+
56
+ /* set API functions */
57
+ extern void __KAI_KMPC_CONVENTION omp_set_num_threads (int);
58
+ extern void __KAI_KMPC_CONVENTION omp_set_dynamic (int);
59
+ extern void __KAI_KMPC_CONVENTION omp_set_nested (int);
60
+ extern void __KAI_KMPC_CONVENTION omp_set_max_active_levels (int);
61
+ extern void __KAI_KMPC_CONVENTION omp_set_schedule (omp_sched_t, int);
62
+
63
+ /* query API functions */
64
+ extern int __KAI_KMPC_CONVENTION omp_get_num_threads (void);
65
+ extern int __KAI_KMPC_CONVENTION omp_get_dynamic (void);
66
+ extern int __KAI_KMPC_CONVENTION omp_get_nested (void);
67
+ extern int __KAI_KMPC_CONVENTION omp_get_max_threads (void);
68
+ extern int __KAI_KMPC_CONVENTION omp_get_thread_num (void);
69
+ extern int __KAI_KMPC_CONVENTION omp_get_num_procs (void);
70
+ extern int __KAI_KMPC_CONVENTION omp_in_parallel (void);
71
+ extern int __KAI_KMPC_CONVENTION omp_in_final (void);
72
+ extern int __KAI_KMPC_CONVENTION omp_get_active_level (void);
73
+ extern int __KAI_KMPC_CONVENTION omp_get_level (void);
74
+ extern int __KAI_KMPC_CONVENTION omp_get_ancestor_thread_num (int);
75
+ extern int __KAI_KMPC_CONVENTION omp_get_team_size (int);
76
+ extern int __KAI_KMPC_CONVENTION omp_get_thread_limit (void);
77
+ extern int __KAI_KMPC_CONVENTION omp_get_max_active_levels (void);
78
+ extern void __KAI_KMPC_CONVENTION omp_get_schedule (omp_sched_t *, int *);
79
+ extern int __KAI_KMPC_CONVENTION omp_get_max_task_priority (void);
80
+
81
+ /* lock API functions */
82
+ typedef struct omp_lock_t {
83
+ void * _lk;
84
+ } omp_lock_t;
85
+
86
+ extern void __KAI_KMPC_CONVENTION omp_init_lock (omp_lock_t *);
87
+ extern void __KAI_KMPC_CONVENTION omp_set_lock (omp_lock_t *);
88
+ extern void __KAI_KMPC_CONVENTION omp_unset_lock (omp_lock_t *);
89
+ extern void __KAI_KMPC_CONVENTION omp_destroy_lock (omp_lock_t *);
90
+ extern int __KAI_KMPC_CONVENTION omp_test_lock (omp_lock_t *);
91
+
92
+ /* nested lock API functions */
93
+ typedef struct omp_nest_lock_t {
94
+ void * _lk;
95
+ } omp_nest_lock_t;
96
+
97
+ extern void __KAI_KMPC_CONVENTION omp_init_nest_lock (omp_nest_lock_t *);
98
+ extern void __KAI_KMPC_CONVENTION omp_set_nest_lock (omp_nest_lock_t *);
99
+ extern void __KAI_KMPC_CONVENTION omp_unset_nest_lock (omp_nest_lock_t *);
100
+ extern void __KAI_KMPC_CONVENTION omp_destroy_nest_lock (omp_nest_lock_t *);
101
+ extern int __KAI_KMPC_CONVENTION omp_test_nest_lock (omp_nest_lock_t *);
102
+
103
+ /* OpenMP 5.0 Synchronization hints*/
104
+ typedef enum omp_sync_hint_t {
105
+ omp_sync_hint_none = 0,
106
+ omp_lock_hint_none = omp_sync_hint_none,
107
+ omp_sync_hint_uncontended = 1,
108
+ omp_lock_hint_uncontended = omp_sync_hint_uncontended,
109
+ omp_sync_hint_contended = (1<<1),
110
+ omp_lock_hint_contended = omp_sync_hint_contended,
111
+ omp_sync_hint_nonspeculative = (1<<2),
112
+ omp_lock_hint_nonspeculative = omp_sync_hint_nonspeculative,
113
+ omp_sync_hint_speculative = (1<<3),
114
+ omp_lock_hint_speculative = omp_sync_hint_speculative,
115
+ kmp_lock_hint_hle = (1<<16),
116
+ kmp_lock_hint_rtm = (1<<17),
117
+ kmp_lock_hint_adaptive = (1<<18)
118
+ } omp_sync_hint_t;
119
+
120
+ /* lock hint type for dynamic user lock */
121
+ typedef omp_sync_hint_t omp_lock_hint_t;
122
+
123
+ /* hinted lock initializers */
124
+ extern void __KAI_KMPC_CONVENTION omp_init_lock_with_hint(omp_lock_t *, omp_lock_hint_t);
125
+ extern void __KAI_KMPC_CONVENTION omp_init_nest_lock_with_hint(omp_nest_lock_t *, omp_lock_hint_t);
126
+
127
+ /* time API functions */
128
+ extern double __KAI_KMPC_CONVENTION omp_get_wtime (void);
129
+ extern double __KAI_KMPC_CONVENTION omp_get_wtick (void);
130
+
131
+ /* OpenMP 4.0 */
132
+ extern int __KAI_KMPC_CONVENTION omp_get_default_device (void);
133
+ extern void __KAI_KMPC_CONVENTION omp_set_default_device (int);
134
+ extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
135
+ extern int __KAI_KMPC_CONVENTION omp_get_num_devices (void);
136
+ extern int __KAI_KMPC_CONVENTION omp_get_num_teams (void);
137
+ extern int __KAI_KMPC_CONVENTION omp_get_team_num (void);
138
+ extern int __KAI_KMPC_CONVENTION omp_get_cancellation (void);
139
+
140
+ /* OpenMP 4.5 */
141
+ extern int __KAI_KMPC_CONVENTION omp_get_initial_device (void);
142
+ extern void* __KAI_KMPC_CONVENTION omp_target_alloc(size_t, int);
143
+ extern void __KAI_KMPC_CONVENTION omp_target_free(void *, int);
144
+ extern int __KAI_KMPC_CONVENTION omp_target_is_present(const void *, int);
145
+ extern int __KAI_KMPC_CONVENTION omp_target_memcpy(void *, const void *, size_t, size_t, size_t, int, int);
146
+ extern int __KAI_KMPC_CONVENTION omp_target_memcpy_rect(void *, const void *, size_t, int, const size_t *,
147
+ const size_t *, const size_t *, const size_t *, const size_t *, int, int);
148
+ extern int __KAI_KMPC_CONVENTION omp_target_associate_ptr(const void *, const void *, size_t, size_t, int);
149
+ extern int __KAI_KMPC_CONVENTION omp_target_disassociate_ptr(const void *, int);
150
+
151
+ /* OpenMP 5.0 */
152
+ extern int __KAI_KMPC_CONVENTION omp_get_device_num (void);
153
+ typedef void * omp_depend_t;
154
+
155
+ /* OpenMP 5.1 interop */
156
+ typedef intptr_t omp_intptr_t;
157
+
158
+ /* 0..omp_get_num_interop_properties()-1 are reserved for implementation-defined properties */
159
+ typedef enum omp_interop_property {
160
+ omp_ipr_fr_id = -1,
161
+ omp_ipr_fr_name = -2,
162
+ omp_ipr_vendor = -3,
163
+ omp_ipr_vendor_name = -4,
164
+ omp_ipr_device_num = -5,
165
+ omp_ipr_platform = -6,
166
+ omp_ipr_device = -7,
167
+ omp_ipr_device_context = -8,
168
+ omp_ipr_targetsync = -9,
169
+ omp_ipr_first = -9
170
+ } omp_interop_property_t;
171
+
172
+ #define omp_interop_none 0
173
+
174
+ typedef enum omp_interop_rc {
175
+ omp_irc_no_value = 1,
176
+ omp_irc_success = 0,
177
+ omp_irc_empty = -1,
178
+ omp_irc_out_of_range = -2,
179
+ omp_irc_type_int = -3,
180
+ omp_irc_type_ptr = -4,
181
+ omp_irc_type_str = -5,
182
+ omp_irc_other = -6
183
+ } omp_interop_rc_t;
184
+
185
+ typedef enum omp_interop_fr {
186
+ omp_ifr_cuda = 1,
187
+ omp_ifr_cuda_driver = 2,
188
+ omp_ifr_opencl = 3,
189
+ omp_ifr_sycl = 4,
190
+ omp_ifr_hip = 5,
191
+ omp_ifr_level_zero = 6,
192
+ omp_ifr_last = 7
193
+ } omp_interop_fr_t;
194
+
195
+ typedef void * omp_interop_t;
196
+
197
+ /*!
198
+ * The `omp_get_num_interop_properties` routine retrieves the number of implementation-defined properties available for an `omp_interop_t` object.
199
+ */
200
+ extern int __KAI_KMPC_CONVENTION omp_get_num_interop_properties(const omp_interop_t);
201
+ /*!
202
+ * The `omp_get_interop_int` routine retrieves an integer property from an `omp_interop_t` object.
203
+ */
204
+ extern omp_intptr_t __KAI_KMPC_CONVENTION omp_get_interop_int(const omp_interop_t, omp_interop_property_t, int *);
205
+ /*!
206
+ * The `omp_get_interop_ptr` routine retrieves a pointer property from an `omp_interop_t` object.
207
+ */
208
+ extern void * __KAI_KMPC_CONVENTION omp_get_interop_ptr(const omp_interop_t, omp_interop_property_t, int *);
209
+ /*!
210
+ * The `omp_get_interop_str` routine retrieves a string property from an `omp_interop_t` object.
211
+ */
212
+ extern const char * __KAI_KMPC_CONVENTION omp_get_interop_str(const omp_interop_t, omp_interop_property_t, int *);
213
+ /*!
214
+ * The `omp_get_interop_name` routine retrieves a property name from an `omp_interop_t` object.
215
+ */
216
+ extern const char * __KAI_KMPC_CONVENTION omp_get_interop_name(const omp_interop_t, omp_interop_property_t);
217
+ /*!
218
+ * The `omp_get_interop_type_desc` routine retrieves a description of the type of a property associated with an `omp_interop_t` object.
219
+ */
220
+ extern const char * __KAI_KMPC_CONVENTION omp_get_interop_type_desc(const omp_interop_t, omp_interop_property_t);
221
+ /*!
222
+ * The `omp_get_interop_rc_desc` routine retrieves a description of the return code associated with an `omp_interop_t` object.
223
+ */
224
+ extern const char * __KAI_KMPC_CONVENTION omp_get_interop_rc_desc(const omp_interop_t, omp_interop_rc_t);
225
+
226
+ /* OpenMP 5.1 device memory routines */
227
+
228
+ /*!
229
+ * The `omp_target_memcpy_async` routine asynchronously performs a copy between any combination of host and device pointers.
230
+ */
231
+ extern int __KAI_KMPC_CONVENTION omp_target_memcpy_async(void *, const void *, size_t, size_t, size_t, int,
232
+ int, int, omp_depend_t *);
233
+ /*!
234
+ * The `omp_target_memcpy_rect_async` routine asynchronously performs a copy between any combination of host and device pointers.
235
+ */
236
+ extern int __KAI_KMPC_CONVENTION omp_target_memcpy_rect_async(void *, const void *, size_t, int, const size_t *,
237
+ const size_t *, const size_t *, const size_t *, const size_t *, int, int,
238
+ int, omp_depend_t *);
239
+ /*!
240
+ * The `omp_get_mapped_ptr` routine returns the device pointer that is associated with a host pointer for a given device.
241
+ */
242
+ extern void * __KAI_KMPC_CONVENTION omp_get_mapped_ptr(const void *, int);
243
+ extern int __KAI_KMPC_CONVENTION omp_target_is_accessible(const void *, size_t, int);
244
+
245
+ /* kmp API functions */
246
+ extern int __KAI_KMPC_CONVENTION kmp_get_stacksize (void);
247
+ extern void __KAI_KMPC_CONVENTION kmp_set_stacksize (int);
248
+ extern size_t __KAI_KMPC_CONVENTION kmp_get_stacksize_s (void);
249
+ extern void __KAI_KMPC_CONVENTION kmp_set_stacksize_s (size_t);
250
+ extern int __KAI_KMPC_CONVENTION kmp_get_blocktime (void);
251
+ extern int __KAI_KMPC_CONVENTION kmp_get_library (void);
252
+ extern void __KAI_KMPC_CONVENTION kmp_set_blocktime (int);
253
+ extern void __KAI_KMPC_CONVENTION kmp_set_library (int);
254
+ extern void __KAI_KMPC_CONVENTION kmp_set_library_serial (void);
255
+ extern void __KAI_KMPC_CONVENTION kmp_set_library_turnaround (void);
256
+ extern void __KAI_KMPC_CONVENTION kmp_set_library_throughput (void);
257
+ extern void __KAI_KMPC_CONVENTION kmp_set_defaults (char const *);
258
+ extern void __KAI_KMPC_CONVENTION kmp_set_disp_num_buffers (int);
259
+
260
+ /* Intel affinity API */
261
+ typedef void * kmp_affinity_mask_t;
262
+
263
+ extern int __KAI_KMPC_CONVENTION kmp_set_affinity (kmp_affinity_mask_t *);
264
+ extern int __KAI_KMPC_CONVENTION kmp_get_affinity (kmp_affinity_mask_t *);
265
+ extern int __KAI_KMPC_CONVENTION kmp_get_affinity_max_proc (void);
266
+ extern void __KAI_KMPC_CONVENTION kmp_create_affinity_mask (kmp_affinity_mask_t *);
267
+ extern void __KAI_KMPC_CONVENTION kmp_destroy_affinity_mask (kmp_affinity_mask_t *);
268
+ extern int __KAI_KMPC_CONVENTION kmp_set_affinity_mask_proc (int, kmp_affinity_mask_t *);
269
+ extern int __KAI_KMPC_CONVENTION kmp_unset_affinity_mask_proc (int, kmp_affinity_mask_t *);
270
+ extern int __KAI_KMPC_CONVENTION kmp_get_affinity_mask_proc (int, kmp_affinity_mask_t *);
271
+
272
+ /* OpenMP 4.0 affinity API */
273
+ typedef enum omp_proc_bind_t {
274
+ omp_proc_bind_false = 0,
275
+ omp_proc_bind_true = 1,
276
+ omp_proc_bind_master = 2,
277
+ omp_proc_bind_close = 3,
278
+ omp_proc_bind_spread = 4
279
+ } omp_proc_bind_t;
280
+
281
+ extern omp_proc_bind_t __KAI_KMPC_CONVENTION omp_get_proc_bind (void);
282
+
283
+ /* OpenMP 4.5 affinity API */
284
+ extern int __KAI_KMPC_CONVENTION omp_get_num_places (void);
285
+ extern int __KAI_KMPC_CONVENTION omp_get_place_num_procs (int);
286
+ extern void __KAI_KMPC_CONVENTION omp_get_place_proc_ids (int, int *);
287
+ extern int __KAI_KMPC_CONVENTION omp_get_place_num (void);
288
+ extern int __KAI_KMPC_CONVENTION omp_get_partition_num_places (void);
289
+ extern void __KAI_KMPC_CONVENTION omp_get_partition_place_nums (int *);
290
+
291
+ extern void * __KAI_KMPC_CONVENTION kmp_malloc (size_t);
292
+ extern void * __KAI_KMPC_CONVENTION kmp_aligned_malloc (size_t, size_t);
293
+ extern void * __KAI_KMPC_CONVENTION kmp_calloc (size_t, size_t);
294
+ extern void * __KAI_KMPC_CONVENTION kmp_realloc (void *, size_t);
295
+ extern void __KAI_KMPC_CONVENTION kmp_free (void *);
296
+
297
+ extern void __KAI_KMPC_CONVENTION kmp_set_warnings_on(void);
298
+ extern void __KAI_KMPC_CONVENTION kmp_set_warnings_off(void);
299
+
300
+ /* OpenMP 5.0 Tool Control */
301
+ typedef enum omp_control_tool_result_t {
302
+ omp_control_tool_notool = -2,
303
+ omp_control_tool_nocallback = -1,
304
+ omp_control_tool_success = 0,
305
+ omp_control_tool_ignored = 1
306
+ } omp_control_tool_result_t;
307
+
308
+ typedef enum omp_control_tool_t {
309
+ omp_control_tool_start = 1,
310
+ omp_control_tool_pause = 2,
311
+ omp_control_tool_flush = 3,
312
+ omp_control_tool_end = 4
313
+ } omp_control_tool_t;
314
+
315
+ extern int __KAI_KMPC_CONVENTION omp_control_tool(int, int, void*);
316
+
317
+ /* OpenMP 5.0 Memory Management */
318
+ typedef uintptr_t omp_uintptr_t;
319
+
320
+ typedef enum {
321
+ omp_atk_sync_hint = 1,
322
+ omp_atk_alignment = 2,
323
+ omp_atk_access = 3,
324
+ omp_atk_pool_size = 4,
325
+ omp_atk_fallback = 5,
326
+ omp_atk_fb_data = 6,
327
+ omp_atk_pinned = 7,
328
+ omp_atk_partition = 8
329
+ } omp_alloctrait_key_t;
330
+
331
+ typedef enum {
332
+ omp_atv_false = 0,
333
+ omp_atv_true = 1,
334
+ omp_atv_contended = 3,
335
+ omp_atv_uncontended = 4,
336
+ omp_atv_serialized = 5,
337
+ omp_atv_sequential = omp_atv_serialized, // (deprecated)
338
+ omp_atv_private = 6,
339
+ omp_atv_all = 7,
340
+ omp_atv_thread = 8,
341
+ omp_atv_pteam = 9,
342
+ omp_atv_cgroup = 10,
343
+ omp_atv_default_mem_fb = 11,
344
+ omp_atv_null_fb = 12,
345
+ omp_atv_abort_fb = 13,
346
+ omp_atv_allocator_fb = 14,
347
+ omp_atv_environment = 15,
348
+ omp_atv_nearest = 16,
349
+ omp_atv_blocked = 17,
350
+ omp_atv_interleaved = 18
351
+ } omp_alloctrait_value_t;
352
+ #define omp_atv_default ((omp_uintptr_t)-1)
353
+
354
+ typedef struct {
355
+ omp_alloctrait_key_t key;
356
+ omp_uintptr_t value;
357
+ } omp_alloctrait_t;
358
+
359
+ # if defined(_WIN32)
360
+ // On Windows cl and icl do not support 64-bit enum, let's use integer then.
361
+ typedef omp_uintptr_t omp_allocator_handle_t;
362
+ extern __KMP_IMP omp_allocator_handle_t const omp_null_allocator;
363
+ extern __KMP_IMP omp_allocator_handle_t const omp_default_mem_alloc;
364
+ extern __KMP_IMP omp_allocator_handle_t const omp_large_cap_mem_alloc;
365
+ extern __KMP_IMP omp_allocator_handle_t const omp_const_mem_alloc;
366
+ extern __KMP_IMP omp_allocator_handle_t const omp_high_bw_mem_alloc;
367
+ extern __KMP_IMP omp_allocator_handle_t const omp_low_lat_mem_alloc;
368
+ extern __KMP_IMP omp_allocator_handle_t const omp_cgroup_mem_alloc;
369
+ extern __KMP_IMP omp_allocator_handle_t const omp_pteam_mem_alloc;
370
+ extern __KMP_IMP omp_allocator_handle_t const omp_thread_mem_alloc;
371
+ /* Preview of target memory support */
372
+ extern __KMP_IMP omp_allocator_handle_t const llvm_omp_target_host_mem_alloc;
373
+ extern __KMP_IMP omp_allocator_handle_t const llvm_omp_target_shared_mem_alloc;
374
+ extern __KMP_IMP omp_allocator_handle_t const llvm_omp_target_device_mem_alloc;
375
+
376
+ typedef omp_uintptr_t omp_memspace_handle_t;
377
+ extern __KMP_IMP omp_memspace_handle_t const omp_default_mem_space;
378
+ extern __KMP_IMP omp_memspace_handle_t const omp_large_cap_mem_space;
379
+ extern __KMP_IMP omp_memspace_handle_t const omp_const_mem_space;
380
+ extern __KMP_IMP omp_memspace_handle_t const omp_high_bw_mem_space;
381
+ extern __KMP_IMP omp_memspace_handle_t const omp_low_lat_mem_space;
382
+ /* Preview of target memory support */
383
+ extern __KMP_IMP omp_memspace_handle_t const llvm_omp_target_host_mem_space;
384
+ extern __KMP_IMP omp_memspace_handle_t const llvm_omp_target_shared_mem_space;
385
+ extern __KMP_IMP omp_memspace_handle_t const llvm_omp_target_device_mem_space;
386
+ # else
387
+ # if __cplusplus >= 201103
388
+ typedef enum omp_allocator_handle_t : omp_uintptr_t
389
+ # else
390
+ typedef enum omp_allocator_handle_t
391
+ # endif
392
+ {
393
+ omp_null_allocator = 0,
394
+ omp_default_mem_alloc = 1,
395
+ omp_large_cap_mem_alloc = 2,
396
+ omp_const_mem_alloc = 3,
397
+ omp_high_bw_mem_alloc = 4,
398
+ omp_low_lat_mem_alloc = 5,
399
+ omp_cgroup_mem_alloc = 6,
400
+ omp_pteam_mem_alloc = 7,
401
+ omp_thread_mem_alloc = 8,
402
+ /* Preview of target memory support */
403
+ llvm_omp_target_host_mem_alloc = 100,
404
+ llvm_omp_target_shared_mem_alloc = 101,
405
+ llvm_omp_target_device_mem_alloc = 102,
406
+ KMP_ALLOCATOR_MAX_HANDLE = UINTPTR_MAX
407
+ } omp_allocator_handle_t;
408
+ # if __cplusplus >= 201103
409
+ typedef enum omp_memspace_handle_t : omp_uintptr_t
410
+ # else
411
+ typedef enum omp_memspace_handle_t
412
+ # endif
413
+ {
414
+ omp_default_mem_space = 0,
415
+ omp_large_cap_mem_space = 1,
416
+ omp_const_mem_space = 2,
417
+ omp_high_bw_mem_space = 3,
418
+ omp_low_lat_mem_space = 4,
419
+ /* Preview of target memory support */
420
+ llvm_omp_target_host_mem_space = 100,
421
+ llvm_omp_target_shared_mem_space = 101,
422
+ llvm_omp_target_device_mem_space = 102,
423
+ KMP_MEMSPACE_MAX_HANDLE = UINTPTR_MAX
424
+ } omp_memspace_handle_t;
425
+ # endif
426
+ extern omp_allocator_handle_t __KAI_KMPC_CONVENTION omp_init_allocator(omp_memspace_handle_t m,
427
+ int ntraits, omp_alloctrait_t traits[]);
428
+ extern void __KAI_KMPC_CONVENTION omp_destroy_allocator(omp_allocator_handle_t allocator);
429
+
430
+ extern void __KAI_KMPC_CONVENTION omp_set_default_allocator(omp_allocator_handle_t a);
431
+ extern omp_allocator_handle_t __KAI_KMPC_CONVENTION omp_get_default_allocator(void);
432
+ # ifdef __cplusplus
433
+ extern void *__KAI_KMPC_CONVENTION omp_alloc(size_t size, omp_allocator_handle_t a = omp_null_allocator);
434
+ extern void *__KAI_KMPC_CONVENTION omp_aligned_alloc(size_t align, size_t size,
435
+ omp_allocator_handle_t a = omp_null_allocator);
436
+ extern void *__KAI_KMPC_CONVENTION omp_calloc(size_t nmemb, size_t size,
437
+ omp_allocator_handle_t a = omp_null_allocator);
438
+ extern void *__KAI_KMPC_CONVENTION omp_aligned_calloc(size_t align, size_t nmemb, size_t size,
439
+ omp_allocator_handle_t a = omp_null_allocator);
440
+ extern void *__KAI_KMPC_CONVENTION omp_realloc(void *ptr, size_t size,
441
+ omp_allocator_handle_t allocator = omp_null_allocator,
442
+ omp_allocator_handle_t free_allocator = omp_null_allocator);
443
+ extern void __KAI_KMPC_CONVENTION omp_free(void * ptr, omp_allocator_handle_t a = omp_null_allocator);
444
+ # else
445
+ extern void *__KAI_KMPC_CONVENTION omp_alloc(size_t size, omp_allocator_handle_t a);
446
+ extern void *__KAI_KMPC_CONVENTION omp_aligned_alloc(size_t align, size_t size,
447
+ omp_allocator_handle_t a);
448
+ extern void *__KAI_KMPC_CONVENTION omp_calloc(size_t nmemb, size_t size, omp_allocator_handle_t a);
449
+ extern void *__KAI_KMPC_CONVENTION omp_aligned_calloc(size_t align, size_t nmemb, size_t size,
450
+ omp_allocator_handle_t a);
451
+ extern void *__KAI_KMPC_CONVENTION omp_realloc(void *ptr, size_t size, omp_allocator_handle_t allocator,
452
+ omp_allocator_handle_t free_allocator);
453
+ extern void __KAI_KMPC_CONVENTION omp_free(void *ptr, omp_allocator_handle_t a);
454
+ # endif
455
+
456
+ /* OpenMP 5.0 Affinity Format */
457
+ extern void __KAI_KMPC_CONVENTION omp_set_affinity_format(char const *);
458
+ extern size_t __KAI_KMPC_CONVENTION omp_get_affinity_format(char *, size_t);
459
+ extern void __KAI_KMPC_CONVENTION omp_display_affinity(char const *);
460
+ extern size_t __KAI_KMPC_CONVENTION omp_capture_affinity(char *, size_t, char const *);
461
+
462
+ /* OpenMP 5.0 events */
463
+ # if defined(_WIN32)
464
+ // On Windows cl and icl do not support 64-bit enum, let's use integer then.
465
+ typedef omp_uintptr_t omp_event_handle_t;
466
+ # else
467
+ typedef enum omp_event_handle_t { KMP_EVENT_MAX_HANDLE = UINTPTR_MAX } omp_event_handle_t;
468
+ # endif
469
+ extern void __KAI_KMPC_CONVENTION omp_fulfill_event ( omp_event_handle_t event );
470
+
471
+ /* OpenMP 5.0 Pause Resources */
472
+ typedef enum omp_pause_resource_t {
473
+ omp_pause_resume = 0,
474
+ omp_pause_soft = 1,
475
+ omp_pause_hard = 2
476
+ } omp_pause_resource_t;
477
+ extern int __KAI_KMPC_CONVENTION omp_pause_resource(omp_pause_resource_t, int);
478
+ extern int __KAI_KMPC_CONVENTION omp_pause_resource_all(omp_pause_resource_t);
479
+
480
+ extern int __KAI_KMPC_CONVENTION omp_get_supported_active_levels(void);
481
+
482
+ /* OpenMP 5.1 */
483
+ extern void __KAI_KMPC_CONVENTION omp_set_num_teams(int num_teams);
484
+ extern int __KAI_KMPC_CONVENTION omp_get_max_teams(void);
485
+ extern void __KAI_KMPC_CONVENTION omp_set_teams_thread_limit(int limit);
486
+ extern int __KAI_KMPC_CONVENTION omp_get_teams_thread_limit(void);
487
+
488
+ /* OpenMP 5.1 Display Environment */
489
+ extern void omp_display_env(int verbose);
490
+
491
+ # if defined(_OPENMP) && _OPENMP >= 201811
492
+ #pragma omp begin declare variant match(device={kind(host)})
493
+ static inline int omp_is_initial_device(void) { return 1; }
494
+ #pragma omp end declare variant
495
+ #pragma omp begin declare variant match(device={kind(nohost)})
496
+ static inline int omp_is_initial_device(void) { return 0; }
497
+ #pragma omp end declare variant
498
+ # endif
499
+
500
+ # undef __KAI_KMPC_CONVENTION
501
+ # undef __KMP_IMP
502
+
503
+ /* Warning:
504
+ The following typedefs are not standard, deprecated and will be removed in a future release.
505
+ */
506
+ typedef int omp_int_t;
507
+ typedef double omp_wtime_t;
508
+
509
+ # ifdef __cplusplus
510
+ }
511
+ # endif
512
+
513
+ #endif /* __OMP_H */
lib/cmake/OpenSSL/OpenSSLConfig.cmake ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Generated by OpenSSL
2
+
3
+ # Commands may need to know the format version.
4
+ set(CMAKE_IMPORT_FILE_VERSION 1)
5
+
6
+ # Avoid duplicate find_package()
7
+ set(_ossl_expected_targets OpenSSL::Crypto OpenSSL::SSL
8
+ )
9
+ set(_ossl_defined_targets)
10
+ set(_ossl_undefined_targets)
11
+ foreach(t IN LISTS _ossl_expected_targets)
12
+ if(TARGET "${t}")
13
+ LIST(APPEND _ossl_defined_targets "${t}")
14
+ else()
15
+ LIST(APPEND _ossl_undefined_targets "${t}")
16
+ endif()
17
+ endforeach()
18
+ message(DEBUG "_ossl_expected_targets = ${_ossl_expected_targets}")
19
+ message(DEBUG "_ossl_defined_targets = ${_ossl_defined_targets}")
20
+ message(DEBUG "_ossl_undefined_targets = ${_ossl_undefined_targets}")
21
+ if(NOT _ossl_undefined_targets)
22
+ # All targets are defined, we're good, just undo everything and return
23
+ unset(_ossl_expected_targets)
24
+ unset(_ossl_defined_targets)
25
+ unset(_ossl_undefined_targets)
26
+ unset(CMAKE_IMPORT_FILE_VERSION)
27
+ return()
28
+ endif()
29
+ if(_ossl_defined_targets)
30
+ # We have a mix of defined and undefined targets. This is hard to reconcile,
31
+ # and probably the result of another config, or FindOpenSSL.cmake having been
32
+ # called, or whatever. Therefore, the best course of action is to quit with a
33
+ # hard error.
34
+ message(FATAL_ERROR "Some targets defined, others not:\nNot defined: ${_ossl_undefined_targets}\nDefined: ${_ossl_defined_targets}")
35
+ endif()
36
+ unset(_ossl_expected_targets)
37
+ unset(_ossl_defined_targets)
38
+ unset(_ossl_undefined_targets)
39
+
40
+
41
+ # Set up the import path, so all other import paths are made relative this file
42
+ get_filename_component(_ossl_prefix "${CMAKE_CURRENT_LIST_FILE}" PATH)
43
+ get_filename_component(_ossl_prefix "${_ossl_prefix}" PATH)
44
+ get_filename_component(_ossl_prefix "${_ossl_prefix}" PATH)
45
+ get_filename_component(_ossl_prefix "${_ossl_prefix}" PATH)
46
+
47
+ if(_ossl_prefix STREQUAL "/")
48
+ set(_ossl_prefix "")
49
+ endif()
50
+
51
+
52
+ if(OPENSSL_USE_STATIC_LIBS)
53
+ set(_ossl_use_static_libs True)
54
+ elseif(DEFINED OPENSSL_USE_STATIC_LIBS)
55
+ # We know OPENSSL_USE_STATIC_LIBS is defined and False
56
+ if(_ossl_use_static_libs)
57
+ # OPENSSL_USE_STATIC_LIBS is explicitly false, indicating that shared libraries are
58
+ # required. However, _ossl_use_static_libs indicates that no shared libraries are
59
+ # available. The best course of action is to simply return and leave it to CMake to
60
+ # use another OpenSSL config.
61
+ unset(_ossl_use_static_libs)
62
+ unset(CMAKE_IMPORT_FILE_VERSION)
63
+ return()
64
+ endif()
65
+ endif()
66
+
67
+ # Version, copied from what find_package() gives, for compatibility with FindOpenSSL.cmake
68
+ set(OPENSSL_VERSION "${OpenSSL_VERSION}")
69
+ set(OPENSSL_VERSION_MAJOR "${OpenSSL_VERSION_MAJOR}")
70
+ set(OPENSSL_VERSION_MINOR "${OpenSSL_VERSION_MINOR}")
71
+ set(OPENSSL_VERSION_FIX "${OpenSSL_VERSION_PATCH}")
72
+ set(OPENSSL_FOUND YES)
73
+
74
+ # Directories and names
75
+ set(OPENSSL_LIBRARY_DIR "${_ossl_prefix}/lib")
76
+ set(OPENSSL_INCLUDE_DIR "${_ossl_prefix}/include")
77
+ set(OPENSSL_ENGINES_DIR "${_ossl_prefix}/lib/engines-3")
78
+ set(OPENSSL_MODULES_DIR "${_ossl_prefix}/lib/ossl-modules")
79
+ set(OPENSSL_RUNTIME_DIR "${_ossl_prefix}/bin")
80
+
81
+ set(OPENSSL_PROGRAM "${OPENSSL_RUNTIME_DIR}/openssl")
82
+
83
+ # Set up the imported targets
84
+ if(_ossl_use_static_libs)
85
+
86
+ add_library(OpenSSL::Crypto STATIC IMPORTED)
87
+ add_library(OpenSSL::SSL STATIC IMPORTED)
88
+
89
+ set(OPENSSL_LIBCRYPTO_STATIC "${OPENSSL_LIBRARY_DIR}/libcrypto.a")
90
+ set(OPENSSL_LIBCRYPTO_DEPENDENCIES -ldl -pthread)
91
+ set_target_properties(OpenSSL::Crypto PROPERTIES
92
+ IMPORTED_LINK_INTERFACE_LANGUAGES "C"
93
+ IMPORTED_LOCATION ${OPENSSL_LIBCRYPTO_STATIC})
94
+ set_property(TARGET OpenSSL::Crypto
95
+ PROPERTY INTERFACE_LINK_LIBRARIES ${OPENSSL_LIBCRYPTO_DEPENDENCIES})
96
+
97
+ set(OPENSSL_LIBSSL_STATIC "${OPENSSL_LIBRARY_DIR}/libssl.a")
98
+ set(OPENSSL_LIBSSL_DEPENDENCIES OpenSSL::Crypto)
99
+ set_target_properties(OpenSSL::SSL PROPERTIES
100
+ IMPORTED_LINK_INTERFACE_LANGUAGES "C"
101
+ IMPORTED_LOCATION ${OPENSSL_LIBSSL_STATIC})
102
+ set_property(TARGET OpenSSL::SSL
103
+ PROPERTY INTERFACE_LINK_LIBRARIES ${OPENSSL_LIBSSL_DEPENDENCIES})
104
+
105
+ # Directories and names compatible with CMake's FindOpenSSL.cmake
106
+ set(OPENSSL_CRYPTO_LIBRARY ${OPENSSL_LIBCRYPTO_STATIC})
107
+ set(OPENSSL_CRYPTO_LIBRARIES ${OPENSSL_CRYPTO_LIBRARY} ${OPENSSL_LIBCRYPTO_DEPENDENCIES})
108
+ set(OPENSSL_SSL_LIBRARY ${OPENSSL_LIBSSL_STATIC})
109
+ set(OPENSSL_SSL_LIBRARIES ${OPENSSL_SSL_LIBRARY} ${OPENSSL_LIBSSL_DEPENDENCIES})
110
+ set(OPENSSL_LIBRARIES ${OPENSSL_SSL_LIBRARY} ${OPENSSL_LIBSSL_DEPENDENCIES} ${OPENSSL_LIBCRYPTO_DEPENDENCIES})
111
+
112
+ else()
113
+
114
+ add_library(OpenSSL::Crypto SHARED IMPORTED)
115
+ add_library(OpenSSL::SSL SHARED IMPORTED)
116
+
117
+ # Dependencies are assumed to be implied in the shared libraries
118
+ set(OPENSSL_LIBCRYPTO_SHARED "${OPENSSL_LIBRARY_DIR}/libcrypto.so")
119
+ set_target_properties(OpenSSL::Crypto PROPERTIES
120
+ IMPORTED_LINK_INTERFACE_LANGUAGES "C"
121
+ IMPORTED_LOCATION ${OPENSSL_LIBCRYPTO_SHARED})
122
+
123
+ set(OPENSSL_LIBSSL_SHARED "${OPENSSL_LIBRARY_DIR}/libssl.so")
124
+ set_target_properties(OpenSSL::SSL PROPERTIES
125
+ IMPORTED_LINK_INTERFACE_LANGUAGES "C"
126
+ IMPORTED_LOCATION ${OPENSSL_LIBSSL_SHARED})
127
+
128
+ # Directories and names compatible with CMake's FindOpenSSL.cmake
129
+ set(OPENSSL_CRYPTO_LIBRARY ${OPENSSL_LIBCRYPTO_SHARED})
130
+ set(OPENSSL_CRYPTO_LIBRARIES ${OPENSSL_CRYPTO_LIBRARY})
131
+ set(OPENSSL_SSL_LIBRARY ${OPENSSL_LIBSSL_SHARED})
132
+ set(OPENSSL_SSL_LIBRARIES ${OPENSSL_SSL_LIBRARY})
133
+ set(OPENSSL_LIBRARIES ${OPENSSL_SSL_LIBRARIES})
134
+
135
+
136
+ endif()
137
+
138
+ set_target_properties(OpenSSL::Crypto PROPERTIES
139
+ INTERFACE_INCLUDE_DIRECTORIES "${OPENSSL_INCLUDE_DIR}")
140
+ set_target_properties(OpenSSL::SSL PROPERTIES
141
+ INTERFACE_INCLUDE_DIRECTORIES "${OPENSSL_INCLUDE_DIR}")
142
+
143
+
144
+
145
+ unset(_ossl_prefix)
146
+ unset(_ossl_use_static_libs)
lib/cmake/OpenSSL/OpenSSLConfigVersion.cmake ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Generated by OpenSSL
2
+
3
+ set(PACKAGE_VERSION 3.5.2)
4
+
5
+ if(NOT PACKAGE_FIND_VERSION)
6
+ # find_package() was called without any version information. This is assumed to
7
+ # mean that the caller accepts whatever they get.
8
+ set(PACKAGE_VERSION_COMPATIBLE 1)
9
+ elseif(PACKAGE_FIND_VERSION_MAJOR LESS 3
10
+ OR PACKAGE_FIND_VERSION VERSION_GREATER 3.5.2)
11
+ set(PACKAGE_VERSION_UNSUITABLE 1)
12
+ else()
13
+ set(PACKAGE_VERSION_COMPATIBLE 1)
14
+ if(PACKAGE_FIND_VERSION VERSION_EQUAL 3.5.2)
15
+ set(PACKAGE_VERSION_EXACT 1)
16
+ endif()
17
+ endif()
lib/cmake/ZeroMQ/ZeroMQConfig.cmake ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ set(PN ZeroMQ)
2
+ set(_CONDA_PREFIX "/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe")
3
+ set(${PN}_INCLUDE_DIR "${_CONDA_PREFIX}/include")
4
+ set(${PN}_LIBRARY "${_CONDA_PREFIX}/lib/libzmq.so")
5
+ set(${PN}_STATIC_LIBRARY "${_CONDA_PREFIX}/lib/libzmq.a")
6
+ unset(_CONDA_PREFIX)
7
+ set(${PN}_FOUND TRUE)
8
+ # add libzmq-4.3.3 cmake targets
9
+ # only define targets once
10
+ # this file can be loaded multiple times
11
+ if (TARGET libzmq)
12
+ return()
13
+ endif()
14
+ add_library(libzmq SHARED IMPORTED)
15
+ set_property(TARGET libzmq PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${${PN}_INCLUDE_DIR}")
16
+ set_property(TARGET libzmq PROPERTY IMPORTED_LOCATION "${${PN}_LIBRARY}")
17
+ add_library(libzmq-static STATIC IMPORTED "${${PN}_INCLUDE_DIR}")
18
+ set_property(TARGET libzmq-static PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${${PN}_INCLUDE_DIR}")
19
+ set_property(TARGET libzmq-static PROPERTY IMPORTED_LOCATION "${${PN}_STATIC_LIBRARY}")
lib/cmake/ZeroMQ/ZeroMQConfigVersion.cmake ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ set(PACKAGE_VERSION "4.3.5")
2
+ # Check whether the requested PACKAGE_FIND_VERSION is compatible
3
+ if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
4
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
5
+ else()
6
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
7
+ if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
8
+ set(PACKAGE_VERSION_EXACT TRUE)
9
+ endif()
10
+ endif()
lib/cmake/libdeflate/libdeflate-targets.cmake ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Generated by CMake
2
+
3
+ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4
+ message(FATAL_ERROR "CMake >= 2.8.0 required")
5
+ endif()
6
+ if(CMAKE_VERSION VERSION_LESS "2.8.3")
7
+ message(FATAL_ERROR "CMake >= 2.8.3 required")
8
+ endif()
9
+ cmake_policy(PUSH)
10
+ cmake_policy(VERSION 2.8.3...3.24)
11
+ #----------------------------------------------------------------
12
+ # Generated CMake target import file.
13
+ #----------------------------------------------------------------
14
+
15
+ # Commands may need to know the format version.
16
+ set(CMAKE_IMPORT_FILE_VERSION 1)
17
+
18
+ # Protect against multiple inclusion, which would fail when already imported targets are added once more.
19
+ set(_cmake_targets_defined "")
20
+ set(_cmake_targets_not_defined "")
21
+ set(_cmake_expected_targets "")
22
+ foreach(_cmake_expected_target IN ITEMS libdeflate::libdeflate_shared)
23
+ list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
24
+ if(TARGET "${_cmake_expected_target}")
25
+ list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
26
+ else()
27
+ list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
28
+ endif()
29
+ endforeach()
30
+ unset(_cmake_expected_target)
31
+ if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
32
+ unset(_cmake_targets_defined)
33
+ unset(_cmake_targets_not_defined)
34
+ unset(_cmake_expected_targets)
35
+ unset(CMAKE_IMPORT_FILE_VERSION)
36
+ cmake_policy(POP)
37
+ return()
38
+ endif()
39
+ if(NOT _cmake_targets_defined STREQUAL "")
40
+ string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
41
+ string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
42
+ message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
43
+ endif()
44
+ unset(_cmake_targets_defined)
45
+ unset(_cmake_targets_not_defined)
46
+ unset(_cmake_expected_targets)
47
+
48
+
49
+ # Compute the installation prefix relative to this file.
50
+ get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
51
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
52
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
53
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
54
+ if(_IMPORT_PREFIX STREQUAL "/")
55
+ set(_IMPORT_PREFIX "")
56
+ endif()
57
+
58
+ # Create imported target libdeflate::libdeflate_shared
59
+ add_library(libdeflate::libdeflate_shared SHARED IMPORTED)
60
+
61
+ set_target_properties(libdeflate::libdeflate_shared PROPERTIES
62
+ INTERFACE_COMPILE_DEFINITIONS "LIBDEFLATE_DLL"
63
+ INTERFACE_INCLUDE_DIRECTORIES "/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/include"
64
+ )
65
+
66
+ # Load information for each installed configuration.
67
+ file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/libdeflate-targets-*.cmake")
68
+ foreach(_cmake_config_file IN LISTS _cmake_config_files)
69
+ include("${_cmake_config_file}")
70
+ endforeach()
71
+ unset(_cmake_config_file)
72
+ unset(_cmake_config_files)
73
+
74
+ # Cleanup temporary variables.
75
+ set(_IMPORT_PREFIX)
76
+
77
+ # Loop over all imported files and verify that they actually exist
78
+ foreach(_cmake_target IN LISTS _cmake_import_check_targets)
79
+ foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
80
+ if(NOT EXISTS "${_cmake_file}")
81
+ message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
82
+ \"${_cmake_file}\"
83
+ but this file does not exist. Possible reasons include:
84
+ * The file was deleted, renamed, or moved to another location.
85
+ * An install or uninstall procedure did not complete successfully.
86
+ * The installation package was faulty and contained
87
+ \"${CMAKE_CURRENT_LIST_FILE}\"
88
+ but not all the files it references.
89
+ ")
90
+ endif()
91
+ endforeach()
92
+ unset(_cmake_file)
93
+ unset("_cmake_import_check_files_for_${_cmake_target}")
94
+ endforeach()
95
+ unset(_cmake_target)
96
+ unset(_cmake_import_check_targets)
97
+
98
+ # This file does not depend on other imported targets which have
99
+ # been exported from the same project but in a separate export set.
100
+
101
+ # Commands beyond this point should not need to know the version.
102
+ set(CMAKE_IMPORT_FILE_VERSION)
103
+ cmake_policy(POP)
lib/cmake/liblzma/liblzma-config-version.cmake ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This is a basic version file for the Config-mode of find_package().
2
+ # It is used by write_basic_package_version_file() as input file for configure_file()
3
+ # to create a version-file which can be installed along a config.cmake file.
4
+ #
5
+ # The created file sets PACKAGE_VERSION_EXACT if the current version string and
6
+ # the requested version string are exactly the same and it sets
7
+ # PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
8
+ # but only if the requested major version is the same as the current one.
9
+ # The variable CVF_VERSION must be set before calling configure_file().
10
+
11
+
12
+ set(PACKAGE_VERSION "5.6.4")
13
+
14
+ if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
15
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
16
+ else()
17
+
18
+ if("5.6.4" MATCHES "^([0-9]+)\\.")
19
+ set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
20
+ if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
21
+ string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
22
+ endif()
23
+ else()
24
+ set(CVF_VERSION_MAJOR "5.6.4")
25
+ endif()
26
+
27
+ if(PACKAGE_FIND_VERSION_RANGE)
28
+ # both endpoints of the range must have the expected major version
29
+ math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1")
30
+ if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
31
+ OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR)
32
+ OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT)))
33
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
34
+ elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
35
+ AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
36
+ OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
37
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
38
+ else()
39
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
40
+ endif()
41
+ else()
42
+ if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
43
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
44
+ else()
45
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
46
+ endif()
47
+
48
+ if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
49
+ set(PACKAGE_VERSION_EXACT TRUE)
50
+ endif()
51
+ endif()
52
+ endif()
53
+
54
+
55
+ # if the installed project requested no architecture check, don't perform the check
56
+ if("FALSE")
57
+ return()
58
+ endif()
59
+
60
+ # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
61
+ if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
62
+ return()
63
+ endif()
64
+
65
+ # check that the installed version has the same 32/64bit-ness as the one which is currently searching:
66
+ if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
67
+ math(EXPR installedBits "8 * 8")
68
+ set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
69
+ set(PACKAGE_VERSION_UNSUITABLE TRUE)
70
+ endif()
lib/cmake/liblzma/liblzma-config.cmake ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ include(CMakeFindDependencyMacro)
2
+ set(THREADS_PREFER_PTHREAD_FLAG TRUE)
3
+ find_dependency(Threads)
4
+
5
+ include("${CMAKE_CURRENT_LIST_DIR}/liblzma-targets.cmake")
6
+
7
+ if(NOT TARGET LibLZMA::LibLZMA)
8
+ # Be compatible with the spelling used by the FindLibLZMA module. This
9
+ # doesn't use ALIAS because it would make CMake resolve LibLZMA::LibLZMA
10
+ # to liblzma::liblzma instead of keeping the original spelling. Keeping
11
+ # the original spelling is important for good FindLibLZMA compatibility.
12
+ add_library(LibLZMA::LibLZMA INTERFACE IMPORTED)
13
+ set_target_properties(LibLZMA::LibLZMA PROPERTIES
14
+ INTERFACE_LINK_LIBRARIES liblzma::liblzma)
15
+ endif()
16
+
lib/cmake/liblzma/liblzma-targets-release.cmake ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #----------------------------------------------------------------
2
+ # Generated CMake target import file for configuration "Release".
3
+ #----------------------------------------------------------------
4
+
5
+ # Commands may need to know the format version.
6
+ set(CMAKE_IMPORT_FILE_VERSION 1)
7
+
8
+ # Import target "liblzma::liblzma" for configuration "Release"
9
+ set_property(TARGET liblzma::liblzma APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
10
+ set_target_properties(liblzma::liblzma PROPERTIES
11
+ IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/liblzma.so.5.6.4"
12
+ IMPORTED_SONAME_RELEASE "liblzma.so.5"
13
+ )
14
+
15
+ list(APPEND _cmake_import_check_targets liblzma::liblzma )
16
+ list(APPEND _cmake_import_check_files_for_liblzma::liblzma "${_IMPORT_PREFIX}/lib/liblzma.so.5.6.4" )
17
+
18
+ # Commands beyond this point should not need to know the version.
19
+ set(CMAKE_IMPORT_FILE_VERSION)
lib/cmake/liblzma/liblzma-targets.cmake ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Generated by CMake
2
+
3
+ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4
+ message(FATAL_ERROR "CMake >= 2.8.0 required")
5
+ endif()
6
+ if(CMAKE_VERSION VERSION_LESS "2.8.3")
7
+ message(FATAL_ERROR "CMake >= 2.8.3 required")
8
+ endif()
9
+ cmake_policy(PUSH)
10
+ cmake_policy(VERSION 2.8.3...3.23)
11
+ #----------------------------------------------------------------
12
+ # Generated CMake target import file.
13
+ #----------------------------------------------------------------
14
+
15
+ # Commands may need to know the format version.
16
+ set(CMAKE_IMPORT_FILE_VERSION 1)
17
+
18
+ # Protect against multiple inclusion, which would fail when already imported targets are added once more.
19
+ set(_cmake_targets_defined "")
20
+ set(_cmake_targets_not_defined "")
21
+ set(_cmake_expected_targets "")
22
+ foreach(_cmake_expected_target IN ITEMS liblzma::liblzma)
23
+ list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
24
+ if(TARGET "${_cmake_expected_target}")
25
+ list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
26
+ else()
27
+ list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
28
+ endif()
29
+ endforeach()
30
+ unset(_cmake_expected_target)
31
+ if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
32
+ unset(_cmake_targets_defined)
33
+ unset(_cmake_targets_not_defined)
34
+ unset(_cmake_expected_targets)
35
+ unset(CMAKE_IMPORT_FILE_VERSION)
36
+ cmake_policy(POP)
37
+ return()
38
+ endif()
39
+ if(NOT _cmake_targets_defined STREQUAL "")
40
+ string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
41
+ string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
42
+ message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
43
+ endif()
44
+ unset(_cmake_targets_defined)
45
+ unset(_cmake_targets_not_defined)
46
+ unset(_cmake_expected_targets)
47
+
48
+
49
+ # Compute the installation prefix relative to this file.
50
+ get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
51
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
52
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
53
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
54
+ if(_IMPORT_PREFIX STREQUAL "/")
55
+ set(_IMPORT_PREFIX "")
56
+ endif()
57
+
58
+ # Create imported target liblzma::liblzma
59
+ add_library(liblzma::liblzma SHARED IMPORTED)
60
+
61
+ set_target_properties(liblzma::liblzma PROPERTIES
62
+ INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
63
+ )
64
+
65
+ # Load information for each installed configuration.
66
+ file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/liblzma-targets-*.cmake")
67
+ foreach(_cmake_config_file IN LISTS _cmake_config_files)
68
+ include("${_cmake_config_file}")
69
+ endforeach()
70
+ unset(_cmake_config_file)
71
+ unset(_cmake_config_files)
72
+
73
+ # Cleanup temporary variables.
74
+ set(_IMPORT_PREFIX)
75
+
76
+ # Loop over all imported files and verify that they actually exist
77
+ foreach(_cmake_target IN LISTS _cmake_import_check_targets)
78
+ foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
79
+ if(NOT EXISTS "${_cmake_file}")
80
+ message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
81
+ \"${_cmake_file}\"
82
+ but this file does not exist. Possible reasons include:
83
+ * The file was deleted, renamed, or moved to another location.
84
+ * An install or uninstall procedure did not complete successfully.
85
+ * The installation package was faulty and contained
86
+ \"${CMAKE_CURRENT_LIST_FILE}\"
87
+ but not all the files it references.
88
+ ")
89
+ endif()
90
+ endforeach()
91
+ unset(_cmake_file)
92
+ unset("_cmake_import_check_files_for_${_cmake_target}")
93
+ endforeach()
94
+ unset(_cmake_target)
95
+ unset(_cmake_import_check_targets)
96
+
97
+ # This file does not depend on other imported targets which have
98
+ # been exported from the same project but in a separate export set.
99
+
100
+ # Commands beyond this point should not need to know the version.
101
+ set(CMAKE_IMPORT_FILE_VERSION)
102
+ cmake_policy(POP)
lib/cmake/openjpeg-2.5/OpenJPEGConfig.cmake ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #-----------------------------------------------------------------------------
2
+ #
3
+ # OPENJPEGConfig.cmake - CMake configuration file for external projects.
4
+ #
5
+ # This file is configured by OPENJPEG and used by the UseOPENJPEG.cmake
6
+ # module to load OPENJPEG's settings for an external project.
7
+
8
+
9
+ ####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
10
+ ####### Any changes to this file will be overwritten by the next CMake run ####
11
+ ####### The input file was OpenJPEGConfig.cmake.in ########
12
+
13
+ get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
14
+
15
+ macro(set_and_check _var _file)
16
+ set(${_var} "${_file}")
17
+ if(NOT EXISTS "${_file}")
18
+ message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
19
+ endif()
20
+ endmacro()
21
+
22
+ macro(check_required_components _NAME)
23
+ foreach(comp ${${_NAME}_FIND_COMPONENTS})
24
+ if(NOT ${_NAME}_${comp}_FOUND)
25
+ if(${_NAME}_FIND_REQUIRED_${comp})
26
+ set(${_NAME}_FOUND FALSE)
27
+ endif()
28
+ endif()
29
+ endforeach()
30
+ endmacro()
31
+
32
+ ####################################################################################
33
+ # The OPENJPEG version number.
34
+ set(OPENJPEG_MAJOR_VERSION "2")
35
+ set(OPENJPEG_MINOR_VERSION "5")
36
+ set(OPENJPEG_BUILD_VERSION "2")
37
+
38
+ # The libraries.
39
+ set(OPENJPEG_LIBRARIES "openjp2")
40
+
41
+ # The CMake macros dir.
42
+ set(OPENJPEG_CMAKE_DIR "lib/cmake/openjpeg-2.5")
43
+
44
+ # The configuration options.
45
+ set(OPENJPEG_BUILD_SHARED_LIBS "ON")
46
+
47
+ # The "use" file.
48
+ set(OPENJPEG_USE_FILE "")
49
+
50
+ get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
51
+ if(EXISTS ${SELF_DIR}/OpenJPEGTargets.cmake)
52
+ # This is an install tree
53
+ include(${SELF_DIR}/OpenJPEGTargets.cmake)
54
+
55
+ set(INC_DIR "${PACKAGE_PREFIX_DIR}/include/openjpeg-2.5")
56
+ get_filename_component(OPENJPEG_INCLUDE_DIRS "${INC_DIR}" ABSOLUTE)
57
+
58
+ else()
59
+ if(EXISTS ${SELF_DIR}/OpenJPEGExports.cmake)
60
+ # This is a build tree
61
+ set( OPENJPEG_INCLUDE_DIRS )
62
+
63
+ include(${SELF_DIR}/OpenJPEGExports.cmake)
64
+
65
+ else()
66
+ message(FATAL_ERROR "ooops")
67
+ endif()
68
+ endif()
69
+
70
+ set(OPENJPEG_USE_FILE ${SELF_DIR}/UseOPENJPEG.cmake)
71
+
72
+ # Backward compatible part:
73
+ set(OPENJPEG_FOUND TRUE)
74
+
lib/cmake/openjpeg-2.5/OpenJPEGConfigVersion.cmake ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This is a basic version file for the Config-mode of find_package().
2
+ # It is used by write_basic_package_version_file() as input file for configure_file()
3
+ # to create a version-file which can be installed along a config.cmake file.
4
+ #
5
+ # The created file sets PACKAGE_VERSION_EXACT if the current version string and
6
+ # the requested version string are exactly the same and it sets
7
+ # PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
8
+ # but only if the requested major version is the same as the current one.
9
+ # The variable CVF_VERSION must be set before calling configure_file().
10
+
11
+
12
+ set(PACKAGE_VERSION "2.5.2")
13
+
14
+ if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
15
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
16
+ else()
17
+
18
+ if("2.5.2" MATCHES "^([0-9]+)\\.")
19
+ set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
20
+ if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
21
+ string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
22
+ endif()
23
+ else()
24
+ set(CVF_VERSION_MAJOR "2.5.2")
25
+ endif()
26
+
27
+ if(PACKAGE_FIND_VERSION_RANGE)
28
+ # both endpoints of the range must have the expected major version
29
+ math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1")
30
+ if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
31
+ OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR)
32
+ OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT)))
33
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
34
+ elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
35
+ AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
36
+ OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
37
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
38
+ else()
39
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
40
+ endif()
41
+ else()
42
+ if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
43
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
44
+ else()
45
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
46
+ endif()
47
+
48
+ if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
49
+ set(PACKAGE_VERSION_EXACT TRUE)
50
+ endif()
51
+ endif()
52
+ endif()
53
+
54
+
55
+ # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
56
+ if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
57
+ return()
58
+ endif()
59
+
60
+ # check that the installed version has the same 32/64bit-ness as the one which is currently searching:
61
+ if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
62
+ math(EXPR installedBits "8 * 8")
63
+ set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
64
+ set(PACKAGE_VERSION_UNSUITABLE TRUE)
65
+ endif()
lib/cmake/openjpeg-2.5/OpenJPEGTargets-release.cmake ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #----------------------------------------------------------------
2
+ # Generated CMake target import file for configuration "Release".
3
+ #----------------------------------------------------------------
4
+
5
+ # Commands may need to know the format version.
6
+ set(CMAKE_IMPORT_FILE_VERSION 1)
7
+
8
+ # Import target "openjp2" for configuration "Release"
9
+ set_property(TARGET openjp2 APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
10
+ set_target_properties(openjp2 PROPERTIES
11
+ IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libopenjp2.so.2.5.2"
12
+ IMPORTED_SONAME_RELEASE "libopenjp2.so.7"
13
+ )
14
+
15
+ list(APPEND _cmake_import_check_targets openjp2 )
16
+ list(APPEND _cmake_import_check_files_for_openjp2 "${_IMPORT_PREFIX}/lib/libopenjp2.so.2.5.2" )
17
+
18
+ # Import target "openjp2_static" for configuration "Release"
19
+ set_property(TARGET openjp2_static APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
20
+ set_target_properties(openjp2_static PROPERTIES
21
+ IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "C"
22
+ IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libopenjp2.a"
23
+ )
24
+
25
+ list(APPEND _cmake_import_check_targets openjp2_static )
26
+ list(APPEND _cmake_import_check_files_for_openjp2_static "${_IMPORT_PREFIX}/lib/libopenjp2.a" )
27
+
28
+ # Import target "opj_decompress" for configuration "Release"
29
+ set_property(TARGET opj_decompress APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
30
+ set_target_properties(opj_decompress PROPERTIES
31
+ IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/opj_decompress"
32
+ )
33
+
34
+ list(APPEND _cmake_import_check_targets opj_decompress )
35
+ list(APPEND _cmake_import_check_files_for_opj_decompress "${_IMPORT_PREFIX}/bin/opj_decompress" )
36
+
37
+ # Import target "opj_compress" for configuration "Release"
38
+ set_property(TARGET opj_compress APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
39
+ set_target_properties(opj_compress PROPERTIES
40
+ IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/opj_compress"
41
+ )
42
+
43
+ list(APPEND _cmake_import_check_targets opj_compress )
44
+ list(APPEND _cmake_import_check_files_for_opj_compress "${_IMPORT_PREFIX}/bin/opj_compress" )
45
+
46
+ # Import target "opj_dump" for configuration "Release"
47
+ set_property(TARGET opj_dump APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
48
+ set_target_properties(opj_dump PROPERTIES
49
+ IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/opj_dump"
50
+ )
51
+
52
+ list(APPEND _cmake_import_check_targets opj_dump )
53
+ list(APPEND _cmake_import_check_files_for_opj_dump "${_IMPORT_PREFIX}/bin/opj_dump" )
54
+
55
+ # Commands beyond this point should not need to know the version.
56
+ set(CMAKE_IMPORT_FILE_VERSION)
lib/cmake/openjpeg-2.5/OpenJPEGTargets.cmake ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Generated by CMake
2
+
3
+ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4
+ message(FATAL_ERROR "CMake >= 2.8.12 required")
5
+ endif()
6
+ if(CMAKE_VERSION VERSION_LESS "2.8.12")
7
+ message(FATAL_ERROR "CMake >= 2.8.12 required")
8
+ endif()
9
+ cmake_policy(PUSH)
10
+ cmake_policy(VERSION 2.8.12...3.29)
11
+ #----------------------------------------------------------------
12
+ # Generated CMake target import file.
13
+ #----------------------------------------------------------------
14
+
15
+ # Commands may need to know the format version.
16
+ set(CMAKE_IMPORT_FILE_VERSION 1)
17
+
18
+ # Protect against multiple inclusion, which would fail when already imported targets are added once more.
19
+ set(_cmake_targets_defined "")
20
+ set(_cmake_targets_not_defined "")
21
+ set(_cmake_expected_targets "")
22
+ foreach(_cmake_expected_target IN ITEMS openjp2 openjp2_static opj_decompress opj_compress opj_dump)
23
+ list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
24
+ if(TARGET "${_cmake_expected_target}")
25
+ list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
26
+ else()
27
+ list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
28
+ endif()
29
+ endforeach()
30
+ unset(_cmake_expected_target)
31
+ if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
32
+ unset(_cmake_targets_defined)
33
+ unset(_cmake_targets_not_defined)
34
+ unset(_cmake_expected_targets)
35
+ unset(CMAKE_IMPORT_FILE_VERSION)
36
+ cmake_policy(POP)
37
+ return()
38
+ endif()
39
+ if(NOT _cmake_targets_defined STREQUAL "")
40
+ string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
41
+ string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
42
+ message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
43
+ endif()
44
+ unset(_cmake_targets_defined)
45
+ unset(_cmake_targets_not_defined)
46
+ unset(_cmake_expected_targets)
47
+
48
+
49
+ # Compute the installation prefix relative to this file.
50
+ get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
51
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
52
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
53
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
54
+ if(_IMPORT_PREFIX STREQUAL "/")
55
+ set(_IMPORT_PREFIX "")
56
+ endif()
57
+
58
+ # Create imported target openjp2
59
+ add_library(openjp2 SHARED IMPORTED)
60
+
61
+ set_target_properties(openjp2 PROPERTIES
62
+ INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/openjpeg-2.5"
63
+ INTERFACE_LINK_LIBRARIES "m;-lpthread"
64
+ )
65
+
66
+ # Create imported target openjp2_static
67
+ add_library(openjp2_static STATIC IMPORTED)
68
+
69
+ set_target_properties(openjp2_static PROPERTIES
70
+ INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/openjpeg-2.5"
71
+ )
72
+
73
+ # Create imported target opj_decompress
74
+ add_executable(opj_decompress IMPORTED)
75
+
76
+ # Create imported target opj_compress
77
+ add_executable(opj_compress IMPORTED)
78
+
79
+ # Create imported target opj_dump
80
+ add_executable(opj_dump IMPORTED)
81
+
82
+ # Load information for each installed configuration.
83
+ file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/OpenJPEGTargets-*.cmake")
84
+ foreach(_cmake_config_file IN LISTS _cmake_config_files)
85
+ include("${_cmake_config_file}")
86
+ endforeach()
87
+ unset(_cmake_config_file)
88
+ unset(_cmake_config_files)
89
+
90
+ # Cleanup temporary variables.
91
+ set(_IMPORT_PREFIX)
92
+
93
+ # Loop over all imported files and verify that they actually exist
94
+ foreach(_cmake_target IN LISTS _cmake_import_check_targets)
95
+ if(CMAKE_VERSION VERSION_LESS "3.28"
96
+ OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
97
+ OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
98
+ foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
99
+ if(NOT EXISTS "${_cmake_file}")
100
+ message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
101
+ \"${_cmake_file}\"
102
+ but this file does not exist. Possible reasons include:
103
+ * The file was deleted, renamed, or moved to another location.
104
+ * An install or uninstall procedure did not complete successfully.
105
+ * The installation package was faulty and contained
106
+ \"${CMAKE_CURRENT_LIST_FILE}\"
107
+ but not all the files it references.
108
+ ")
109
+ endif()
110
+ endforeach()
111
+ endif()
112
+ unset(_cmake_file)
113
+ unset("_cmake_import_check_files_for_${_cmake_target}")
114
+ endforeach()
115
+ unset(_cmake_target)
116
+ unset(_cmake_import_check_targets)
117
+
118
+ # This file does not depend on other imported targets which have
119
+ # been exported from the same project but in a separate export set.
120
+
121
+ # Commands beyond this point should not need to know the version.
122
+ set(CMAKE_IMPORT_FILE_VERSION)
123
+ cmake_policy(POP)
lib/cmake/openmp/FindOpenMPTarget.cmake ADDED
@@ -0,0 +1,338 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ##===----------------------------------------------------------------------===##
2
+ #
3
+ # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
+ # See https://llvm.org/LICENSE.txt for license information.
5
+ # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
+ #
7
+ ##===----------------------------------------------------------------------===##
8
+ #
9
+ # Find OpenMP Target offloading Support for various compilers.
10
+ #
11
+ ##===----------------------------------------------------------------------===##
12
+
13
+ #[========================================================================[.rst:
14
+ FindOpenMPTarget
15
+ ----------------
16
+
17
+ Finds OpenMP Target Offloading Support.
18
+
19
+ This module can be used to detect OpenMP target offloading support in a
20
+ compiler. If the compiler support OpenMP Offloading to a specified target, the
21
+ flags required to compile offloading code to that target are output for each
22
+ target.
23
+
24
+ This module will automatically include OpenMP support if it was not loaded
25
+ already. It does not need to be included separately to get full OpenMP support.
26
+
27
+ Variables
28
+ ^^^^^^^^^
29
+
30
+ The module exposes the components ``NVPTX`` and ``AMDGPU``. Each of these
31
+ controls the various offloading targets to search OpenMP target offloasing
32
+ support for.
33
+
34
+ Depending on the enabled components the following variables will be set:
35
+
36
+ ``OpenMPTarget_FOUND``
37
+ Variable indicating that OpenMP target offloading flags for all requested
38
+ targets have been found.
39
+
40
+ This module will set the following variables per language in your
41
+ project, where ``<device>`` is one of NVPTX or AMDGPU
42
+
43
+ ``OpenMPTarget_<device>_FOUND``
44
+ Variable indicating if OpenMP support for the ``<device>`` was detected.
45
+ ``OpenMPTarget_<device>_FLAGS``
46
+ OpenMP compiler flags for offloading to ``<device>``, separated by spaces.
47
+
48
+ For linking with OpenMP code written in ``<device>``, the following
49
+ variables are provided:
50
+
51
+ ``OpenMPTarget_<device>_LIBRARIES``
52
+ A list of libraries needed to link with OpenMP code written in ``<lang>``.
53
+
54
+ Additionally, the module provides :prop_tgt:`IMPORTED` targets:
55
+
56
+ ``OpenMPTarget::OpenMPTarget_<device>``
57
+ Target for using OpenMP offloading to ``<device>``.
58
+
59
+ If the specific architecture of the target is needed, it can be manually
60
+ specified by setting a variable to the desired architecture. Variables can also
61
+ be used to override the standard flag searching for a given compiler.
62
+
63
+ ``OpenMPTarget_<device>_ARCH``
64
+ Sets the architecture of ``<device>`` to compile for. Such as `sm_70` for NVPTX
65
+ or `gfx908` for AMDGPU.
66
+
67
+ ``OpenMPTarget_<device>_DEVICE``
68
+ Sets the name of the device to offload to.
69
+
70
+ ``OpenMPTarget_<device>_FLAGS``
71
+ Sets the compiler flags for offloading to ``<device>``.
72
+
73
+ #]========================================================================]
74
+
75
+ # TODO: Support Fortran
76
+ # TODO: Support multiple offloading targets by setting the "OpenMPTarget" target
77
+ # to include flags for all components loaded
78
+ # TODO: Configure target architecture without a variable (component NVPTX_SM_70)
79
+ # TODO: Test more compilers
80
+
81
+ cmake_policy(PUSH)
82
+ cmake_policy(VERSION 3.13.4)
83
+
84
+ find_package(OpenMP ${OpenMPTarget_FIND_VERSION} REQUIRED)
85
+
86
+ # Find the offloading flags for each compiler.
87
+ function(_OPENMP_TARGET_DEVICE_FLAG_CANDIDATES LANG DEVICE)
88
+ if(NOT OpenMPTarget_${LANG}_FLAGS)
89
+ unset(OpenMPTarget_FLAG_CANDIDATES)
90
+
91
+ set(OMPTarget_FLAGS_Clang "-fopenmp-targets=${DEVICE}")
92
+ set(OMPTarget_FLAGS_GNU "-foffload=${DEVICE}=\"-lm -latomic\"")
93
+ set(OMPTarget_FLAGS_XL "-qoffload")
94
+ set(OMPTarget_FLAGS_PGI "-mp=${DEVICE}")
95
+ set(OMPTarget_FLAGS_NVHPC "-mp=${DEVICE}")
96
+
97
+ if(DEFINED OMPTarget_FLAGS_${CMAKE_${LANG}_COMPILER_ID})
98
+ set(OpenMPTarget_FLAG_CANDIDATES "${OMPTarget_FLAGS_${CMAKE_${LANG}_COMPILER_ID}}")
99
+ endif()
100
+
101
+ set(OpenMPTarget_${LANG}_FLAG_CANDIDATES "${OpenMPTarget_FLAG_CANDIDATES}" PARENT_SCOPE)
102
+ else()
103
+ set(OpenMPTarget_${LANG}_FLAG_CANDIDATES "${OpenMPTarget_${LANG}_FLAGS}" PARENT_SCOPE)
104
+ endif()
105
+ endfunction()
106
+
107
+ # Get the coded name of the device for each compiler.
108
+ function(_OPENMP_TARGET_DEVICE_CANDIDATES LANG DEVICE)
109
+ if (NOT OpenMPTarget_${DEVICE}_DEVICE)
110
+ unset(OpenMPTarget_DEVICE_CANDIDATES)
111
+
112
+ # Check each supported device.
113
+ if("${DEVICE}" STREQUAL "NVPTX")
114
+ if ("${CMAKE_SIZEOF_VOID_P}" STREQUAL "4")
115
+ set(OMPTarget_DEVICE_Clang "nvptx32-nvidia-cuda")
116
+ else()
117
+ set(OMPTarget_DEVICE_Clang "nvptx64-nvidia-cuda")
118
+ endif()
119
+ set(OMPTarget_DEVICE_GNU "nvptx-none")
120
+ set(OMPTarget_DEVICE_XL "")
121
+ set(OMPTarget_DEVICE_PGI "gpu")
122
+ set(OMPTarget_DEVICE_NVHPC "gpu")
123
+
124
+ if(DEFINED OMPTarget_DEVICE_${CMAKE_${LANG}_COMPILER_ID})
125
+ set(OpenMPTarget_DEVICE_CANDIDATES "${OMPTarget_DEVICE_${CMAKE_${LANG}_COMPILER_ID}}")
126
+ endif()
127
+ elseif("${DEVICE}" STREQUAL "AMDGPU")
128
+ set(OMPTarget_DEVICE_Clang "amdgcn-amd-amdhsa")
129
+ set(OMPTarget_DEVICE_GNU "hsa")
130
+
131
+ if(DEFINED OMPTarget_DEVICE_${CMAKE_${LANG}_COMPILER_ID})
132
+ set(OpenMPTarget_DEVICE_CANDIDATES "${OMPTarget_DEVICE_${CMAKE_${LANG}_COMPILER_ID}}")
133
+ endif()
134
+ endif()
135
+ set(OpenMPTarget_${LANG}_DEVICE_CANDIDATES "${OpenMPTarget_DEVICE_CANDIDATES}" PARENT_SCOPE)
136
+ else()
137
+ set(OpenMPTarget_${LANG}_DEVICE_CANDIDATES "${OpenMPTarget_${LANG}_DEVICE}" PARENT_SCOPE)
138
+ endif()
139
+ endfunction()
140
+
141
+ # Get flags for setting the device's architecture for each compiler.
142
+ function(_OPENMP_TARGET_DEVICE_ARCH_CANDIDATES LANG DEVICE DEVICE_FLAG)
143
+ if(OpenMPTarget_${DEVICE}_ARCH)
144
+ # Only Clang supports selecting the architecture for now.
145
+ set(OMPTarget_ARCH_Clang "-Xopenmp-target=${DEVICE_FLAG} -march=${OpenMPTarget_${DEVICE}_ARCH}")
146
+
147
+ if(DEFINED OMPTarget_ARCH_${CMAKE_${LANG}_COMPILER_ID})
148
+ set(OpenMPTarget_DEVICE_ARCH_CANDIDATES "${OMPTarget_ARCH_${CMAKE_${LANG}_COMPILER_ID}}")
149
+ endif()
150
+ set(OpenMPTarget_${LANG}_DEVICE_ARCH_CANDIDATES "${OpenMPTarget_DEVICE_ARCH_CANDIDATES}" PARENT_SCOPE)
151
+ else()
152
+ set(OpenMPTarget_${LANG}_DEVICE_ARCH_CANDIDATES "" PARENT_SCOPE)
153
+ endif()
154
+ endfunction()
155
+
156
+ set(OpenMPTarget_C_CXX_TEST_SOURCE
157
+ "#include <omp.h>
158
+ int main(void) {
159
+ int isHost;
160
+ #pragma omp target map(from: isHost)
161
+ { isHost = omp_is_initial_device(); }
162
+ return isHost;
163
+ }")
164
+
165
+ function(_OPENMP_TARGET_WRITE_SOURCE_FILE LANG SRC_FILE_CONTENT_VAR SRC_FILE_NAME SRC_FILE_FULLPATH)
166
+ set(WORK_DIR ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/FindOpenMPTarget)
167
+ if("${LANG}" STREQUAL "C")
168
+ set(SRC_FILE "${WORK_DIR}/${SRC_FILE_NAME}.c")
169
+ file(WRITE "${SRC_FILE}" "${OpenMPTarget_C_CXX_${SRC_FILE_CONTENT_VAR}}")
170
+ elseif("${LANG}" STREQUAL "CXX")
171
+ set(SRC_FILE "${WORK_DIR}/${SRC_FILE_NAME}.cpp")
172
+ file(WRITE "${SRC_FILE}" "${OpenMPTarget_C_CXX_${SRC_FILE_CONTENT_VAR}}")
173
+ endif()
174
+ set(${SRC_FILE_FULLPATH} "${SRC_FILE}" PARENT_SCOPE)
175
+ endfunction()
176
+
177
+ # Get the candidate flags and try to compile a test application. If it compiles
178
+ # and all the flags are found, we assume the compiler supports offloading.
179
+ function(_OPENMP_TARGET_DEVICE_GET_FLAGS LANG DEVICE OPENMP_FLAG_VAR OPENMP_LIB_VAR OPENMP_DEVICE_VAR OPENMP_ARCH_VAR)
180
+ _OPENMP_TARGET_DEVICE_CANDIDATES(${LANG} ${DEVICE})
181
+ _OPENMP_TARGET_DEVICE_FLAG_CANDIDATES(${LANG} "${OpenMPTarget_${LANG}_DEVICE_CANDIDATES}")
182
+ _OPENMP_TARGET_DEVICE_ARCH_CANDIDATES(${LANG} ${DEVICE} "${OpenMPTarget_${LANG}_DEVICE_CANDIDATES}")
183
+ _OPENMP_TARGET_WRITE_SOURCE_FILE("${LANG}" "TEST_SOURCE" OpenMPTargetTryFlag _OPENMP_TEST_SRC)
184
+
185
+ # Try to compile a test application with the found flags.
186
+ try_compile(OpenMPTarget_COMPILE_RESULT ${CMAKE_BINARY_DIR} ${_OPENMP_TEST_SRC}
187
+ CMAKE_FLAGS "-DCOMPILE_DEFINITIONS:STRING=${OpenMP_${LANG}_FLAGS} ${OpenMPTarget_${LANG}_FLAG_CANDIDATES} ${OpenMPTarget_${LANG}_DEVICE_ARCH_CANDIDATES}"
188
+ "-DINCLUDE_DIRECTORIES:STRING=${OpenMP_${LANG}_INCLUDE_DIR}"
189
+ LINK_LIBRARIES ${CMAKE_${LANG}_VERBOSE_FLAG}
190
+ OUTPUT_VARIABLE OpenMP_TRY_COMPILE_OUTPUT
191
+ )
192
+
193
+ file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
194
+ "Detecting OpenMP ${CMAKE_${LANG}_COMPILER_ID} ${DEVICE} target support with the following Flags:
195
+ ${OpenMP_${LANG}_FLAGS} ${OpenMPTarget_${LANG}_FLAG_CANDIDATES} ${OpenMPTarget_${LANG}_DEVICE_ARCH_CANDIDATES}
196
+ With the following output:\n ${OpenMP_TRY_COMPILE_OUTPUT}\n")
197
+
198
+ # If compilation was successful and the device was found set the return variables.
199
+ if (OpenMPTarget_COMPILE_RESULT AND DEFINED OpenMPTarget_${LANG}_DEVICE_CANDIDATES)
200
+ file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
201
+ "Compilation successful, adding flags for ${DEVICE}.\n\n")
202
+
203
+ # Clang has a seperate library for target offloading.
204
+ if(CMAKE_${LANG}_COMPILER_ID STREQUAL "Clang")
205
+ find_library(OpenMPTarget_libomptarget_LIBRARY
206
+ NAMES omptarget
207
+ HINTS ${CMAKE_${LANG}_IMPLICIT_LINK_DIRECTORIES}
208
+ )
209
+ mark_as_advanced(OpenMPTarget_libomptarget_LIBRARY)
210
+ set("${OPENMP_LIB_VAR}" "${OpenMPTarget_libomptarget_LIBRARY}" PARENT_SCOPE)
211
+ else()
212
+ unset("${OPENMP_LIB_VAR}" PARENT_SCOPE)
213
+ endif()
214
+ set("${OPENMP_DEVICE_VAR}" "${OpenMPTarget_${LANG}_DEVICE_CANDIDATES}" PARENT_SCOPE)
215
+ set("${OPENMP_FLAG_VAR}" "${OpenMPTarget_${LANG}_FLAG_CANDIDATES}" PARENT_SCOPE)
216
+ set("${OPENMP_ARCH_VAR}" "${OpenMPTarget_${LANG}_DEVICE_ARCH_CANDIDATES}" PARENT_SCOPE)
217
+ else()
218
+ unset("${OPENMP_DEVICE_VAR}" PARENT_SCOPE)
219
+ unset("${OPENMP_FLAG_VAR}" PARENT_SCOPE)
220
+ unset("${OPENMP_ARCH_VAR}" PARENT_SCOPE)
221
+ endif()
222
+ endfunction()
223
+
224
+ # Load the compiler support for each device.
225
+ foreach(LANG IN ITEMS C CXX)
226
+ # Cache the version in case CMake doesn't load the OpenMP package this time
227
+ set(OpenMP_${LANG}_VERSION ${OpenMP_${LANG}_VERSION}
228
+ CACHE STRING "OpenMP Version" FORCE)
229
+ mark_as_advanced(OpenMP_${LANG}_VERSION)
230
+ foreach(DEVICE IN ITEMS NVPTX AMDGPU)
231
+ if(CMAKE_${LANG}_COMPILER_LOADED)
232
+ if(NOT DEFINED OpenMPTarget_${LANG}_FLAGS OR NOT DEFINED OpenMPTarget_${LANG}_DEVICE)
233
+ _OPENMP_TARGET_DEVICE_GET_FLAGS(${LANG} ${DEVICE}
234
+ OpenMPTarget_${DEVICE}_FLAGS_WORK
235
+ OpenMPTarget_${DEVICE}_LIBS_WORK
236
+ OpenMPTarget_${DEVICE}_DEVICE_WORK
237
+ OpenMPTarget_${DEVICE}_ARCHS_WORK)
238
+
239
+ separate_arguments(_OpenMPTarget_${DEVICE}_FLAGS NATIVE_COMMAND "${OpenMPTarget_${DEVICE}_FLAGS_WORK}")
240
+ separate_arguments(_OpenMPTarget_${DEVICE}_ARCHS NATIVE_COMMAND "${OpenMPTarget_${DEVICE}_ARCHS_WORK}")
241
+ set(OpenMPTarget_${DEVICE}_FLAGS ${_OpenMPTarget_${DEVICE}_FLAGS}
242
+ CACHE STRING "${DEVICE} target compile flags for OpenMP target offloading" FORCE)
243
+ set(OpenMPTarget_${DEVICE}_ARCH ${_OpenMPTarget_${DEVICE}_ARCHS}
244
+ CACHE STRING "${DEVICE} target architecture flags for OpenMP target offloading" FORCE)
245
+ set(OpenMPTarget_${DEVICE}_LIBRARIES ${OpenMPTarget_${DEVICE}_LIBS_WORK}
246
+ CACHE STRING "${DEVICE} target libraries for OpenMP target offloading" FORCE)
247
+ mark_as_advanced(OpenMPTarget_${DEVICE}_FLAGS OpenMPTarget_${DEVICE}_ARCH OpenMPTarget_${DEVICE}_LIBRARIES)
248
+ endif()
249
+ endif()
250
+ endforeach()
251
+ endforeach()
252
+
253
+ if(OpenMPTarget_FIND_COMPONENTS)
254
+ set(OpenMPTarget_FINDLIST ${OpenMPTarget_FIND_COMPONENTS})
255
+ else()
256
+ set(OpenMPTarget_FINDLIST NVPTX)
257
+ endif()
258
+
259
+ unset(_OpenMPTarget_MIN_VERSION)
260
+
261
+ # Attempt to find each requested device.
262
+ foreach(LANG IN ITEMS C CXX)
263
+ foreach(DEVICE IN LISTS OpenMPTarget_FINDLIST)
264
+ if(CMAKE_${LANG}_COMPILER_LOADED)
265
+ set(OpenMPTarget_${DEVICE}_VERSION "${OpenMP_${LANG}_VERSION}")
266
+ set(OpenMPTarget_${DEVICE}_VERSION_MAJOR "${OpenMP_${LANG}_VERSION}_MAJOR")
267
+ set(OpenMPTarget_${DEVICE}_VERSION_MINOR "${OpenMP_${LANG}_VERSION}_MINOR")
268
+ set(OpenMPTarget_${DEVICE}_FIND_QUIETLY ${OpenMPTarget_FIND_QUIETLY})
269
+ set(OpenMPTarget_${DEVICE}_FIND_REQUIRED ${OpenMPTarget_FIND_REQUIRED})
270
+ set(OpenMPTarget_${DEVICE}_FIND_VERSION ${OpenMPTarget_FIND_VERSION})
271
+ set(OpenMPTarget_${DEVICE}_FIND_VERSION_EXACT ${OpenMPTarget_FIND_VERSION_EXACT})
272
+
273
+ # OpenMP target offloading is only supported in OpenMP 4.0 an newer.
274
+ if(OpenMPTarget_${DEVICE}_VERSION AND ("${OpenMPTarget_${DEVICE}_VERSION}" VERSION_LESS "4.0"))
275
+ message(SEND_ERROR "FindOpenMPTarget requires at least OpenMP 4.0")
276
+ endif()
277
+
278
+ set(FPHSA_NAME_MISMATCHED TRUE)
279
+ find_package_handle_standard_args(OpenMPTarget_${DEVICE}
280
+ REQUIRED_VARS OpenMPTarget_${DEVICE}_FLAGS
281
+ VERSION_VAR OpenMPTarget_${DEVICE}_VERSION)
282
+
283
+ if(OpenMPTarget_${DEVICE}_FOUND)
284
+ if(DEFINED OpenMPTarget_${DEVICE}_VERSION)
285
+ if(NOT _OpenMPTarget_MIN_VERSION OR _OpenMPTarget_MIN_VERSION VERSION_GREATER OpenMPTarget_${LANG}_VERSION)
286
+ set(_OpenMPTarget_MIN_VERSION OpenMPTarget_${DEVICE}_VERSION)
287
+ endif()
288
+ endif()
289
+ # Create a new target.
290
+ if(NOT TARGET OpenMPTarget::OpenMPTarget_${DEVICE})
291
+ add_library(OpenMPTarget::OpenMPTarget_${DEVICE} INTERFACE IMPORTED)
292
+ endif()
293
+ # Get compiler flags for offloading to the device and architecture and
294
+ # set the target features. Include the normal OpenMP flags as well.
295
+ set_property(TARGET OpenMPTarget::OpenMPTarget_${DEVICE} PROPERTY
296
+ INTERFACE_COMPILE_OPTIONS
297
+ "$<$<COMPILE_LANGUAGE:${LANG}>:${OpenMPTarget_${DEVICE}_FLAGS}>"
298
+ "$<$<COMPILE_LANGUAGE:${LANG}>:${OpenMPTarget_${DEVICE}_ARCH}>"
299
+ "$<$<COMPILE_LANGUAGE:${LANG}>:${OpenMP_${LANG}_FLAGS}>")
300
+ set_property(TARGET OpenMPTarget::OpenMPTarget_${DEVICE} PROPERTY
301
+ INTERFACE_INCLUDE_DIRECTORIES "$<BUILD_INTERFACE:${OpenMP_${LANG}_INCLUDE_DIRS}>")
302
+ set_property(TARGET OpenMPTarget::OpenMPTarget_${DEVICE} PROPERTY
303
+ INTERFACE_LINK_LIBRARIES
304
+ "${OpenMPTarget_${DEVICE}_LIBRARIES}"
305
+ "${OpenMP_${LANG}_LIBRARIES}")
306
+ # The offloading flags must also be passed during the linking phase so
307
+ # the compiler can pass the binary to the correct toolchain.
308
+ set_property(TARGET OpenMPTarget::OpenMPTarget_${DEVICE} PROPERTY
309
+ INTERFACE_LINK_OPTIONS
310
+ "$<$<COMPILE_LANGUAGE:${LANG}>:${OpenMPTarget_${DEVICE}_FLAGS}>"
311
+ "$<$<COMPILE_LANGUAGE:${LANG}>:${OpenMPTarget_${DEVICE}_ARCH}>"
312
+ "$<$<COMPILE_LANGUAGE:${LANG}>:${OpenMP_${LANG}_FLAGS}>")
313
+ # Combine all the flags if not using the target for convenience.
314
+ set(OpenMPTarget_${DEVICE}_FLAGS ${OpenMP_${LANG}_FLAGS}
315
+ ${OpenMPTarget_${DEVICE}_FLAGS}
316
+ ${OpenMPTarget_${DEVICE}_ARCH}
317
+ CACHE STRING "${DEVICE} target compile flags for OpenMP target offloading" FORCE)
318
+ endif()
319
+ endif()
320
+ endforeach()
321
+ endforeach()
322
+
323
+ unset(_OpenMPTarget_REQ_VARS)
324
+ foreach(DEVICE IN LISTS OpenMPTarget_FINDLIST)
325
+ list(APPEND _OpenMPTarget_REQ_VARS "OpenMPTarget_${DEVICE}_FOUND")
326
+ endforeach()
327
+
328
+ find_package_handle_standard_args(OpenMPTarget
329
+ REQUIRED_VARS ${_OpenMPTarget_REQ_VARS}
330
+ VERSION_VAR ${_OpenMPTarget_MIN_VERSION}
331
+ HANDLE_COMPONENTS)
332
+
333
+ if(NOT (CMAKE_C_COMPILER_LOADED OR CMAKE_CXX_COMPILER_LOADED) OR CMAKE_Fortran_COMPILER_LOADED)
334
+ message(SEND_ERROR "FindOpenMPTarget requires the C or CXX languages to be enabled")
335
+ endif()
336
+
337
+ unset(OpenMPTarget_C_CXX_TEST_SOURCE)
338
+ cmake_policy(POP)
lib/cmake/zstd/zstdConfig.cmake ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
3
+ ####### Any changes to this file will be overwritten by the next CMake run ####
4
+ ####### The input file was zstdConfig.cmake.in ########
5
+
6
+ get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
7
+
8
+ macro(set_and_check _var _file)
9
+ set(${_var} "${_file}")
10
+ if(NOT EXISTS "${_file}")
11
+ message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
12
+ endif()
13
+ endmacro()
14
+
15
+ macro(check_required_components _NAME)
16
+ foreach(comp ${${_NAME}_FIND_COMPONENTS})
17
+ if(NOT ${_NAME}_${comp}_FOUND)
18
+ if(${_NAME}_FIND_REQUIRED_${comp})
19
+ set(${_NAME}_FOUND FALSE)
20
+ endif()
21
+ endif()
22
+ endforeach()
23
+ endmacro()
24
+
25
+ ####################################################################################
26
+
27
+ include(CMakeFindDependencyMacro)
28
+ if(ON AND "1")
29
+ find_dependency(Threads)
30
+ endif()
31
+
32
+ include("${CMAKE_CURRENT_LIST_DIR}/zstdTargets.cmake")
33
+
34
+ check_required_components("zstd")
lib/cmake/zstd/zstdConfigVersion.cmake ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This is a basic version file for the Config-mode of find_package().
2
+ # It is used by write_basic_package_version_file() as input file for configure_file()
3
+ # to create a version-file which can be installed along a config.cmake file.
4
+ #
5
+ # The created file sets PACKAGE_VERSION_EXACT if the current version string and
6
+ # the requested version string are exactly the same and it sets
7
+ # PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
8
+ # but only if the requested major version is the same as the current one.
9
+ # The variable CVF_VERSION must be set before calling configure_file().
10
+
11
+
12
+ set(PACKAGE_VERSION "1.5.6")
13
+
14
+ if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
15
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
16
+ else()
17
+
18
+ if("1.5.6" MATCHES "^([0-9]+)\\.")
19
+ set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
20
+ if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
21
+ string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
22
+ endif()
23
+ else()
24
+ set(CVF_VERSION_MAJOR "1.5.6")
25
+ endif()
26
+
27
+ if(PACKAGE_FIND_VERSION_RANGE)
28
+ # both endpoints of the range must have the expected major version
29
+ math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1")
30
+ if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
31
+ OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR)
32
+ OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT)))
33
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
34
+ elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
35
+ AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
36
+ OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
37
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
38
+ else()
39
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
40
+ endif()
41
+ else()
42
+ if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
43
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
44
+ else()
45
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
46
+ endif()
47
+
48
+ if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
49
+ set(PACKAGE_VERSION_EXACT TRUE)
50
+ endif()
51
+ endif()
52
+ endif()
53
+
54
+
55
+ # if the installed project requested no architecture check, don't perform the check
56
+ if("FALSE")
57
+ return()
58
+ endif()
59
+
60
+ # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
61
+ if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
62
+ return()
63
+ endif()
64
+
65
+ # check that the installed version has the same 32/64bit-ness as the one which is currently searching:
66
+ if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
67
+ math(EXPR installedBits "8 * 8")
68
+ set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
69
+ set(PACKAGE_VERSION_UNSUITABLE TRUE)
70
+ endif()
lib/cmake/zstd/zstdTargets-release.cmake ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #----------------------------------------------------------------
2
+ # Generated CMake target import file for configuration "Release".
3
+ #----------------------------------------------------------------
4
+
5
+ # Commands may need to know the format version.
6
+ set(CMAKE_IMPORT_FILE_VERSION 1)
7
+
8
+ # Import target "zstd::libzstd_shared" for configuration "Release"
9
+ set_property(TARGET zstd::libzstd_shared APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
10
+ set_target_properties(zstd::libzstd_shared PROPERTIES
11
+ IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libzstd.so.1.5.6"
12
+ IMPORTED_SONAME_RELEASE "libzstd.so.1"
13
+ )
14
+
15
+ list(APPEND _cmake_import_check_targets zstd::libzstd_shared )
16
+ list(APPEND _cmake_import_check_files_for_zstd::libzstd_shared "${_IMPORT_PREFIX}/lib/libzstd.so.1.5.6" )
17
+
18
+ # Import target "zstd::libzstd_static" for configuration "Release"
19
+ set_property(TARGET zstd::libzstd_static APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
20
+ set_target_properties(zstd::libzstd_static PROPERTIES
21
+ IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "ASM;C"
22
+ IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libzstd.a"
23
+ )
24
+
25
+ list(APPEND _cmake_import_check_targets zstd::libzstd_static )
26
+ list(APPEND _cmake_import_check_files_for_zstd::libzstd_static "${_IMPORT_PREFIX}/lib/libzstd.a" )
27
+
28
+ # Commands beyond this point should not need to know the version.
29
+ set(CMAKE_IMPORT_FILE_VERSION)
lib/cmake/zstd/zstdTargets.cmake ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Generated by CMake
2
+
3
+ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4
+ message(FATAL_ERROR "CMake >= 2.8.0 required")
5
+ endif()
6
+ if(CMAKE_VERSION VERSION_LESS "2.8.3")
7
+ message(FATAL_ERROR "CMake >= 2.8.3 required")
8
+ endif()
9
+ cmake_policy(PUSH)
10
+ cmake_policy(VERSION 2.8.3...3.23)
11
+ #----------------------------------------------------------------
12
+ # Generated CMake target import file.
13
+ #----------------------------------------------------------------
14
+
15
+ # Commands may need to know the format version.
16
+ set(CMAKE_IMPORT_FILE_VERSION 1)
17
+
18
+ # Protect against multiple inclusion, which would fail when already imported targets are added once more.
19
+ set(_cmake_targets_defined "")
20
+ set(_cmake_targets_not_defined "")
21
+ set(_cmake_expected_targets "")
22
+ foreach(_cmake_expected_target IN ITEMS zstd::libzstd_shared zstd::libzstd_static zstd::libzstd)
23
+ list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
24
+ if(TARGET "${_cmake_expected_target}")
25
+ list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
26
+ else()
27
+ list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
28
+ endif()
29
+ endforeach()
30
+ unset(_cmake_expected_target)
31
+ if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
32
+ unset(_cmake_targets_defined)
33
+ unset(_cmake_targets_not_defined)
34
+ unset(_cmake_expected_targets)
35
+ unset(CMAKE_IMPORT_FILE_VERSION)
36
+ cmake_policy(POP)
37
+ return()
38
+ endif()
39
+ if(NOT _cmake_targets_defined STREQUAL "")
40
+ string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
41
+ string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
42
+ message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
43
+ endif()
44
+ unset(_cmake_targets_defined)
45
+ unset(_cmake_targets_not_defined)
46
+ unset(_cmake_expected_targets)
47
+
48
+
49
+ # Compute the installation prefix relative to this file.
50
+ get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
51
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
52
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
53
+ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
54
+ if(_IMPORT_PREFIX STREQUAL "/")
55
+ set(_IMPORT_PREFIX "")
56
+ endif()
57
+
58
+ # Create imported target zstd::libzstd_shared
59
+ add_library(zstd::libzstd_shared SHARED IMPORTED)
60
+
61
+ set_target_properties(zstd::libzstd_shared PROPERTIES
62
+ INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
63
+ INTERFACE_LINK_LIBRARIES "-pthread"
64
+ )
65
+
66
+ # Create imported target zstd::libzstd_static
67
+ add_library(zstd::libzstd_static STATIC IMPORTED)
68
+
69
+ set_target_properties(zstd::libzstd_static PROPERTIES
70
+ INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
71
+ INTERFACE_LINK_LIBRARIES "-pthread"
72
+ )
73
+
74
+ # Create imported target zstd::libzstd
75
+ add_library(zstd::libzstd INTERFACE IMPORTED)
76
+
77
+ set_target_properties(zstd::libzstd PROPERTIES
78
+ INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
79
+ INTERFACE_LINK_LIBRARIES "zstd::libzstd_static"
80
+ )
81
+
82
+ if(CMAKE_VERSION VERSION_LESS 3.0.0)
83
+ message(FATAL_ERROR "This file relies on consumers using CMake 3.0.0 or greater.")
84
+ endif()
85
+
86
+ # Load information for each installed configuration.
87
+ file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/zstdTargets-*.cmake")
88
+ foreach(_cmake_config_file IN LISTS _cmake_config_files)
89
+ include("${_cmake_config_file}")
90
+ endforeach()
91
+ unset(_cmake_config_file)
92
+ unset(_cmake_config_files)
93
+
94
+ # Cleanup temporary variables.
95
+ set(_IMPORT_PREFIX)
96
+
97
+ # Loop over all imported files and verify that they actually exist
98
+ foreach(_cmake_target IN LISTS _cmake_import_check_targets)
99
+ foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
100
+ if(NOT EXISTS "${_cmake_file}")
101
+ message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
102
+ \"${_cmake_file}\"
103
+ but this file does not exist. Possible reasons include:
104
+ * The file was deleted, renamed, or moved to another location.
105
+ * An install or uninstall procedure did not complete successfully.
106
+ * The installation package was faulty and contained
107
+ \"${CMAKE_CURRENT_LIST_FILE}\"
108
+ but not all the files it references.
109
+ ")
110
+ endif()
111
+ endforeach()
112
+ unset(_cmake_file)
113
+ unset("_cmake_import_check_files_for_${_cmake_target}")
114
+ endforeach()
115
+ unset(_cmake_target)
116
+ unset(_cmake_import_check_targets)
117
+
118
+ # This file does not depend on other imported targets which have
119
+ # been exported from the same project but in a separate export set.
120
+
121
+ # Commands beyond this point should not need to know the version.
122
+ set(CMAKE_IMPORT_FILE_VERSION)
123
+ cmake_policy(POP)
lib/pkgconfig/Lerc.pc ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ includedir=${prefix}/include
4
+ libdir=${exec_prefix}/lib
5
+
6
+ Name: Lerc
7
+ Description: Limited Error Raster Compression
8
+ URL: https://github.com/Esri/lerc
9
+ Version: 4.0.0
10
+ Cflags: -I${includedir}
11
+ Cflags.private: -DLERC_STATIC
12
+ Libs: -L${libdir} -lLerc
lib/pkgconfig/expat.pc ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include
5
+
6
+ Name: expat
7
+ Version: 2.7.1
8
+ Description: expat XML parser
9
+ URL: https://libexpat.github.io/
10
+ Libs: -L${libdir} -lexpat
11
+ Libs.private: -lm
12
+ Cflags: -I${includedir}
13
+ Cflags.private: -DXML_STATIC
lib/pkgconfig/formw.pc ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # pkg-config file generated by gen-pkgconfig
2
+ # vile:makemode
3
+
4
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
5
+ exec_prefix=${prefix}
6
+ libdir=${exec_prefix}/lib
7
+ includedir=${prefix}/include/ncursesw
8
+ abi_version=6
9
+ major_version=6
10
+ version=6.5.20240427
11
+
12
+ Name: formw
13
+ Description: ncurses 6.5 add-on library
14
+ Version: ${version}
15
+ URL: https://invisible-island.net/ncurses
16
+ Requires.private: ncursesw
17
+ Libs: -L/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib -Wl,-O2 -Wl,--sort-common -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib -Wl,-rpath-link,/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib -lformw
18
+ Libs.private:
19
+ Cflags: -D_GNU_SOURCE -DNCURSES_WIDECHAR -I${includedir} -I/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/include
lib/pkgconfig/freetype2.pc ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
3
+ libdir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib
4
+ includedir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/include
5
+
6
+ Name: FreeType 2
7
+ URL: https://freetype.org
8
+ Description: A free, high-quality, and portable font engine.
9
+ Version: 26.2.20
10
+ Requires:
11
+ Requires.private: zlib, libpng
12
+ Libs: -L/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib -lfreetype
13
+ Libs.private:
14
+ Cflags: -I${includedir}/freetype2
lib/pkgconfig/gmp.pc ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ includedir=${prefix}/include
4
+ libdir=${exec_prefix}/lib
5
+
6
+ Name: GNU MP
7
+ Description: GNU Multiple Precision Arithmetic Library
8
+ URL: https://gmplib.org
9
+ Version: 6.3.0
10
+ Cflags: -I${includedir}
11
+ Libs: -L${libdir} -lgmp
lib/pkgconfig/gmpxx.pc ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ includedir=${prefix}/include
4
+ libdir=${exec_prefix}/lib
5
+
6
+ Name: GNU MP C++
7
+ Description: GNU Multiple Precision Arithmetic Library (C++ bindings)
8
+ URL: https://gmplib.org
9
+ Version: 6.3.0
10
+ Requires: gmp
11
+ Cflags: -I${includedir}
12
+ Libs: -L${libdir} -lgmpxx
lib/pkgconfig/gnutls.pc ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Process this file with autoconf to produce a pkg-config metadata file.
2
+
3
+ # Copyright (C) 2004-2012 Free Software Foundation, Inc.
4
+
5
+ # Copying and distribution of this file, with or without modification,
6
+ # are permitted in any medium without royalty provided the copyright
7
+ # notice and this notice are preserved. This file is offered as-is,
8
+ # without any warranty.
9
+
10
+ # Author: Simon Josefsson
11
+
12
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
13
+ exec_prefix=${prefix}
14
+ libdir=${exec_prefix}/lib
15
+ includedir=${prefix}/include
16
+
17
+ Name: GnuTLS
18
+ Description: Transport Security Layer implementation for the GNU system
19
+ URL: https://www.gnutls.org/
20
+ Version: 3.6.15
21
+ Libs: -L${libdir} -lgnutls
22
+ Libs.private: -pthread -lgmp -lunistring -latomic
23
+ Requires.private: nettle, hogweed, libtasn1, libidn2
24
+ Cflags: -I${includedir}
lib/pkgconfig/history.pc ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include
5
+
6
+ Name: History
7
+ Description: Gnu History library for managing previously-entered lines
8
+ URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
9
+ Version: 8.3
10
+ Libs: -L${libdir} -lhistory
11
+ Cflags: -I${includedir}
lib/pkgconfig/hogweed.pc ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib
4
+ includedir=${prefix}/include
5
+
6
+ # Uses Requires.private and Libs.private, under the assumption that
7
+ # when using shared libraries, the ELF dependencies from libhogweed.so
8
+ # to nettle and gmp work.
9
+
10
+ Name: Hogweed
11
+ Description: Nettle low-level cryptographic library (public-key algorithms)
12
+ URL: http://www.lysator.liu.se/~nisse/nettle
13
+ Version: 3.7.3
14
+ Requires: # nettle
15
+ Requires.private: nettle
16
+ Libs: -L${libdir} -lhogweed # -lgmp
17
+ Libs.private: -lgmp
18
+ Cflags: -I${includedir}
19
+
lib/pkgconfig/lcms2.pc ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include
5
+
6
+ Name: lcms2
7
+ Description: LCMS Color Management Library
8
+ Version: 2.16
9
+ Libs: -L${libdir} -llcms2
10
+ Libs.private: -lm -lpthread
11
+ Cflags: -I${includedir}
lib/pkgconfig/libavcodec.pc ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib
4
+ includedir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/include
5
+
6
+ Name: libavcodec
7
+ Description: FFmpeg codec library
8
+ Version: 58.91.100
9
+ Requires:
10
+ Requires.private: libswresample >= 3.7.100, libavutil >= 56.51.100
11
+ Conflicts:
12
+ Libs: -L${libdir} -lavcodec
13
+ Libs.private: -pthread -liconv -lm -L/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib -lz -lmp3lame -lm -L/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib -lopenh264
14
+ Cflags: -I${includedir}
lib/pkgconfig/libavdevice.pc ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib
4
+ includedir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/include
5
+
6
+ Name: libavdevice
7
+ Description: FFmpeg device handling library
8
+ Version: 58.10.100
9
+ Requires:
10
+ Requires.private: libavfilter >= 7.85.100, libswscale >= 5.7.100, libavformat >= 58.45.100, libavcodec >= 58.91.100, libswresample >= 3.7.100, libavresample >= 4.0.0, libavutil >= 56.51.100
11
+ Conflicts:
12
+ Libs: -L${libdir} -lavdevice
13
+ Libs.private: -lm
14
+ Cflags: -I${includedir}
lib/pkgconfig/libavfilter.pc ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib
4
+ includedir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/include
5
+
6
+ Name: libavfilter
7
+ Description: FFmpeg audio/video filtering library
8
+ Version: 7.85.100
9
+ Requires:
10
+ Requires.private: libswscale >= 5.7.100, libavformat >= 58.45.100, libavcodec >= 58.91.100, libswresample >= 3.7.100, libavresample >= 4.0.0, libavutil >= 56.51.100
11
+ Conflicts:
12
+ Libs: -L${libdir} -lavfilter
13
+ Libs.private: -pthread -lm -L/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib -lfreetype
14
+ Cflags: -I${includedir}
lib/pkgconfig/libavformat.pc ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib
4
+ includedir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/include
5
+
6
+ Name: libavformat
7
+ Description: FFmpeg container format library
8
+ Version: 58.45.100
9
+ Requires:
10
+ Requires.private: libavcodec >= 58.91.100, libswresample >= 3.7.100, libavutil >= 56.51.100
11
+ Conflicts:
12
+ Libs: -L${libdir} -lavformat
13
+ Libs.private: -lm -lbz2 -L/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib -lz -L/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib -lgnutls
14
+ Cflags: -I${includedir}
lib/pkgconfig/libavresample.pc ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib
4
+ includedir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/include
5
+
6
+ Name: libavresample
7
+ Description: Libav audio resampling library
8
+ Version: 4.0.0
9
+ Requires:
10
+ Requires.private: libavutil >= 56.51.100
11
+ Conflicts:
12
+ Libs: -L${libdir} -lavresample
13
+ Libs.private: -lm
14
+ Cflags: -I${includedir}
lib/pkgconfig/libavutil.pc ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib
4
+ includedir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/include
5
+
6
+ Name: libavutil
7
+ Description: FFmpeg utility library
8
+ Version: 56.51.100
9
+ Requires:
10
+ Requires.private:
11
+ Conflicts:
12
+ Libs: -L${libdir} -lavutil
13
+ Libs.private: -pthread -lrt -lm
14
+ Cflags: -I${includedir}
lib/pkgconfig/libcrypto.pc ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include
5
+ enginesdir=${libdir}/engines-3
6
+ modulesdir=${libdir}/ossl-modules
7
+
8
+ Name: OpenSSL-libcrypto
9
+ Description: OpenSSL cryptography library
10
+ Version: 3.5.2
11
+ Libs: -L${libdir} -lcrypto
12
+ Libs.private: -ldl -pthread
13
+ Cflags: -I${includedir}
lib/pkgconfig/libdeflate.pc ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ includedir=${prefix}/include
4
+ libdir=${exec_prefix}/lib
5
+
6
+ Name: libdeflate
7
+ Description: Fast implementation of DEFLATE, zlib, and gzip
8
+ Version: 1.22
9
+ Libs: -L${libdir} -ldeflate
10
+ Cflags: -I${includedir}
11
+
12
+ # Note: this library's public header allows LIBDEFLATE_DLL to be defined when
13
+ # linking to the DLL on Windows, to make __declspec(dllimport) be used.
14
+ # However, the only way to define a shared-library-only flag in a pkgconfig file
15
+ # is to use the weird workaround of unconditionally defining it in Cflags, then
16
+ # undefining it in Cflags.private. Just don't bother with this, since
17
+ # __declspec(dllimport) is optional anyway. It is a very minor performance
18
+ # optimization that is irrelevant for most use cases of libdeflate.
lib/pkgconfig/libffi.pc ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ toolexeclibdir=${libdir}
5
+ includedir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/include
6
+
7
+ Name: libffi
8
+ Description: Library supporting Foreign Function Interfaces
9
+ Version: 3.4.6
10
+ Libs: -L${toolexeclibdir} -lffi
11
+ Cflags: -I${includedir}
lib/pkgconfig/libidn2.pc ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ includedir=${prefix}/include
4
+ libdir=${exec_prefix}/lib
5
+
6
+ Name: libidn2
7
+ Description: Library implementing IDNA2008 and TR46
8
+ Version: 2.3.4
9
+ Cflags: -I${includedir}
10
+ Libs: -L${libdir} -lidn2
11
+ Libs.private: -L/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib -lunistring -R/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib
lib/pkgconfig/libjpeg.pc ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
3
+ libdir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib
4
+ includedir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/include
5
+
6
+ Name: libjpeg
7
+ Description: A SIMD-accelerated JPEG codec that provides the libjpeg API
8
+ Version: 2.0.0
9
+ Libs: -L${libdir} -ljpeg
10
+ Cflags: -I${includedir}
lib/pkgconfig/liblz4.pc ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LZ4 - Fast LZ compression algorithm
2
+ # Copyright (C) 2011-2020, Yann Collet.
3
+ # BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
4
+
5
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
6
+ libdir=${prefix}/lib
7
+ includedir=${prefix}/include
8
+
9
+ Name: lz4
10
+ Description: extremely fast lossless compression algorithm library
11
+ URL: http://www.lz4.org/
12
+ Version: 1.9.4
13
+ Libs: -L${libdir} -llz4
14
+ Cflags: -I${includedir}
lib/pkgconfig/liblzma.pc ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SPDX-License-Identifier: 0BSD
2
+ # Author: Lasse Collin
3
+
4
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
5
+ exec_prefix=${prefix}
6
+ libdir=${exec_prefix}/lib
7
+ includedir=${prefix}/include
8
+
9
+ Name: liblzma
10
+ Description: General purpose data compression library
11
+ URL: https://tukaani.org/xz/
12
+ Version: 5.6.4
13
+ Cflags: -I${includedir}
14
+ Cflags.private: -DLZMA_API_STATIC
15
+ Libs: -L${libdir} -llzma
16
+ Libs.private: -pthread
lib/pkgconfig/libopenjp2.pc ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ bindir=${prefix}/bin
3
+ mandir=${prefix}/share/man
4
+ docdir=${prefix}/share/doc/openjpeg
5
+ libdir=${prefix}/lib
6
+ includedir=${prefix}/include/openjpeg-2.5
7
+
8
+ Name: openjp2
9
+ Description: JPEG2000 library (Part 1 and 2)
10
+ URL: http://www.openjpeg.org/
11
+ Version: 2.5.2
12
+ Libs: -L${libdir} -lopenjp2
13
+ Libs.private: -lm
14
+ Cflags: -I${includedir}
15
+ Cflags.private: -DOPJ_STATIC
lib/pkgconfig/libpng.pc ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include/libpng16
5
+
6
+ Name: libpng
7
+ Description: Loads and saves PNG files
8
+ Version: 1.6.39
9
+ Requires.private: zlib
10
+ Libs: -L${libdir} -lpng16
11
+ Libs.private: -lm -lz -lm
12
+ Cflags: -I${includedir}
lib/pkgconfig/libpng16.pc ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include/libpng16
5
+
6
+ Name: libpng
7
+ Description: Loads and saves PNG files
8
+ Version: 1.6.39
9
+ Requires.private: zlib
10
+ Libs: -L${libdir} -lpng16
11
+ Libs.private: -lm -lz -lm
12
+ Cflags: -I${includedir}
lib/pkgconfig/libsharpyuv.pc ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include/webp
5
+
6
+ Name: libsharpyuv
7
+ Description: Library for sharp RGB to YUV conversion
8
+ Version: 1.3.2
9
+ Cflags: -I${includedir}
10
+ Libs: -L${libdir} -lsharpyuv
11
+ Libs.private: -lm -lpthread
lib/pkgconfig/libsodium.pc ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include
5
+
6
+ Name: libsodium
7
+ Version: 1.0.18
8
+ Description: A modern and easy-to-use crypto library
9
+
10
+ Libs: -L${libdir} -lsodium
11
+ Libs.private: -pthread
12
+ Cflags: -I${includedir}
lib/pkgconfig/libssl.pc ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include
5
+
6
+ Name: OpenSSL-libssl
7
+ Description: Secure Sockets Layer and cryptography libraries
8
+ Version: 3.5.2
9
+ Requires.private: libcrypto
10
+ Libs: -L${libdir} -lssl
11
+ Cflags: -I${includedir}
lib/pkgconfig/libswresample.pc ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib
4
+ includedir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/include
5
+
6
+ Name: libswresample
7
+ Description: FFmpeg audio resampling library
8
+ Version: 3.7.100
9
+ Requires:
10
+ Requires.private: libavutil >= 56.51.100
11
+ Conflicts:
12
+ Libs: -L${libdir} -lswresample
13
+ Libs.private: -lm
14
+ Cflags: -I${includedir}
lib/pkgconfig/libswscale.pc ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prefix=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe
2
+ exec_prefix=${prefix}
3
+ libdir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/lib
4
+ includedir=/home/aioz-nghiale/anaconda3/envs/testing_softzoo_pointe/include
5
+
6
+ Name: libswscale
7
+ Description: FFmpeg image rescaling library
8
+ Version: 5.7.100
9
+ Requires:
10
+ Requires.private: libavutil >= 56.51.100
11
+ Conflicts:
12
+ Libs: -L${libdir} -lswscale
13
+ Libs.private: -lm
14
+ Cflags: -I${includedir}