[omniORB] Omniorb osx-arm64 cross compilation

Benjamin Bertrand benjamin.bertrand at maxiv.lu.se
Mon Oct 17 11:14:53 UTC 2022


Hello,

I have been trying to create a conda package of omniorb for Apple M1.
On conda-forge we currently have to cross-compile.
The compilation is successful, but I noticed that many files are missing (the COS include and libs, the bin and python omniidl module) compared to the intel version:

diff -u osx_64/omniorb-libs/files osx_arm64/omniorb-libs/files
--- osx_64/omniorb-libs/files       2022-05-10 12:47:44.000000000 +0200
+++ osx_arm64/omniorb-libs/files            2022-05-10 14:01:24.000000000 +0200
@@ -1,13 +1,3 @@
-include/COS/COS_sysdep.h
-include/COS/CosEventChannelAdmin.hh
-include/COS/CosEventComm.hh
-include/COS/CosLifeCycle.hh
-include/COS/CosNotification.hh
-include/COS/CosNotifyChannelAdmin.hh
-include/COS/CosNotifyComm.hh
-include/COS/CosNotifyFilter.hh
-include/COS/CosTime.hh
-include/COS/TimeBase.hh
include/omniORB4/BiDirPolicy.h
include/omniORB4/CORBA.h
include/omniORB4/CORBA_AbstractBase.h
@@ -196,12 +186,6 @@
include/omnithread/nt.h
include/omnithread/posix.h
include/omnithread/pthread_nt.h
-lib/libCOS4.2.5.dylib
-lib/libCOS4.2.dylib
-lib/libCOS4.dylib
-lib/libCOSDynamic4.2.5.dylib
-lib/libCOSDynamic4.2.dylib
-lib/libCOSDynamic4.dylib
lib/libomniCodeSets4.2.5.dylib
lib/libomniCodeSets4.2.dylib
lib/libomniCodeSets4.dylib

-bin/catior
-bin/convertior
-bin/genior
-bin/nameclt
-bin/omkdepend
-bin/omniMapper
-bin/omniNames
-bin/omnicpp
-bin/omniidl
-bin/omniidlrun.py

Full log: https://dev.azure.com/conda-forge/84710dde-1620-425b-80d0-4cf5baca359d/_apis/build/builds/508418/logs/252

The bin and omniidl module are maybe not compiled by default when cross-compiling? Is there a way to force it?
What could be the issue regarding the COS include and libs?

Thanks

Benjamin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.omniorb-support.com/pipermail/omniorb-list/attachments/20221017/2fea3a83/attachment-0001.html>


More information about the omniORB-list mailing list