-
Notifications
You must be signed in to change notification settings - Fork 23
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
Script for building dependencies remove x86 binaries #29
base: master
Are you sure you want to change the base?
Script for building dependencies remove x86 binaries #29
Conversation
CMake is used to build static library version of ogg, vorbis, flac, opus, sndfile. Signed-off-by: Francesco Giancane <[email protected]>
Import `flac`, `libsndfile`, `ogg`, `opus` and `vorbis` libraries Signed-off-by: Francesco Giancane <[email protected]>
Signed-off-by: Francesco Giancane <[email protected]>
Do not track logs and sysroot folder Signed-off-by: Francesco Giancane <[email protected]>
Signed-off-by: Francesco Giancane <[email protected]>
Newly built libraries are placed in sysroot folder now. Signed-off-by: Francesco Giancane <[email protected]>
Please find attached here the PR for |
Signed-off-by: Francesco Giancane <[email protected]>
Thank you, this is a good idea. As of Mednafen 1.27.0 the dependency on libsndfile was removed, so now only libFLAC (including libogg) is necessary. If you want to rework this PR or start a new one for handling those we'd really appreciate it. By the way, if you find a certain core is not compiling while trying to build OpenEmu + all the cores, simply edit the current scheme in Xcode (Product > Scheme > Edit Scheme) and remove the offending one, or better yet just remove them all and leave Mednafen so you can test faster. |
hi @clobber , I am no expert in Xcode, but I can write CMakes... Do you think could be of interest to organize source code so that it builds with CMake (generating Xcode project files on the fly?) |
Hello,
This is a WIP. Please add comments and suggestions as required.
I noticed that old versions of libraries (
FLAC
,ogg
,Vorbis
,libsndfile
) are bundled together and committed as binary files.Looking ahead when OpenEmu would run on ARM 64bit those files would be useless.
I produced and included a script (found in
deps/
) capable of building the aforementioned libraries usingCMake
(note thatogg
library does not install properly headers... a pull request was already opened).The general idea of the script is to generate static libraries locally before running the XCode build. The script was tested on an intel MBP 15".
I am currently not able to build OpenEmu (N64 core is failing) so it may be possible that this PR requires further editing.