Commit 905e0f14 authored by Amir Mohammadi's avatar Amir Mohammadi
Browse files

whitelist CFLAGS and CXXFLAGS

parent f32251d6
Pipeline #6210 passed with stage
in 1 minute and 8 seconds
......@@ -3,6 +3,7 @@ image: continuumio/conda_builder_linux
variables:
CONDA_ENVS_PATH: "conda-env"
CONDA_BLD_PATH: "conda-env"
UPLOAD_URL: "https://www.idiap.ch/software/bob/conda/"
cache:
key: "$CI_BUILD_NAME"
......@@ -11,14 +12,15 @@ cache:
- conda-env/.pkgs/urls.txt
after_script:
- (for f in conda-env/linux-64/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}/linux-64"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/osx-64/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}/osx-64"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/linux-32/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}/linux-32"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/osx-32/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}/osx-32"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/win-64/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}/win-64"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/win-32/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}/win-32"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/linux-armv6l/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}/linux-armv6l"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/linux-armv7l/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}/linux-armv7l"; if [ $? -ne 0 ]; then exit 66; fi; done);
- export PATH=/usr/local/bin:/opt/miniconda/bin:$PATH
- (for f in conda-env/linux-64/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}linux-64/"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/osx-64/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}osx-64/"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/linux-32/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}linux-32/"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/osx-32/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}osx-32/"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/win-64/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}win-64/"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/win-32/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}win-32/"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/linux-armv6l/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}linux-armv6l/"; if [ $? -ne 0 ]; then exit 66; fi; done);
- (for f in conda-env/linux-armv7l/*.tar.bz2; do curl --location --silent --show-error --user "${DOCUSER}:${DOCPASS}" --upload-file $f "${UPLOAD_URL}linux-armv7l/"; if [ $? -ne 0 ]; then exit 66; fi; done);
build-linux-64:
......@@ -26,13 +28,14 @@ build-linux-64:
variables:
CONDA_NPY: "19"
PYTHONUNBUFFERED: "1"
UPLOAD_URL: "https://www.idiap.ch/software/bob/conda/"
before_script:
- export PATH=/usr/local/bin:/opt/miniconda/bin:$PATH
- export LD_LIBRARY_PATH=/usr/local/lib64:/usr/local/lib:/opt/miniconda/lib:$LD_LIBRARY_PATH
- export LIBRARY_PATH=/usr/local/lib64:/usr/local/lib:/opt/miniconda/lib:$LIBRARY_PATH
- export INCLUDE=/opt/miniconda/include:$INCLUDE
- export CFLAGS="${CFLAGS} -Wabi=2"
- export CFLAGS="${CFLAGS} -D_GLIBCXX_USE_CXX11_ABI=0"
- export CXXFLAGS="${CXXFLAGS} -Wabi=2"
- export CXXFLAGS="${CXXFLAGS} -D_GLIBCXX_USE_CXX11_ABI=0"
- conda config --set always_yes true
......@@ -45,8 +48,9 @@ build-linux-64:
- conda info
script:
- conda-build-all ./dependencies --inspect-channels ${UPLOAD_URL} --matrix-conditions "numpy >=1.11" "python >=2.7,<3|>=3.4,<3.6" || true
- conda-build-all ./recipes --inspect-channels ${UPLOAD_URL} --matrix-conditions "numpy >=1.11" "python >=2.7,<3|>=3.4,<3.6" || true
- conda build ./dependencies/yasm
# - conda-build-all ./dependencies --inspect-channels ${UPLOAD_URL} --matrix-conditions "numpy >=1.11" "python >=2.7,<3|>=3.4,<3.6" || true
# - conda-build-all ./recipes --inspect-channels ${UPLOAD_URL} --matrix-conditions "numpy >=1.11" "python >=2.7,<3|>=3.4,<3.6" || true
tags:
- docker
......
......@@ -8,6 +8,10 @@ source:
md5: 6095876341956f65f9d35939ccea1a9f
build:
number: 0
script_env:
- CFLAGS
- CXXFLAGS
features:
- vc9 [win and py27]
- vc10 [win and py34]
......
{% set version = "2.8.10" %}
package:
name: ffmpeg
version: {{ version }}
name: ffmpeg
version: {{ version }}
source:
fn: ffmpeg-{{ version }}.tar.gz
url: https://ffmpeg.org/releases/ffmpeg-{{ version }}.tar.gz
md5: e2358aadce9c50b2fa3ef8c7d9420c28
fn: ffmpeg-{{ version }}.tar.gz
url: https://ffmpeg.org/releases/ffmpeg-{{ version }}.tar.gz
md5: e2358aadce9c50b2fa3ef8c7d9420c28
build:
skip: true # [win]
number: 0
skip: true # [win]
number: 0
script_env:
- CFLAGS
- CXXFLAGS
requirements:
build:
- pkg-config
- libtool
- yasm
- gcc # [osx]
- x264 20131217
- zlib 1.2.8
run:
- libgcc # [osx]
- x264 20131217
- zlib >=1.2.8,<1.3
build:
- pkg-config
- libtool
- yasm
- gcc # [osx]
- x264 20131217
- zlib 1.2.8
run:
- libgcc # [osx]
- x264 20131217
- zlib >=1.2.8,<1.3
test:
commands:
- ffmpeg --help
- ffmpeg -codecs | grep "DEVI.S zlib" # [unix]
commands:
- ffmpeg --help
- ffmpeg -codecs | grep "DEVI.S zlib" # [unix]
about:
home: http://www.ffmpeg.org/
license: GPL 2
summary: Cross-platform solution to record, convert and stream audio and video.
home: http://www.ffmpeg.org/
license: GPL 2
summary: Cross-platform solution to record, convert and stream audio and video.
extra:
recipe-maintainers:
- danielballan
- jakirkham
- 183amir
recipe-maintainers:
- danielballan
- jakirkham
- 183amir
{% set version = "5.1.4" %}
package:
name: giflib
version: {{ version }}
name: giflib
version: {{ version }}
source:
fn: giflib-{{ version }}.tar.gz
url: http://downloads.sourceforge.net/project/giflib/giflib-{{ version }}.tar.gz
md5: 8985c9411fdb2178b89d3348da9a06b0
fn: giflib-{{ version }}.tar.gz
url: http://downloads.sourceforge.net/project/giflib/giflib-{{ version }}.tar.gz
md5: 8985c9411fdb2178b89d3348da9a06b0
build:
number: 0
skip: True # [win]
number: 0
script_env:
- CFLAGS
- CXXFLAGS
skip: True # [win]
test:
commands:
- gif2rgb -h
- gifbuild -h
- gifclrmp -h
- gifecho -h
- giffix -h
- gifinto -h
- giftext -h
# - conda inspect linkages giflib --prefix ${CONDA_DEFAULT_ENV} # [linux]
commands:
- gif2rgb -h
- gifbuild -h
- gifclrmp -h
- gifecho -h
- giffix -h
- gifinto -h
- giftext -h
# - conda inspect linkages giflib --prefix ${CONDA_DEFAULT_ENV} # [linux]
about:
home: http://giflib.sourceforge.net
license: MIT
summary: Library for reading and writing gif images
home: http://giflib.sourceforge.net
license: MIT
summary: Library for reading and writing gif images
extra:
recipe-maintainers:
- ocefpaf
- 183amir
recipe-maintainers:
- ocefpaf
- 183amir
......@@ -11,6 +11,9 @@ source:
build:
number: 0
script_env:
- CFLAGS
- CXXFLAGS
skip: true # [win]
test:
......
......@@ -10,6 +10,9 @@ source:
build:
number: 0
script_env:
- CFLAGS
- CXXFLAGS
skip: true # [win]
requirements:
......
......@@ -15,6 +15,9 @@ source:
build:
number: 0
script_env:
- CFLAGS
- CXXFLAGS
features:
- vc9 # [win and py27]
- vc10 # [win and py34]
......
......@@ -11,8 +11,11 @@ source:
sha256: 8a3226dba11349b51a2c6de6af0c889324201f14a8c30992b7877109090e36e0
build:
number: 0
script: python setup.py install
number: 0
script_env:
- CFLAGS
- CXXFLAGS
script: python setup.py install
requirements:
build:
......
......@@ -11,6 +11,9 @@ source:
build:
number: 0
script_env:
- CFLAGS
- CXXFLAGS
detect_binary_files_with_prefix: true
skip: true # [win]
......
......@@ -17,6 +17,9 @@ source:
build:
number: 0
script_env:
- CFLAGS
- CXXFLAGS
features:
- vc9 # [win and py27]
- vc10 # [win and py34]
......
{% set version = "20131217" %}
package:
name: x264
version: 20131217
name: x264
version: {{ version }}
source:
fn: x264-snapshot-{{ version }}-2245-stable.tar.bz2
url: http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-{{ version }}-2245-stable.tar.bz2
md5: cfd27222c7aa9983259ddb10f7f570a6
fn: x264-snapshot-{{ version }}-2245-stable.tar.bz2
url: http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-{{ version }}-2245-stable.tar.bz2
md5: cfd27222c7aa9983259ddb10f7f570a6
build:
number: 0
skip: true # [win]
number: 0
script_env:
- CFLAGS
- CXXFLAGS
skip: true # [win]
requirements:
build:
- yasm
- gcc # [osx]
build:
- yasm
- gcc # [osx]
run:
- libgcc # [osx]
run:
- libgcc # [osx]
test:
commands:
- test -f ${PREFIX}/include/x264.h # [unix]
- test -f ${PREFIX}/lib/libx264.a # [unix]
- test -f ${PREFIX}/lib/libx264.dylib # [osx]
- test -f ${PREFIX}/lib/libx264.so # [linux]
- x264 --help # [unix]
commands:
- test -f ${PREFIX}/include/x264.h # [unix]
- test -f ${PREFIX}/lib/libx264.a # [unix]
- test -f ${PREFIX}/lib/libx264.dylib # [osx]
- test -f ${PREFIX}/lib/libx264.so # [linux]
- x264 --help # [unix]
about:
home: http://www.videolan.org/developers/x264.html
license: GPL 2
summary: A free software library for encoding video streams into the H.264/MPEG-4 AVC format.
home: http://www.videolan.org/developers/x264.html
license: GPL 2
summary: A free software library for encoding video streams into the H.264/MPEG-4 AVC format.
extra:
recipe-maintainers:
......
......@@ -16,6 +16,9 @@ source:
build:
number: 0
script_env:
- CFLAGS
- CXXFLAGS
requirements:
build:
......
......@@ -11,6 +11,9 @@ source:
build:
number: 0
script_env:
- CFLAGS
- CXXFLAGS
skip: true # [win]
script: python -B setup.py install --single-version-externally-managed --record record.txt
......
......@@ -11,6 +11,9 @@ source:
build:
number: 0
script_env:
- CFLAGS
- CXXFLAGS
skip: true # [win]
requirements:
......
......@@ -11,6 +11,9 @@ source:
build:
number: 0
script_env:
- CFLAGS
- CXXFLAGS
skip: true # [win]
requirements:
......
......@@ -11,6 +11,9 @@ source:
build:
number: 0
script_env:
- CFLAGS
- CXXFLAGS
skip: true # [win]
script: python -B setup.py install --single-version-externally-managed --record record.txt
......
......@@ -13,6 +13,9 @@ build:
entry_points:
- bob_dbmanage.py = bob.db.base.script.dbmanage:main
number: 0
script_env:
- CFLAGS
- CXXFLAGS
skip: true # [win]
script: python -B setup.py install --single-version-externally-managed --record record.txt
......
......@@ -13,6 +13,9 @@ build:
entry_points:
- iris_lda.py = bob.db.iris.example.lda:main
number: 0
script_env:
- CFLAGS
- CXXFLAGS
skip: true # [win]
script: python -B setup.py install --single-version-externally-managed --record record.txt
......
......@@ -11,6 +11,9 @@ source:
build:
number: 0
script_env:
- CFLAGS
- CXXFLAGS
skip: true # [win]
script: python -B setup.py install --single-version-externally-managed --record record.txt
......
......@@ -11,6 +11,9 @@ source:
build:
number: 0
script_env:
- CFLAGS
- CXXFLAGS
skip: true # [win]
script: python -B setup.py install --single-version-externally-managed --record record.txt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment