aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorEric Joldasov <bratishkaerik@getgoogleoff.me>2023-05-14 22:59:30 +0600
committerAndrew Kelley <andrew@ziglang.org>2023-05-14 23:02:01 -0700
commit6f3dacc1073c30d10f640fe630580a4866cbd9db (patch)
treebc1602327e86cb4f58b66659ce1a3b94c8cab810 /build.zig
parent2516d8671faaaff7e8803a2025ba4891a6ae7c78 (diff)
downloadzig-6f3dacc1073c30d10f640fe630580a4866cbd9db.tar.gz
zig-6f3dacc1073c30d10f640fe630580a4866cbd9db.zip
CMakeLists.txt and build.zig: remove deprecated options
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig12
1 files changed, 1 insertions, 11 deletions
diff --git a/build.zig b/build.zig
index 208d06fe1d..a98845d6cc 100644
--- a/build.zig
+++ b/build.zig
@@ -28,11 +28,7 @@ pub fn build(b: *std.Build) !void {
const use_zig_libcxx = b.option(bool, "use-zig-libcxx", "If libc++ is needed, use zig's bundled version, don't try to integrate with the system") orelse false;
const test_step = b.step("test", "Run all the tests");
- const deprecated_skip_install_lib_files = b.option(bool, "skip-install-lib-files", "deprecated. see no-lib") orelse false;
- if (deprecated_skip_install_lib_files) {
- std.log.warn("-Dskip-install-lib-files is deprecated in favor of -Dno-lib", .{});
- }
- const skip_install_lib_files = b.option(bool, "no-lib", "skip copying of lib/ files and langref to installation prefix. Useful for development") orelse deprecated_skip_install_lib_files;
+ const skip_install_lib_files = b.option(bool, "no-lib", "skip copying of lib/ files and langref to installation prefix. Useful for development") orelse false;
const skip_install_langref = b.option(bool, "no-langref", "skip copying of langref to the installation prefix") orelse skip_install_lib_files;
const docgen_exe = b.addExecutable(.{
@@ -58,12 +54,6 @@ pub fn build(b: *std.Build) !void {
const docs_step = b.step("docs", "Build documentation");
docs_step.dependOn(&docgen_cmd.step);
- // This is for legacy reasons, to be removed after our CI scripts are upgraded to use
- // the file from the install prefix instead.
- const legacy_write_to_cache = b.addWriteFiles();
- legacy_write_to_cache.addCopyFileToSource(langref_file, "zig-cache/langref.html");
- docs_step.dependOn(&legacy_write_to_cache.step);
-
const check_case_exe = b.addExecutable(.{
.name = "check-case",
.root_source_file = .{ .path = "test/src/Cases.zig" },