Skip to content

Commit e2e0b6f

Browse files
committed
Upgrade the wrapper script and rework the pacakge for multi-platform support
1 parent ee2410e commit e2e0b6f

34 files changed

+27258
-3022
lines changed

gen/Project.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[deps]
2+
Clang = "40e3b903-d033-50b4-a0cc-940c62c95e31"
3+
LibCURL_jll = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0"
4+
MozillaCACerts_jll = "14a3606d-f60d-562e-9121-12d972cd8159"
5+
6+
[compat]
7+
LibCURL_jll = "7.66"
8+
MozillaCACerts_jll = ">= 2020"

gen/configs/aarch64-linux-gnu.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[general]
2+
library_name = "libcurl"
3+
output_file_path = "../src/wrappers/aarch64-linux-gnu.jl"
4+
5+
use_julia_native_enum_type = true
6+
use_deterministic_symbol = true
7+
auto_mutability = true
8+
9+
printer_blacklist = [
10+
"CURL_SUFFIX_CURL_OFF_T",
11+
"CURL_SUFFIX_CURL_OFF_TU",
12+
"CURL_ZERO_TERMINATED",
13+
]
14+
15+
[codegen.macro]
16+
macro_mode = "basic"

gen/configs/aarch64-linux-musl.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[general]
2+
library_name = "libcurl"
3+
output_file_path = "../src/wrappers/aarch64-linux-musl.jl"
4+
5+
use_julia_native_enum_type = true
6+
use_deterministic_symbol = true
7+
auto_mutability = true
8+
9+
printer_blacklist = [
10+
"CURL_SUFFIX_CURL_OFF_T",
11+
"CURL_SUFFIX_CURL_OFF_TU",
12+
"CURL_ZERO_TERMINATED",
13+
]
14+
15+
[codegen.macro]
16+
macro_mode = "basic"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[general]
2+
library_name = "libcurl"
3+
output_file_path = "../src/wrappers/armv7l-linux-gnueabihf.jl"
4+
5+
use_julia_native_enum_type = true
6+
use_deterministic_symbol = true
7+
auto_mutability = true
8+
9+
printer_blacklist = [
10+
"CURL_SUFFIX_CURL_OFF_T",
11+
"CURL_SUFFIX_CURL_OFF_TU",
12+
"CURL_ZERO_TERMINATED",
13+
]
14+
15+
[codegen.macro]
16+
macro_mode = "basic"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[general]
2+
library_name = "libcurl"
3+
output_file_path = "../src/wrappers/armv7l-linux-musleabihf.jl"
4+
5+
use_julia_native_enum_type = true
6+
use_deterministic_symbol = true
7+
auto_mutability = true
8+
9+
printer_blacklist = [
10+
"CURL_SUFFIX_CURL_OFF_T",
11+
"CURL_SUFFIX_CURL_OFF_TU",
12+
"CURL_ZERO_TERMINATED",
13+
]
14+
15+
[codegen.macro]
16+
macro_mode = "basic"

gen/configs/i686-linux-gnu.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[general]
2+
library_name = "libcurl"
3+
output_file_path = "../src/wrappers/i686-linux-gnu.jl"
4+
5+
use_julia_native_enum_type = true
6+
use_deterministic_symbol = true
7+
auto_mutability = true
8+
9+
printer_blacklist = [
10+
"CURL_SUFFIX_CURL_OFF_T",
11+
"CURL_SUFFIX_CURL_OFF_TU",
12+
"CURL_ZERO_TERMINATED",
13+
]
14+
15+
[codegen.macro]
16+
macro_mode = "basic"

gen/configs/i686-linux-musl.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[general]
2+
library_name = "libcurl"
3+
output_file_path = "../src/wrappers/i686-linux-musl.jl"
4+
5+
use_julia_native_enum_type = true
6+
use_deterministic_symbol = true
7+
auto_mutability = true
8+
9+
printer_blacklist = [
10+
"CURL_SUFFIX_CURL_OFF_T",
11+
"CURL_SUFFIX_CURL_OFF_TU",
12+
"CURL_ZERO_TERMINATED",
13+
]
14+
15+
[codegen.macro]
16+
macro_mode = "basic"

gen/configs/i686-w64-mingw32.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[general]
2+
library_name = "libcurl"
3+
output_file_path = "../src/wrappers/i686-w64-mingw32.jl"
4+
5+
use_julia_native_enum_type = true
6+
use_deterministic_symbol = true
7+
auto_mutability = true
8+
9+
printer_blacklist = [
10+
"CURL_SUFFIX_CURL_OFF_T",
11+
"CURL_SUFFIX_CURL_OFF_TU",
12+
"CURL_ZERO_TERMINATED",
13+
]
14+
15+
[codegen.macro]
16+
macro_mode = "basic"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[general]
2+
library_name = "libcurl"
3+
output_file_path = "../src/wrappers/powerpc64le-linux-gnu.jl"
4+
5+
use_julia_native_enum_type = true
6+
use_deterministic_symbol = true
7+
auto_mutability = true
8+
9+
printer_blacklist = [
10+
"CURL_SUFFIX_CURL_OFF_T",
11+
"CURL_SUFFIX_CURL_OFF_TU",
12+
"CURL_ZERO_TERMINATED",
13+
]
14+
15+
[codegen.macro]
16+
macro_mode = "basic"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[general]
2+
library_name = "libcurl"
3+
output_file_path = "../src/wrappers/x86_64-apple-darwin14.jl"
4+
5+
use_julia_native_enum_type = true
6+
use_deterministic_symbol = true
7+
auto_mutability = true
8+
9+
printer_blacklist = [
10+
"CURL_SUFFIX_CURL_OFF_T",
11+
"CURL_SUFFIX_CURL_OFF_TU",
12+
"CURL_ZERO_TERMINATED",
13+
]
14+
15+
[codegen.macro]
16+
macro_mode = "basic"

0 commit comments

Comments
 (0)