Repository: parquet-cpp
Updated Branches:
  refs/heads/master 94e2097bb -> 83469301a


PARQUET-617: Export CC / CXX / LD_LIBRARY_PATH in conda build for custom C++ 
toolchains

If you are building the conda package in an environment with multiple GCC 
toolchains, with the preferred one being one other than the default one, you 
must explicitly pass these environment variables down in the conda recipe. The 
`LD_LIBRARY_PATH` is also passed down for finding the gcc stdlib libraries when 
running the unit tests to verify the package.

Author: Wes McKinney <[email protected]>

Closes #106 from wesm/PARQUET-617 and squashes the following commits:

1691cca [Wes McKinney] Export CC / CXX / LD_LIBRARY_PATH in build for custom 
C++ toolchains


Project: http://git-wip-us.apache.org/repos/asf/parquet-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/parquet-cpp/commit/83469301
Tree: http://git-wip-us.apache.org/repos/asf/parquet-cpp/tree/83469301
Diff: http://git-wip-us.apache.org/repos/asf/parquet-cpp/diff/83469301

Branch: refs/heads/master
Commit: 83469301a0ca6f24babcb19808c4a435b64219cf
Parents: 94e2097
Author: Wes McKinney <[email protected]>
Authored: Mon May 16 11:34:01 2016 -0700
Committer: Wes McKinney <[email protected]>
Committed: Mon May 16 11:34:01 2016 -0700

----------------------------------------------------------------------
 conda.recipe/build.sh  | 1 +
 conda.recipe/meta.yaml | 4 ++++
 2 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/parquet-cpp/blob/83469301/conda.recipe/build.sh
----------------------------------------------------------------------
diff --git a/conda.recipe/build.sh b/conda.recipe/build.sh
index 23dc267..cb10b5d 100644
--- a/conda.recipe/build.sh
+++ b/conda.recipe/build.sh
@@ -14,6 +14,7 @@ export ZLIB_HOME=$PREFIX
 
 cd ..
 
+rm -rf conda-build
 mkdir conda-build
 
 cp -r thirdparty conda-build/

http://git-wip-us.apache.org/repos/asf/parquet-cpp/blob/83469301/conda.recipe/meta.yaml
----------------------------------------------------------------------
diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml
index e15a5ec..79b6925 100644
--- a/conda.recipe/meta.yaml
+++ b/conda.recipe/meta.yaml
@@ -4,6 +4,10 @@ package:
 
 build:
   number: {{environ.get('TRAVIS_BUILD_NUMBER', 0)}}    # [unix]
+  script_env:
+    - CC [linux]
+    - CXX [linux]
+    - LD_LIBRARY_PATH [linux]
   skip: true  # [win]
 
 requirements:

Reply via email to