[PATCH] D148146: [clang] Make make_cxx_dr_status script runnable from anywhere
Vlad Serebrennikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 12 10:46:24 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd945b6496ec6: [clang] Make make_cxx_dr_status script runnable from anywhere (authored by Endill).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148146/new/
https://reviews.llvm.org/D148146
Files:
clang/www/make_cxx_dr_status
Index: clang/www/make_cxx_dr_status
===================================================================
--- clang/www/make_cxx_dr_status
+++ clang/www/make_cxx_dr_status
@@ -2,10 +2,11 @@
import sys, os, re, urllib.request
-default_issue_list_path = 'cwg_index.html'
+clang_www_dir = os.path.dirname(__file__)
+default_issue_list_path = os.path.join(clang_www_dir, 'cwg_index.html')
issue_list_url = "https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_index.html"
-output = 'cxx_dr_status.html'
-dr_test_dir = '../test/CXX/drs'
+output = os.path.join(clang_www_dir, 'cxx_dr_status.html')
+dr_test_dir = os.path.join(clang_www_dir, '../test/CXX/drs')
class DR:
def __init__(self, section, issue, url, status, title):
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148146.512900.patch
Type: text/x-patch
Size: 726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230412/c0af05e2/attachment.bin>
More information about the cfe-commits
mailing list