Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c8667f2
add ddoc for some func
gorsing Jul 1, 2025
c051b27
rewrite
gorsing Jul 1, 2025
47e504a
fix after review
gorsing Jul 2, 2025
9857a52
fix after review
gorsing Jul 2, 2025
3ae0fa0
fix after review
gorsing Jul 2, 2025
0d1d3b8
Merge branch 'dlang:master' into master
gorsing Jul 7, 2025
f64dcd4
Merge branch 'dlang:master' into master
gorsing Jul 10, 2025
c7f154f
Merge branch 'dlang:master' into master
gorsing Jul 12, 2025
2b30d14
Merge branch 'dlang:master' into master
gorsing Jul 14, 2025
668f726
refactor/irstate-attrs
gorsing Jul 14, 2025
dccd3a6
refactoring
gorsing Jul 14, 2025
3a10958
add pragma(inline, true)
gorsing Jul 14, 2025
3118f2f
change pragma(inline, true) -> pragma(inline, false)
gorsing Jul 14, 2025
07ec4d6
Merge branch 'dlang:master' into master
gorsing Jul 14, 2025
45ca953
Merge branch 'dlang:master' into master
gorsing Jul 15, 2025
3f72b64
revent
gorsing Jul 15, 2025
55cc867
Merge branch 'dlang:master' into master
gorsing Jul 15, 2025
9d92140
Merge branch 'dlang:master' into master
gorsing Jul 16, 2025
7a81c97
Merge branch 'dlang:master' into master
gorsing Jul 17, 2025
a13aba5
Merge branch 'dlang:master' into master
gorsing Jul 22, 2025
8b13781
Merge branch 'dlang:master' into master
gorsing Jul 22, 2025
98e92fb
Merge branch 'dlang:master' into master
gorsing Jul 23, 2025
3319a8e
refactor: pass template params by ref (#16)
gorsing Jul 23, 2025
ef9d6da
Revert "refactor: pass template params by ref (#16)" (#17)
gorsing Jul 23, 2025
dbf3819
Merge branch 'dlang:master' into master
gorsing Jul 23, 2025
3aa85c8
GDC CICD.yml
gorsing Jul 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: GDC Build CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y build-essential g++ gawk flex bison \
libgmp-dev libmpfr-dev libmpc-dev texinfo python3

- name: Checkout GCC repo
uses: actions/checkout@v4
with:
submodules: true # если GDC как submodule в ./d

- name: Download GCC prerequisites
run: |
./contrib/download_prerequisites

- name: Setup GDC frontend
run: |
cd d
./setup-gcc.sh ..

- name: Configure GCC build
run: |
mkdir build
cd build
../configure --enable-languages=d,c \
--disable-bootstrap \
--disable-multilib \
--disable-nls \
--disable-libssp \
--disable-libquadmath \
--disable-libgomp

- name: Build GDC
run: |
cd build
make -j$(nproc)

- name: Check gdc version
run: |
cd build/gcc
./gdc --version
2 changes: 1 addition & 1 deletion compiler/src/dmd/toir.d
Original file line number Diff line number Diff line change
Expand Up @@ -1208,4 +1208,4 @@ RET retStyle(TypeFunction tf, bool needsThis)
{
//printf("TypeFunction.retStyle() %s\n", toChars());
return target.isReturnOnStack(tf, needsThis) ? RET.stack : RET.regs;
}
}
Loading