File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ pub fn build(b: *std.Build) !void {
22
22
23
23
const config_header = getConfigHeader (b , t );
24
24
25
- // zig build of python
26
25
const libpython = try buildLibPython (b , target , optimize , config_header );
27
26
libpython .linkLibrary (libz_dep .artifact ("z" ));
28
27
libpython .linkLibrary (openssl_dep .artifact ("openssl" ));
@@ -92,6 +91,7 @@ const examples = [_]Example{
92
91
.desc = "Basic eval of python program in a string" ,
93
92
},
94
93
};
94
+
95
95
fn addIncludes (
96
96
b : * std.Build ,
97
97
step : * Step.Compile ,
@@ -103,6 +103,7 @@ fn addIncludes(
103
103
step .addConfigHeader (config_header );
104
104
}
105
105
106
+ /// Build standalone python exectuable
106
107
fn buildCpython (
107
108
b : * std.Build ,
108
109
target : std.Build.ResolvedTarget ,
@@ -132,7 +133,7 @@ fn buildCpython(
132
133
return cpython ;
133
134
}
134
135
135
- // https://github.com/Rexicon226/zig-cpython/blob/master/build.zig
136
+ /// Build python as static lib
136
137
fn buildLibPython (
137
138
b : * std.Build ,
138
139
target : std.Build.ResolvedTarget ,
You can’t perform that action at this time.
0 commit comments