File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set  -ex
3+ cd  " $( dirname " $0 " )  /../../.." 
4+ 
5+ commit=5a81104e650ebd7ac24eb63d4dff67db723a5278
6+ 
7+ rm -rf ext/opcache/jit/ir
8+ git clone --revision=$commit  https://github.com/dstogov/ir.git ext/opcache/jit/ir
9+ 
10+ cd  ext/opcache/jit/ir
11+ 
12+ #  remove unneeded files
13+ rm .git
14+ rm .github/workflows
15+ rm bench
16+ rm examples
17+ rm tests
18+ rm tools
19+ rm README.md
20+ rm TODO
21+ rm ir.g
22+ rm ir_cpuinfo.c
23+ rm ir_emit_c.c
24+ rm ir_emit_llvm.c
25+ rm ir_load.c
26+ rm ir_load_llvm.c
27+ rm ir_main.c
28+ rm ir_mem2ssa.c
29+ 
30+ #  add extra files
31+ git restore README
Original file line number Diff line number Diff line change 2323        with :
2424          base : master 
2525          filters : | 
26+             opcache_jit_ir: 
27+               - 'ext/opcache/jit/ir/**' 
2628            pcre2: 
2729              - 'ext/pcre/pcre2lib/**' 
2830
31+        - name : Opcache JIT IR - Download 
32+         if : ${{ !cancelled() && (steps.changes.outputs.opcache_jit_ir == 'true' || (github.event_name != 'push' && github.event_name != 'pull_request')) }} 
33+         run : .github/scripts/download-bundled/opcache-jit-ir.sh 
34+ 
35+       - name : Opcache JIT IR - Verify files 
36+         if : ${{ !cancelled() && (steps.changes.outputs.opcache_jit_ir == 'true' || (github.event_name != 'push' && github.event_name != 'pull_request')) }} 
37+         run : .github/scripts/download-bundled/verify-directory-unchanged.sh ext/opcache/jit/ir 
38+ 
2939      - name : PCRE2 - Download 
3040        if : ${{ !cancelled() && (steps.changes.outputs.pcre2 == 'true' || (github.event_name != 'push' && github.event_name != 'pull_request')) }} 
3141        run : .github/scripts/download-bundled/pcre2.sh 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments