Skip to content

Commit ee22665

Browse files
authored
Standardize of README.md for emscripten-specific readme files. NFC (emscripten-core#27296)
1 parent d7ab361 commit ee22665

17 files changed

Lines changed: 27 additions & 5 deletions

File tree

File renamed without changes.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
Files in this directory are not strictly standard musl libc, but implemented here for compatibility for Emscripten purposes.
1+
Files in this directory are not strictly standard musl libc, but implemented
2+
here for compatibility for Emscripten purposes.
23

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

system/lib/llvm-openmp/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
llvm's OpenMP
2+
-----------
3+
4+
These files are from the llvm-project based on release 21.1.8.
5+
6+
We maintain a local fork of llvm-project that contains any Emscripten
7+
specific patches:
8+
9+
https://github.com/emscripten-core/llvm-project
10+
11+
The current patch is based on the emscripten-libs-21 branch.
12+
13+
Update Instructions
14+
-------------------
15+
16+
Run `system/lib/update_llvm_openmp.py path/to/llvm-project`
17+
18+
Modifications
19+
-------------
20+
21+
For a list of changes from upstream see the OpenMP files that are part of:
22+
23+
https://github.com/llvm/llvm-project/compare/llvmorg-21.1.8...emscripten-core:emscripten-libs-21

system/lib/update_common.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,9 @@ def get_llvm_version(upstream_dir):
6868

6969

7070
def update_readme(local_dir, llvm_dir):
71-
readme_path = os.path.join(local_dir, 'readme.txt')
71+
readme_path = os.path.join(local_dir, 'README.md')
7272
if not os.path.exists(readme_path):
73-
readme_path = os.path.join(local_dir, 'README.txt')
74-
if not os.path.exists(readme_path):
75-
return
73+
return
7674

7775
with open(readme_path, 'r') as f:
7876
content = f.read()
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)