Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
ygopro
Commits
a4537fed
Commit
a4537fed
authored
Jul 16, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix macos libevent
parent
df4db7a9
Pipeline
#4143
passed with stages
in 63 minutes and 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
premake5.lua
premake5.lua
+1
-1
No files found.
.gitlab-ci.yml
View file @
a4537fed
...
@@ -184,7 +184,7 @@ exec_macos:
...
@@ -184,7 +184,7 @@ exec_macos:
-
obj/
-
obj/
script
:
script
:
-
git submodule update --init
-
git submodule update --init
-
brew install
libevent
dylibbundler
-
brew install dylibbundler
-
sudo cp -rf irrklang/bin/macosx-gcc/libirrklang.dylib /usr/local/lib/
-
sudo cp -rf irrklang/bin/macosx-gcc/libirrklang.dylib /usr/local/lib/
#- sudo cp -rf irrklang/include /usr/local/include/irrklang
#- sudo cp -rf irrklang/include /usr/local/include/irrklang
-
env YGOPRO_LIBEVENT_STATIC_PATH=$PWD/libevent-stable ./premake5 gmake --cc=clang
-
env YGOPRO_LIBEVENT_STATIC_PATH=$PWD/libevent-stable ./premake5 gmake --cc=clang
...
...
premake5.lua
View file @
a4537fed
...
@@ -70,8 +70,8 @@ end
...
@@ -70,8 +70,8 @@ end
defines
{
"LUA_USE_MACOSX"
,
"DBL_MAX_10_EXP=+308"
,
"DBL_MANT_DIG=53"
,
"GL_SILENCE_DEPRECATION"
}
defines
{
"LUA_USE_MACOSX"
,
"DBL_MAX_10_EXP=+308"
,
"DBL_MANT_DIG=53"
,
"GL_SILENCE_DEPRECATION"
}
if
not
LIBEVENT_ROOT
then
if
not
LIBEVENT_ROOT
then
includedirs
{
"/usr/local/include/event2"
}
includedirs
{
"/usr/local/include/event2"
}
libdirs
{
"/usr/local/lib"
}
end
end
libdirs
{
"/usr/local/lib"
}
buildoptions
{
"-stdlib=libc++"
}
buildoptions
{
"-stdlib=libc++"
}
if
MAC_ARM
then
if
MAC_ARM
then
buildoptions
{
"--target=arm64-apple-macos11"
}
buildoptions
{
"--target=arm64-apple-macos11"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment