From 166a7485ef40ee456b438a31607c9823b0339c87 Mon Sep 17 00:00:00 2001 From: Andrew Adams Date: Thu, 20 Oct 2022 09:56:02 -0700 Subject: [PATCH] Fix some dead links to the 'master' branch --- README_cmake.md | 6 +++--- README_python.md | 2 +- apps/bgu/bgu_generator.cpp | 2 +- python_bindings/test/correctness/extern.py | 2 -- tutorial/lesson_11_cross_compilation.cpp | 2 +- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README_cmake.md b/README_cmake.md index 32846c159a78..920d8583571f 100644 --- a/README_cmake.md +++ b/README_cmake.md @@ -935,8 +935,8 @@ generators were imported (and hence won't be built). Otherwise, it will be set to false. This variable may be used to conditionally set properties on ``. -Please see [test/integration/xc](https://github.com/halide/Halide/tree/master/test/integration/xc) for a simple example -and [apps/hannk](https://github.com/halide/Halide/tree/master/apps/hannk) for a complete app that uses it extensively. +Please see [test/integration/xc](https://github.com/halide/Halide/tree/main/test/integration/xc) for a simple example +and [apps/hannk](https://github.com/halide/Halide/tree/main/apps/hannk) for a complete app that uses it extensively. If `PYSTUB` is specified, then a Python Extension will be built that wraps the Generator with CPython glue to allow use of the Generator @@ -1190,7 +1190,7 @@ without broader approval. Confine dependencies to the `dependencies/` subtree. Any variables that are specific to languages that are not enabled should, of course, be avoided. But of greater concern are variables that are easy to misuse or should not be overridden for our end-users. The following (non-exhaustive) -list of variables shall not be used in code merged into master. +list of variables shall not be used in code merged into main. | Variable | Reason | Alternative | |---------------------------------|-----------------------------------------------|---------------------------------------------------------------------------------------------------------| diff --git a/README_python.md b/README_python.md index d46fedfc7af5..50de16f38f2d 100644 --- a/README_python.md +++ b/README_python.md @@ -772,7 +772,7 @@ in future releases. ## License The Python bindings use the same -[MIT license](https://github.com/halide/Halide/blob/master/LICENSE.txt) as +[MIT license](https://github.com/halide/Halide/blob/main/LICENSE.txt) as Halide. Python bindings provided by Connelly Barnes (2012-2013), Fred Rotbart (2014), diff --git a/apps/bgu/bgu_generator.cpp b/apps/bgu/bgu_generator.cpp index 1b2cff5b1dc7..653e5ed87c5a 100644 --- a/apps/bgu/bgu_generator.cpp +++ b/apps/bgu/bgu_generator.cpp @@ -1,6 +1,6 @@ // A Halide implementation of bilateral-guided upsampling. -// Adapted from https://github.com/google/bgu/blob/master/src/halide/bgu.cpp +// Adapted from https://github.com/google/bgu/tree/master/src/halide // Copyright 2016 Google Inc. // diff --git a/python_bindings/test/correctness/extern.py b/python_bindings/test/correctness/extern.py index 2b8d8c52dad6..32fa55290a07 100644 --- a/python_bindings/test/correctness/extern.py +++ b/python_bindings/test/correctness/extern.py @@ -50,8 +50,6 @@ def test_extern(): assert False, 'Did not see expected exception!' lib_path = "the_sort_function.so" - #lib_path = "/home/rodrigob/code/references/" \ - # "Halide_master/python_bindings/tests/the_sort_function.nohere.so" load_error = load_library_into_llvm(lib_path) assert load_error == False diff --git a/tutorial/lesson_11_cross_compilation.cpp b/tutorial/lesson_11_cross_compilation.cpp index 63652f7078fc..8cf3b050d39c 100644 --- a/tutorial/lesson_11_cross_compilation.cpp +++ b/tutorial/lesson_11_cross_compilation.cpp @@ -147,7 +147,7 @@ int main(int argc, char **argv) { // toolchain. There are several small examples of this in the // Halide repository under the apps folder. See HelloAndroid and // HelloiOS here: - // https://github.com/halide/Halide/tree/master/apps/ + // https://github.com/halide/Halide/tree/main/apps/ printf("Success!\n"); return 0; }