Skip to content

Commit d361b6f

Browse files
Merge pull request #2 from NathanMOlson/windows-2022_v2
Windows 2022
2 parents 52bb610 + 39fe0c6 commit d361b6f

13 files changed

+507
-1
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build Python Wheels
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
python-wheels:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
- name: Setup Python
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: '3.12.10'
21+
- name: Install dependencies
22+
run: pip3 install wheel --break-system-packages
23+
- name: Build wheels
24+
run: python3 get_deps.py
25+
- name: Upload wheels
26+
uses: actions/upload-artifact@v4
27+
with:
28+
name: python_wheels
29+
path: |
30+
./*.whl
31+
./*.zip
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build Windows Dependencies
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
windows-dependencies:
13+
runs-on: windows-2022
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
18+
- name: Set up vcpkg
19+
run: |
20+
git clone https://github.com/microsoft/vcpkg.git
21+
.\vcpkg\bootstrap-vcpkg.bat
22+
23+
- name: Install vcpkg dependencies
24+
run: .\vcpkg\vcpkg.exe install --triplet x64-windows
25+
26+
- name: Export vcpkg dependencies
27+
run: .\vcpkg\vcpkg.exe export --zip --output=vcpkg-export --output-dir=.
28+
29+
- name: Upload artifact
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: vcpkg-env-x64-windows
33+
path: vcpkg-export.zip
-534 KB
Binary file not shown.

GDAL-3.2.3-cp38-cp38-win_amd64.whl

-21.7 MB
Binary file not shown.

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# windows-deps
22
Prebuilt Windows dependencies for ODM
33

4-
Mirrored from https://www.lfd.uci.edu/~gohlke/pythonlibs/
4+
Python dependencies are downloaded from https://www.lfd.uci.edu/~gohlke/pythonlibs/
5+
6+
To download them, run `python3 get_deps.py`. To change versions, change the values of `gdal_wheel_url`, `fiona_wheel_url`, `rasterio_wheel_url`, and `python_zip` in `get_deps.py`.
7+
8+
The github workflow `build_python_wheels.yaml` creates the python dependencies.
9+
The github workflow `build_vcpkg_env.yaml` creates the vcpkg dependencies.

cpl_config.h

Lines changed: 221 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,221 @@
1+
/* Generated by cmake */
2+
3+
#ifndef CPL_CONFIG_H
4+
#define CPL_CONFIG_H
5+
6+
#ifdef _MSC_VER
7+
# ifndef CPL_DISABLE_STDCALL
8+
# define CPL_STDCALL __stdcall
9+
# endif
10+
#endif
11+
12+
/* --prefix directory for GDAL install */
13+
#define GDAL_PREFIX "/usr/local"
14+
15+
/* The size of `int', as computed by sizeof. */
16+
#define SIZEOF_INT 4
17+
18+
/* The size of `unsigned long', as computed by sizeof. */
19+
#define SIZEOF_UNSIGNED_LONG 8
20+
21+
/* The size of `void*', as computed by sizeof. */
22+
#define SIZEOF_VOIDP 8
23+
24+
/* The size of `size_t', as computed by sizeof. */
25+
#define SIZEOF_SIZE_T 8
26+
27+
/* Whether `std::float16_t` is available (and working). */
28+
/* #undef HAVE_STD_FLOAT16_T */
29+
30+
/* Whether `_Float16' is supported. */
31+
/* #undef HAVE__FLOAT16 */
32+
33+
/* Define to 1, if you have LARGEFILE64_SOURCE */
34+
/* #undef VSI_NEED_LARGEFILE64_SOURCE */
35+
36+
/* Define to 1 if you want to use the -fvisibility GCC flag */
37+
#define USE_GCC_VISIBILITY_FLAG 1
38+
39+
/* Define to 1 if GCC atomic builtins are available */
40+
#define HAVE_GCC_ATOMIC_BUILTINS 1
41+
42+
/* Define to 1 if GCC bswap builtins are available */
43+
#define HAVE_GCC_BSWAP 1
44+
45+
/* Define to 1 if your processor stores words with the most significant byte
46+
first (like Motorola and SPARC, unlike Intel and VAX). */
47+
/* #undef WORDS_BIGENDIAN */
48+
49+
/* Define to name of 64bit stat structure */
50+
#define VSI_STAT64_T stat
51+
52+
/* Define to 1 if you have the `std::isnan' function. */
53+
#define HAVE_STD_IS_NAN 1
54+
55+
56+
#ifdef GDAL_COMPILATION
57+
58+
/* The size of `long int', as computed by sizeof. */
59+
#define SIZEOF_LONG_INT 8
60+
61+
/* Define if you want to use pthreads based multiprocessing support */
62+
#define CPL_MULTIPROC_PTHREAD 1
63+
64+
/* Define to 1 if you have the `PTHREAD_MUTEX_RECURSIVE' constant. */
65+
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
66+
67+
/* Define to 1 if you have the `PTHREAD_MUTEX_ADAPTIVE_NP' constant. */
68+
#define HAVE_PTHREAD_MUTEX_ADAPTIVE_NP 1
69+
70+
/* Define to 1 if you have the `pthread_spin_lock' function. */
71+
#define HAVE_PTHREAD_SPIN_LOCK 1
72+
73+
/* Define to 1 if you have the `pthread_atfork' function. */
74+
#define HAVE_PTHREAD_ATFORK 1
75+
76+
/* Define to 1 if you have the 5 args `mremap' function. */
77+
#define HAVE_5ARGS_MREMAP 1
78+
79+
/* Define to 1 if you have the <sys/random.h> header file. */
80+
#define HAVE_SYS_RANDOM_H 1
81+
82+
/* Define to 1 if you have the `getrandom' function. */
83+
#define HAVE_GETRANDOM 1
84+
85+
/* Define to 1 if you have the `getrlimit' function. */
86+
#define HAVE_GETRLIMIT 1
87+
88+
/* Define to 1 if you have the `RLIMIT_AS' constant. */
89+
#define HAVE_RLIMIT_AS 1
90+
91+
/* Define to 1 if you have the <direct.h> header file. */
92+
/* #undef HAVE_DIRECT_H */
93+
94+
/* Define to 1 if you have the <dlfcn.h> header file. */
95+
#define HAVE_DLFCN_H 1
96+
97+
/* Define to 1 if you have the <fcntl.h> header file. */
98+
#define HAVE_FCNTL_H 1
99+
100+
/* Define to 1 if you have the `getcwd' function. */
101+
#define HAVE_GETCWD 1
102+
103+
/* Define if you have the iconv() function and it works. */
104+
#define HAVE_ICONV 1
105+
106+
/* Define to 1 if the system has the type `__uint128_t'. */
107+
#define HAVE_UINT128_T 1
108+
109+
/* Define to 1 if you have the <locale.h> header file. */
110+
#define HAVE_LOCALE_H 1
111+
112+
/* Define to 1 if you have the <sys/stat.h> header file. */
113+
#define HAVE_SYS_STAT_H 1
114+
115+
/* Define to 1 if you have the <sys/types.h> header file. */
116+
#define HAVE_SYS_TYPES_H 1
117+
118+
/* Define to 1 if you have the <unistd.h> header file. */
119+
#define HAVE_UNISTD_H 1
120+
121+
/* Define to 1 if you have the <xlocale.h> header file. */
122+
/* #undef HAVE_XLOCALE_H */
123+
124+
/* Define to 1 if you have the `vsnprintf' function. */
125+
#define HAVE_VSNPRINTF 1
126+
127+
/* Define to 1 if you have the `readlink' function. */
128+
#define HAVE_READLINK 1
129+
130+
/* Define to 1 if you have the `posix_spawnp' function. */
131+
#define HAVE_POSIX_SPAWNP 1
132+
133+
/* Define to 1 if you have the `posix_memalign' function. */
134+
#define HAVE_POSIX_MEMALIGN 1
135+
136+
/* Define to 1 if you have the `vfork' function. */
137+
#define HAVE_VFORK 1
138+
139+
/* Define to 1 if you have the `mmap' function. */
140+
#define HAVE_MMAP 1
141+
142+
/* Define to 1 if you have the `sigaction' function. */
143+
#define HAVE_SIGACTION 1
144+
145+
/* Define to 1 if you have the `statvfs' function. */
146+
#define HAVE_STATVFS 1
147+
148+
/* Define to 1 if you have the `statvfs64' function. */
149+
#define HAVE_STATVFS64 1
150+
151+
/* Define to 1 if you have the `lstat' function. */
152+
#define HAVE_LSTAT 1
153+
154+
/* For .cpp files, define as const if the declaration of iconv() needs const. */
155+
#define ICONV_CPP_CONST
156+
157+
/* Define for Mac OSX Framework build */
158+
/* #undef MACOSX_FRAMEWORK */
159+
160+
/* Define to 1 if you have fseek64, ftell64 */
161+
#define UNIX_STDIO_64 1
162+
163+
/* Define to name of 64bit fopen function */
164+
#define VSI_FOPEN64 fopen64
165+
166+
/* Define to name of 64bit ftruncate function */
167+
#define VSI_FTRUNCATE64 ftruncate64
168+
169+
/* Define to name of 64bit fseek func */
170+
#define VSI_FSEEK64 fseeko64
171+
172+
/* Define to name of 64bit ftell func */
173+
#define VSI_FTELL64 ftello64
174+
175+
/* Define to name of 64bit stat function */
176+
#define VSI_STAT64 stat64
177+
178+
/* Use this file to override settings in instances where you're doing FAT compiles
179+
on Apple. It is currently off by default because it doesn't seem to work with
180+
newish ( XCode >= 3/28/11) XCodes */
181+
/* #include "cpl_config_extras.h" */
182+
183+
184+
/* Define to 1 if you have the _SC_PHYS_PAGES' constant. */
185+
#define HAVE_SC_PHYS_PAGES 1
186+
187+
/* Define to 1 if you have the `sched_getaffinity' function. */
188+
#define HAVE_SCHED_GETAFFINITY 1
189+
190+
/* Define to 1 if you have the `std::shared_mutex' function. */
191+
#define HAVE_SHARED_MUTEX 1
192+
193+
/* Define to 1 if you have the `uselocale' function. */
194+
#define HAVE_USELOCALE 1
195+
196+
/* Define to 1 if libc don't deprecate sprintf */
197+
#ifndef DONT_DEPRECATE_SPRINTF
198+
#define DONT_DEPRECATE_SPRINTF 0
199+
#endif
200+
201+
/* Define to 1 if the compiler supports -Wzero-as-null-pointer-constant */
202+
#define HAVE_GCC_WARNING_ZERO_AS_NULL_POINTER_CONSTANT 1
203+
204+
/* Define if building a static windows lib */
205+
/* #undef CPL_DISABLE_DLL */
206+
207+
/* Define to 1 if you have the <atlbase.h> header file. */
208+
/* #undef HAVE_ATLBASE_H */
209+
210+
/* Define to 1 if you have the `ctime_r' function. */
211+
#define HAVE_CTIME_R 1
212+
213+
/* Define to 1 if you have the `localtime_r' function. */
214+
#define HAVE_LOCALTIME_R 1
215+
216+
/* Define to 1 if you have the `gmtime_r' function. */
217+
#define HAVE_GMTIME_R 1
218+
219+
#endif /* GDAL_COMPILATION */
220+
221+
#endif
804 KB
Binary file not shown.
45.6 MB
Binary file not shown.

gdal_includes.txt

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
cpl_atomic_ops.h
2+
cpl_auto_close.h
3+
cpl_compressor.h
4+
cpl_config.h
5+
cpl_config_extras.h
6+
cpl_conv.h
7+
cpl_csv.h
8+
cpl_error.h
9+
cpl_hash_set.h
10+
cpl_http.h
11+
cpl_json.h
12+
cpl_list.h
13+
cpl_minixml.h
14+
cpl_minizip_ioapi.h
15+
cpl_minizip_unzip.h
16+
cpl_minizip_zip.h
17+
cpl_multiproc.h
18+
cpl_odbc.h
19+
cpl_port.h
20+
cpl_progress.h
21+
cpl_quad_tree.h
22+
cpl_spawn.h
23+
cpl_string.h
24+
cpl_time.h
25+
cpl_virtualmem.h
26+
cpl_vsi.h
27+
cpl_vsi_error.h
28+
cpl_vsi_virtual.h
29+
cplkeywordparser.h
30+
gdal.h
31+
gdal_alg.h
32+
gdal_alg_priv.h
33+
gdal_csv.h
34+
gdal_frmts.h
35+
gdal_fwd.h
36+
gdal_mdreader.h
37+
gdal_pam.h
38+
gdal_priv.h
39+
gdal_proxy.h
40+
gdal_rat.h
41+
gdal_simplesurf.h
42+
gdal_utils.h
43+
gdal_version.h
44+
gdal_vrt.h
45+
gdalcachedpixelaccessor.h
46+
gdalgeorefpamdataset.h
47+
gdalgrid.h
48+
gdalgrid_priv.h
49+
gdaljp2abstractdataset.h
50+
gdaljp2metadata.h
51+
gdalpansharpen.h
52+
gdalsubdatasetinfo.h
53+
gdalwarper.h
54+
gnm.h
55+
gnm_api.h
56+
gnmgraph.h
57+
memdataset.h
58+
ogr_api.h
59+
ogr_core.h
60+
ogr_feature.h
61+
ogr_featurestyle.h
62+
ogr_geocoding.h
63+
ogr_geomcoordinateprecision.h
64+
ogr_geometry.h
65+
ogr_p.h
66+
ogr_recordbatch.h
67+
ogr_spatialref.h
68+
ogr_srs_api.h
69+
ogr_swq.h
70+
ogrsf_frmts.h
71+
rawdataset.h
72+
vrtdataset.h

0 commit comments

Comments
 (0)