-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
[dev] build from top of branch-2.1
, set -DORC_PACKAGE_KIND=
#86
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,13 @@ source: | |
url: https://archive.apache.org/dist/orc/orc-{{ version }}/orc-{{ version }}.tar.gz | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it possible to specify a github url and a commit tag? If true, I can try it by myself. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, the syntax for this is: source:
git_url: https://github.com/apache/orc.git
git_rev: branch-2.1 # or 0ee235c2d92096155aaaebf87c3daf94be46882e, or ... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks! I will try to fix this on my end but I cannot promise the ETA. What about releasing Apache ORC 2.1.1 with the current branch-2.1? It means that following workarounds are still needed by conda-forge:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yes, this is preferable to me
We can manage for now, and we can still get rid of them later. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, thanks for confirmation! |
||
sha256: 69d45665bfb5699b709094ba630ae4b186b19e083c4438855fc29c77125c149c | ||
patches: | ||
# diff from 2.1.0 to head of `branch-2.1`: https://github.com/apache/orc/commit/0ee235c2d92096155aaaebf87c3daf94be46882e | ||
- patches/0001-combined-patch-until-https-github.com-apache-orc-com.patch | ||
- patches/0001-Don-t-force-orc-to-be-a-static-library-let-end-user-.patch | ||
- patches/0002-Allow-user-to-override-path-to-protoc.patch | ||
# backport https://github.com/apache/orc/pull/2108 | ||
- patches/0003-ORC-1833-C-Fix-CMake-script-to-be-used-inside-anothe.patch | ||
|
||
build: | ||
number: 1 | ||
number: 2 | ||
run_exports: | ||
- {{ pin_subpackage("orc", max_pin="x.x.x") }} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
From 2da6a76b50e719d2aec9dd46fb640c524455b1fd Mon Sep 17 00:00:00 2001 | ||
From d365dc6926ab5bc9ea9ee3d55d46ba71b7c1671b Mon Sep 17 00:00:00 2001 | ||
From: Nehal J Wani <[email protected]> | ||
Date: Fri, 25 Sep 2020 14:49:59 -0400 | ||
Subject: [PATCH 1/3] Don't force orc to be a static library, let end user | ||
Subject: [PATCH 1/2] Don't force orc to be a static library, let end user | ||
control it | ||
|
||
--- | ||
c++/src/CMakeLists.txt | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/c++/src/CMakeLists.txt b/c++/src/CMakeLists.txt | ||
index 694667c06..175c032ca 100644 | ||
index e378429f1..0c5b39c53 100644 | ||
--- a/c++/src/CMakeLists.txt | ||
+++ b/c++/src/CMakeLists.txt | ||
@@ -200,7 +200,7 @@ if(BUILD_ENABLE_AVX512) | ||
|
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.
Thanks for trying it! How does
$PREFIX
directory look like? Are libraries likeZLIB
and others have their CMake package config file in it?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.
It seems that Arrow has special logic for conda so that
XXX_ROOT
andXXX_SOURCE
will be defined automatically:and
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,
$PREFIX
contains all of the following (using linux as an example):The content of each of these packages can be explored online, here's zstd, for example.