Comments (23)
Yes indeed! I've modified the build script to generate the library from https://github.com/cocos2d/glsl-optimizer. Tomorrow I'll clean the scripts, modify the distribution scripts and make sure these only can be build for iOS and OSX.
From there the buildscripts should basically download and build everything (except perhaps luajit a I just cannot get those to work).
from 1kiss.
Done. Last commit in my fork should now also generate glsl-optimizer libraries and add them to the release zip. Again I did not look at the Powershell scripts as I do not have a Windows computer or VM available for that.
from 1kiss.
No worries, I will fix it
from 1kiss.
Good job
from 1kiss.
Buildware is by the way not entirely complete as for Mac and iOS glsl_optimizer (libglcpp-library, libglsl-optimizer.a and libmesa.a) is missing. I've build these for Mac using https://github.com/aras-p/glsl-optimizer (and just change target in xcode to standard platforms; intel and apple silicon).
from 1kiss.
The glsl-optimizer support cmake, maybe could be add to buildware also.
from 1kiss.
The glsl-optimizer only for mac/ios, so no needs to build windows for it.
from 1kiss.
Seems we can't cross compile osx arm64(M1) through github actions:
from 1kiss.
Apple M1 support is in github action roadmap, but not complete yet, refer to: github/roadmap#528
from 1kiss.
from 1kiss.
Let us wait the latest action finished and dist again
from 1kiss.
Yes, maybe script error for openssl:
CONFIG_ALL_OPTIONS=darwin64-x86_64-cc no-tests no-comp no-async no-shared --prefix=/Users/runner/work/buildware/buildware/install_osx_arm64/openssl --openssldir=/Users/runner/work/buildware/buildware/install_osx_arm64/openssl
from 1kiss.
from 1kiss.
Yes, the github action only provide macos x86_64 vm currently
from 1kiss.
from 1kiss.
The logic check seems incorrect:
https://github.com/axys1/buildware/blob/main/1k/build1.sh#L78
from 1kiss.
Just ran it again in my x64 Mac and my latest commit also fixes it. No need for an M1 runner 😉
from 1kiss.
The openssl osx arm64 seems still failed:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
^
from 1kiss.
Might be due to the MacOS version of the runner and the commandline tools. Catelina does not support arm64 (only Big Sur and up). The scripts run correctly on a MacOS 12.5 system (Monterey). If you want I can run them for you.
from 1kiss.
MacOSX10.15.sdk is too "old".
from 1kiss.
OK, I upgrade it, and works on github action: https://github.com/axys1/buildware/actions/runs/2849072550
from 1kiss.
Looks like it worked 👍
from 1kiss.
from 1kiss.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 1kiss.