Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config for macOS with M1 #7

Open
KomaGR opened this issue Jul 12, 2024 · 0 comments · May be fixed by #8
Open

Add config for macOS with M1 #7

KomaGR opened this issue Jul 12, 2024 · 0 comments · May be fixed by #8

Comments

@KomaGR
Copy link

KomaGR commented Jul 12, 2024

It would be useful to have a build configuration ready-to-go for M1 Macs. I tried it with GCC with the same flags as x86-64 and it seems to work.

CC			= gcc
CXX			= g++
OBJECTEXTENSION		= o
GAWK			= gawk
SPLINT			= splint
LCLINT			= lclint
LD			= g++
AR			= /usr/bin/ar
RANLIB			= /usr/bin/ranlib
BISON			= bison
FLEXFLAGS		= -DFLEX64
PLATFORM_CFLAGS 	=
PLATFORM_LFLAGS 	= -framework OpenCL
PLATFORM_OPTFLAGS	= -O0

KomaGR added a commit to KomaGR/libflex that referenced this issue Jul 12, 2024
@KomaGR KomaGR linked a pull request Jul 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant