-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[ace] Added TAO as feature #8468
Conversation
parent 1ebb733d78d592b597e46bc7c5a491e646023ed3 author Benjamin Oldenburg <[email protected]> 1570361425 +0700 committer Benjamin Oldenburg <[email protected]> 1570404986 +0700 Added TAO to ACE port
I won't make any further changes. All builds succeed. |
Why are you providing find modules? You should be providing config files if anything. |
I wasn't aware of that. I'll have a look at the documentation. I'd
appreciate if you gave me a hint though.
Curtis J Bezault <[email protected]> schrieb am Di., 8. Okt. 2019,
05:44:
… Why are you providing find modules? You should be providing config files
if anything.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8468?email_source=notifications&email_token=AFBD2MO6N3KKBUFYTJDD7J3QNO3TPA5CNFSM4I54EBP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEASBJNY#issuecomment-539235511>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFBD2MNISUYIGKWNNP56ZW3QNO3TPANCNFSM4I54EBPQ>
.
|
hmm... error
tag and such everywhere, where present |
Corrected the installation location for TAO_IDL
I originally started this port with another name a few weeks ago. While merging it to this ACE port, I forgot to change the target directory for the executables (i.e. tao_idl) from ace-tao to ace. That's fixed now. |
include(vcpkg_common_functions) | ||
|
||
# Don't change to vcpkg_from_github! This points to a release and not an archive | ||
set(ACE_ROOT ${CURRENT_BUILDTREES_DIR}/src/ACE_wrappers) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set(ACE_ROOT ${CURRENT_BUILDTREES_DIR}/src/ACE_wrappers) | |
set(ACE_ROOT ${CURRENT_BUILDTREES_DIR}/src/ACE_wrappers) |
ACE_ROOT == $(SourcesDirectory)/ACE
https://github.com/DOCGroup/ACE_TAO/blob/57c52c1183d8d5e11e725fc9886263dfca11f22c/azure-pipelines.yml#L2
default.features == -features
qos=1,rwho=1,sctp=1,xerces3=1,ssl=1,versioned_namespace=1
$(ACE_ROOT)\bin\MakeProjectCreator\config\default.features
https://github.com/DOCGroup/ACE_TAO/blob/57c52c1183d8d5e11e725fc9886263dfca11f22c/azure-pipelines.yml#L73
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACE_ROOT & MPC_ROOT
The folder structure of the ACE_TAO git repository is different from the one in the archive.
default.features
Yes. I will change that. :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has this requirement been resolved?
In general find modules are written by the consumers of cmake libraries. Config files are created by the consumed library for the benefit of the consumers. Both define targets and all other variables necessary to consume a library. |
other error
error
? |
@voskrese PS C:\vcpkg> .\vcpkg.exe install ace[*] -- Using cached C:/vcpkg/downloads/ACE+TAO-src-6.5.6.tar.gz |
is guilty, means at me remained everything in a cache, files were not reconfigured |
@@ -0,0 +1,11 @@ | |||
--- a/MPC/config/bzip2.mpb 2019-10-06 11:14:51.164094600 +0700 | |||
+++ b/MPC/config/bzip2.mpb 2019-10-06 11:15:08.269289500 +0700 | |||
@@ -5,8 +5,6 @@ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you create a PR for MPC https://github.com/DOCGroup/MPC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes... I've moved our office. I expect to be done tonight and can take care about this and the other PRs on the weekend.
/azp run |
We also have #9016 as another PR in ace |
See #9074 for the new ACE release which has some of the patches integrated |
@ordisbold Any plans to finish the TAO feature soon? |
@ordisbold Ace in vcpkg has been updated to 6.5.7, does your change still work? |
I don't understand why it's trying to build qt5-tools on Linux. .\vcpkg.exe depend-info ace[*] |
I will focus on the axcioma based build... And I will not try to support all platforms and features immediately. :-D |
@ordisbold Well, |
I don't understand why it even required qt5-tools. I removed everything qt5 and it still failed due to an issue in the qt5 package. 🤔 I reopened it. But there's a problem regarding this port. TAO is based on ACE and it is not advisable to separate the build process of these libraries and make TAO a separate port. TAO only supports the decades old IDL-to-C++ mapping, which doesn't support the STL, because the STL wasn't part of the C++ standard when the IDL-to-C++ mapping was defined. The "old" IDL-to-C++ mapping is hard to use and developing with it is error-prone, especially for beginners. Renedy IT has created a new IDL-to-C++11 mapping. It is now part of the official IDL to language specifications by the OMG. Remedy IT has also implemened the aforementioned IDL-to-C++11 mapping based on TAO and recently released it with other relevant components (i.e. LwCCM) as open source software. The suite is called AXCIOMA and just the implementation of the new IDL-to-C++11 mapping is called TAOX11. The question is: how to represent this in vcpkg? The AXCIOMA build process appears to be complex but stable. It implicitly downloads ACE and TAO and builds these libraries with specific settings that the library depends on. Separating the build processes of ACE, TAO and AXCIOMA Is a can of worms I don't want to open. |
/azp run |
_VCPKG_MAKE_GENERATOR in vcpkg_build_make.cmake seems to be undefined. That's why the Linux build now fails :-D Where is _VCPKG_MAKE_GENERATOR set? |
corrected platform specific library suffixes for libraries needed during runtime of tao_idl temporarily disable Linux builds again :-P
@ordisbold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before this PR linux worked as far as I know, now it is disabled, personally I don't like to remove a platform again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-- Applying patch /home/vcpkg/ports/ace/arm_prevent_amd64_definition.patch
CMake Error at scripts/cmake/vcpkg_apply_patches.cmake:51 (message):
Applying patch failed. Checking patch ace/config-win32-common.h...
error: while searching for:
#if defined (_WIN64) || defined (WIN64)
# define ACE_WIN64
// MPC template adds _AMD64_ but user projects not generated using MPC
// may want to use _AMD64_ as well. Ensure it's there in all cases.
# ifndef _AMD64_
# define _AMD64_
# endif
// Use 64-bit file offsets by default in the WIN64 case, similar to
// what 64-bit UNIX systems do.
//
error: patch failed: ace/config-win32-common.h:39
error: ace/config-win32-common.h: patch does not apply
Call Stack (most recent call first):
ports/ace/portfile.cmake:42 (vcpkg_apply_patches)
scripts/ports.cmake:90 (include)
I won't invest more time into this PR. I wanted to share the addition of TAO which I have been using here for a while and I didn't expect that the PR consumes more time than the addition of TAO to the port. So, I don't require it to be merged. |
Regret to see this closed, would be nice to have tao on vcpkg |
Added CMake files to find ACE and TAO