[llvm] 82811a8 - [gn] fix minor mistake from f7cb1afa0633

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 06:43:33 PST 2024


Author: Nico Weber
Date: 2024-01-17T06:43:22-08:00
New Revision: 82811a8f50f7a8a2afab3207f51670a7d9b57d4d

URL: https://github.com/llvm/llvm-project/commit/82811a8f50f7a8a2afab3207f51670a7d9b57d4d
DIFF: https://github.com/llvm/llvm-project/commit/82811a8f50f7a8a2afab3207f51670a7d9b57d4d.diff

LOG: [gn] fix minor mistake from f7cb1afa0633

The script printed two `/` when one suffices.

Added: 
    

Modified: 
    llvm/utils/gn/build/sync_source_lists_from_cmake.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/build/sync_source_lists_from_cmake.py b/llvm/utils/gn/build/sync_source_lists_from_cmake.py
index 411f8f762430ea2..aada38bebd42170 100755
--- a/llvm/utils/gn/build/sync_source_lists_from_cmake.py
+++ b/llvm/utils/gn/build/sync_source_lists_from_cmake.py
@@ -123,7 +123,7 @@ def by_rev(files, key):
 
     # Output necessary changes grouped by revision.
     for rev in sorted(changes_by_rev):
-        commit_url = 'https://github.com/llvm/llvm-project/commit/'
+        commit_url = 'https://github.com/llvm/llvm-project/commit'
         print("[gn build] Port {0} -- {1}/{0}".format(rev, commit_url))
         for gn_file, data in sorted(changes_by_rev[rev].items()):
             add = data.get("add", [])


        


More information about the llvm-commits mailing list