sonoro1234 / MyUGens

Supercollider plugins
16 stars 0 forks source link

Does not build on arm #5

Closed madskjeldgaard closed 3 years ago

madskjeldgaard commented 3 years ago

Hello!

First of all thank you for these awesome plugins! I've added them to the AUR so that users on arch based systems can install simply by invoking yay -S supercolider-sonoro1234-ugens-git.

I discovered an issue though when building on arm (raspberry pi 4/arch linux):

c++: error: unrecognized command-line option '-msse2'
c++: error: unrecognized command-line option '-mstackrealign'
c++: error: unrecognized command-line option '-mfpmath=sse'
make[2]: *** [DWGClarinet/CMakeFiles/DWGClarinet.dir/build.make:76: DWGClarinet/CMake
Files/DWGClarinet.dir/DWGClarinet.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:296: DWGClarinet/CMakeFiles/DWGClarinet.dir/all] E
rror 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
sonoro1234 commented 3 years ago

Can you try https://github.com/sonoro1234/MyUGens/tree/armcompile ?

madskjeldgaard commented 3 years ago

Can you try https://github.com/sonoro1234/MyUGens/tree/armcompile ?

Yep it gets a lot further with this, but still not there yet:

[ 80%] Built target MembraneV
[ 84%] Building CXX object MyPlucked/CMakeFiles/MyPlucked.dir/MyPlucked.cpp.o
c++: error: unrecognized command-line option '-msse2'
c++: error: unrecognized command-line option '-mstackrealign'
c++: error: unrecognized command-line option '-mfpmath=sse'
make[2]: *** [MyPlucked/CMakeFiles/MyPlucked.dir/build.make:76: MyPlucked/CMakeFiles/MyPlucked.dir/MyPlucked.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:556: MyPlucked/CMakeFiles/MyPlucked.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'supercollider-sonoro1234-ugens-git-r52.373594f-1':
:: Packages failed to build: supercollider-sonoro1234-ugens-git-r52.373594f-1
sonoro1234 commented 3 years ago

could you try now? (submodule update needed for dwgreverb)

madskjeldgaard commented 3 years ago

[ 88%] Built target MyPlucked [ 92%] Building CXX object DWGReverb/CMakeFiles/DWGReverb.dir/PartitionedConvolutionTrig.cpp.o c++: error: unrecognized command-line option '-msse2' c++: error: unrecognized command-line option '-mstackrealign' c++: error: unrecognized command-line option '-mfpmath=sse' make[2]: [DWGReverb/CMakeFiles/DWGReverb.dir/build.make:76: DWGReverb/CMakeFiles/DWGReverb.dir/PartitionedConvolutionTrig.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:582: DWGReverb/CMakeFiles/DWGReverb.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'supercollider-sonoro1234-ugens-git-r52.373594f-1': :: Packages failed to build: supercollider-sonoro1234-ugens-git-r52.373594f-1

madskjeldgaard commented 3 years ago

It reaches dwgreverb now but then fails. So it's almost working !

sonoro1234 commented 3 years ago

Dwgreverb should not fail. use submodule update or delete repo and fresh new clone, please.

madskjeldgaard commented 3 years ago

Ah sorry I reviewed submodules before checking out this branch. Works now !

sonoro1234 commented 3 years ago

@madskjeldgaard Thanks for reporting and testing. Fixed now in master.

madskjeldgaard commented 3 years ago

Thanks !