Skip to content

Commit f44337b

Browse files
committed
Bump gcc version
1 parent 03fafdc commit f44337b

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.github/workflows/it-build-release-actions.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ jobs:
2929
runs-on: ${{ matrix.os }}
3030
strategy:
3131
matrix:
32-
os: [ubuntu-latest, ubuntu-22.04, macos-13, macos-latest]
32+
os: [ubuntu-latest, ubuntu-22.04, macos-latest, macos-13]
3333
include:
3434
- os: ubuntu-latest
3535
target: linux
3636
- os: ubuntu-22.04
3737
target: ubuntu.22.04
38-
- os: macos-13
39-
target: darwin
4038
- os: macos-latest
41-
target: darwin.m1
39+
target: darwin
40+
- os: macos-13
41+
target: darwin.intel
4242
steps:
4343
- uses: actions/checkout@v4
4444
- name: Print gcc version
@@ -53,7 +53,7 @@ jobs:
5353
if: ${{ matrix.target == 'darwin' }}
5454
run: brew install gtk+3
5555
- name: Install GTK 3 (brew)
56-
if: ${{ matrix.target == 'darwin.m1' }}
56+
if: ${{ matrix.target == 'darwin.intel' }}
5757
run: brew install gtk+3
5858
- name: Make all
5959
run: make

docker/gcc-it-call.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
DEV_GCC_VERSION=14.2.0
3+
DEV_GCC_VERSION=15.1.0
44

55
docker build \
66
--build-arg dev_gcc_version=$DEV_GCC_VERSION \

idlist.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#include "idlist.h"
22
#include <glib.h>
3-
#include <stdio.h>
43

54
id_list *id_list_new() {
65
id_list *list = g_malloc(sizeof(id_list));

makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ CFLAGS=$(shell pkg-config --cflags gtk+-3.0)
22
LDFLAGS=$(shell pkg-config --libs gtk+-3.0)
33

44
it: call.o draw.o event.o idlist.o io.o layout.o main.o menu.o pipe.o version.o window.o
5-
gcc -o it call.o draw.o event.o idlist.o io.o layout.o main.o menu.o pipe.o version.o window.o $(LDFLAGS) -Wall -Ofast
5+
gcc -o it call.o draw.o event.o idlist.o io.o layout.o main.o menu.o pipe.o version.o window.o $(LDFLAGS) -Wall -O3 -ffast-math -lm
66

77
%.o: %.c terminal.h idlist.h
8-
gcc -c $(CFLAGS) -Wall -Ofast $<
8+
gcc -c $(CFLAGS) -Wall -O3 -ffast-math $<
99

1010
clean:
1111
rm *.o

0 commit comments

Comments
 (0)