sroeper commented on issue #4524: URL: https://github.com/apache/netbeans/issues/4524#issuecomment-1734183792
Ok, may be it's time to give something back. Fixing the profiler is pretty easy, but I have no clue how to make a push request. So here it comes: The profiler lib is build by a shell script: netbeans/profiler/lib.profiler/native/scripts/buildnative-mac.sh This file seems to be a little bit too old. The author didn't know at that time how to build a universal library for arm64 and x86_64. The build produces a library with support for i386, ppc, ppc64 and x86_64. Because Apple drop the support for ppc and i386 we should not longer support them (no chance to update the code). As a result we can focus on building a library for x86_64 and arm64. This is what I have done. I tested the library with NB19 with success (even if I am not totally clear why there is a jdk16 dependency...). New build file is attached. If someone would be so kind to integrate that into the right repository it would be fixed for the next build. Even better would be of course if someone with more knowledge checks if the jdk15/jdk16 thing is still ok. Here is the build file: [buildnative-mac.sh.zip](https://github.com/apache/netbeans/files/12717969/buildnative-mac.sh.zip) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
