| author | |
| committer | |
| log | 477798b37ec034bacb4502b481597317d3950481 |
| tree | 18c5823f874596a719c8196e5243928056646dce |
| parent | 540364e6c18e7acb744ba92b6d38dc1275fbcfa5 |
otherwise cross compiling gets incorrectly affected by the environment
variable.1 files changed, 3 insertions(+), 2 deletions(-)
ci/azure/macos_script+3-2| ... | ... | @@ -40,10 +40,11 @@ cmake .. \ |
| 40 | 40 | -DZIG_EXECUTABLE="$ZIG" \ |
| 41 | 41 | -DZIG_STATIC=ON |
| 42 | 42 | |
| 43 | # TODO unsetting this before `make install` is a workaround for Zig crashing | |
| 44 | # with "unable to exec C compiler". | |
| 43 | # Now cmake will use zig as the C/C++ compiler. We reset the environment variables | |
| 44 | # so that installation and testing do not get affected by them. | |
| 45 | 45 | unset CC |
| 46 | 46 | unset CXX |
| 47 | unset ZIG_LIBC | |
| 47 | 48 | |
| 48 | 49 | make $JOBS install |
| 49 | 50 | release/bin/zig build test |