Skip to content
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

ENH 11 rc1 #39

Merged
merged 28 commits into from
Oct 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
8e70483
ENH 11 rc1
beckermr Aug 7, 2020
976a31b
MNT: Re-rendered with conda-build 3.19.2, conda-smithy 3.7.6, and con…
Aug 7, 2020
bc98a2a
ENH add proper hash
beckermr Aug 7, 2020
206ee65
Update recipe/meta.yaml
beckermr Aug 7, 2020
cde51ae
Update recipe/conda_build_config.yaml
beckermr Aug 7, 2020
368f973
MNT: Re-rendered with conda-build 3.19.2, conda-smithy 3.7.6, and con…
Aug 7, 2020
daeb2b7
Update sha256
isuruf Aug 8, 2020
3344685
MNT: Re-rendered with conda-build 3.19.2, conda-smithy 3.7.6, and con…
Aug 8, 2020
f2d4970
[ci skip] [skip ci] [cf admin skip] ***NO_CI*** admin migration CFEP1…
Aug 8, 2020
91a339f
Cross compile for osx-64
isuruf Sep 1, 2020
471fec7
MNT: Re-rendered with conda-build 3.19.2, conda-smithy 3.7.10, and co…
isuruf Sep 1, 2020
5c84de3
flexible channel_priority
isuruf Sep 2, 2020
bf1e5bb
conda-web
isuruf Sep 2, 2020
e59e69c
MNT: Re-rendered with conda-build 3.20.0, conda-smithy 3.7.10, and co…
isuruf Sep 2, 2020
3756ab2
Fix CPPFLAGS
isuruf Sep 2, 2020
159a5d1
No conda-web for other platforms
isuruf Sep 2, 2020
a412e1d
MNT: Re-rendered with conda-build 3.20.0, conda-smithy 3.7.10, and co…
isuruf Sep 2, 2020
d8fe07f
Add patch for osx-arm64
isuruf Sep 2, 2020
b0db616
update patch
isuruf Sep 2, 2020
c3e30ea
debug
isuruf Sep 3, 2020
0e70241
cleanup and use correct install location
isuruf Sep 3, 2020
ba4c656
MNT: Re-rendered with conda-build 3.20.0, conda-smithy 3.7.10, and co…
isuruf Sep 3, 2020
9726823
Merge branch 'master' of github.com:beckermr/openmp-feedstock into 8.0.0
isuruf Sep 3, 2020
fd510b9
skip tests when cross
isuruf Sep 3, 2020
dd3b78e
MNT: Re-rendered with conda-build 3.20.0, conda-smithy 3.7.10, and co…
isuruf Sep 3, 2020
a22461f
flexible channel_priority for osx-64
isuruf Sep 3, 2020
e0d10c2
upload to main
isuruf Oct 14, 2020
57e165d
update to 11.0.0
isuruf Oct 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
channel_sources:
- conda-forge,defaults
- conda-forge/label/llvm_rc,conda-forge,defaults
channel_targets:
- conda-forge main
- conda-forge llvm_rc
cxx_compiler:
- gxx
cxx_compiler_version:
Expand All @@ -15,5 +15,3 @@ pin_run_as_build:
max_pin: x.x.x
target_platform:
- linux-64
vc:
- '14'
6 changes: 2 additions & 4 deletions .ci_support/linux_aarch64_target_platformlinux-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ cdt_arch:
cdt_name:
- cos7
channel_sources:
- conda-forge
- conda-forge/label/llvm_rc,conda-forge,defaults
channel_targets:
- conda-forge main
- conda-forge llvm_rc
cxx_compiler:
- gxx
cxx_compiler_version:
Expand All @@ -21,5 +21,3 @@ pin_run_as_build:
max_pin: x.x.x
target_platform:
- linux-aarch64
vc:
- '14'
6 changes: 2 additions & 4 deletions .ci_support/linux_ppc64le_target_platformlinux-ppc64le.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
channel_sources:
- conda-forge,defaults
- conda-forge/label/llvm_rc,conda-forge,defaults
channel_targets:
- conda-forge main
- conda-forge llvm_rc
cxx_compiler:
- gxx
cxx_compiler_version:
Expand All @@ -15,5 +15,3 @@ pin_run_as_build:
max_pin: x.x.x
target_platform:
- linux-ppc64le
vc:
- '14'
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
channel_sources:
- conda-forge,defaults
- conda-forge/label/llvm_rc,conda-forge,defaults
channel_targets:
- conda-forge main
- conda-forge llvm_rc
cxx_compiler:
- clang_bootstrap
cxx_compiler_version:
- '*'
- '10'
macos_machine:
- x86_64-apple-darwin13.4.0
macos_min_version:
Expand All @@ -19,5 +19,3 @@ pin_run_as_build:
max_pin: x.x.x
target_platform:
- osx-64
vc:
- '14'
21 changes: 21 additions & 0 deletions .ci_support/osx_arm64_target_platformosx-arm64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
channel_sources:
- conda-forge/label/llvm_rc,conda-forge,https://conda-web.anaconda.org/conda-forge
channel_targets:
- conda-forge llvm_rc
cxx_compiler:
- clang_bootstrap
cxx_compiler_version:
- '11'
macos_machine:
- arm64-apple-darwin20.0.0
macos_min_version:
- '11.0'
perl:
- 5.26.2
pin_run_as_build:
perl:
max_pin: x.x.x
target_platform:
- osx-arm64
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
channel_sources:
- conda-forge,defaults
- conda-forge/label/llvm_rc,conda-forge,defaults
channel_targets:
- conda-forge main
- conda-forge llvm_rc
cxx_compiler:
- vs2017
perl:
- 5.26.2
pin_run_as_build:
Expand Down
6 changes: 5 additions & 1 deletion .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions .travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion LICENSE.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 13 additions & 6 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions azure-pipelines.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions conda-forge.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
travis:
secure:
BINSTAR_TOKEN: g9LH6JHqSrW+Kc2wyYib2sQxk/MfOUep0iUspoayjdCFwr/0zekZUHqtRXHV1NMPnJfbqkq2SDja3s8r8qHg6frFk1WRcC2ux3n7bEykuNbe4+HoYBzgHm36MZPj/2Vhe7l4EqzUGBxXXCJfrd7SDGNzoBFzybe+iH/6dGKithrZlX9kUqkJ270MDekGxkv6fyQKW9dLz99vgbyH5gKz9+nwavaiQel0IlHpimJEBxhCu7RL7AzMou/g4zbhCABqiKUPH4m2HIT93Rmb3M1KZG6E6rAJ1xNcSn98bDsj6bkMOTlB0j7nGXfBeOLkPEyN0F1PfiPQuKau+Zjw+wFRBpIpLMVekB6y4G18SJp5xKTMQpVQfaA3nB2fNz6DJrkVyWEf0zzMi9LNXx5qch1HB572R/bxhu9BjEPsBU51wvO6E/F+tgCRAPzdgDOoCl0EiWWzhuevMOImD7P6W548s7ltMAR4rtJsOYpnpsG53DZ3/jGM3GvnFT+QVZSNyDFMVNDsBuUMB41/fa3wbTjUqDkveveDtJGiWn75Bfb4YV6DmlWLY0syiikIt0fS9C39FeCZW15iq3L+j/dmGkwRiIQxs1U2X1k6sK4IS87GBMosH1VT+NiDkLSYAQMtLbz8vjrtmAx8Ami5c7FWJsoy33tVnraiq4CfiygMKg3/bMw=
appveyor:
secure:
BINSTAR_TOKEN: tumuXLL8PU75WMnRDemRy02ruEq2RpNxeK3dz0MjFssnosPm2v4EFjfNB4PTotA1
provider:
linux_ppc64le: default
linux_aarch64: default
conda_forge_output_validation: true
build_platform:
osx_arm64: osx_64
test_on_native_only: true
channel_priority: flexible
13 changes: 6 additions & 7 deletions recipe/build-llvm-openmp.sh
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
mkdir build
cd build

if [[ "${target_platform}" == "osx-64" ]]; then
if [[ "${target_platform}" == osx-* ]]; then
# See https://github.com/AnacondaRecipes/aggregate/issues/107
export CPPFLAGS="-mmacosx-version-min=10.9 -I${PREFIX}/include -D_FORTIFY_SOURCE=2"
export CPPFLAGS="-mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET} -isystem ${PREFIX}/include -D_FORTIFY_SOURCE=2"
fi

if [[ "${target_platform}" == "linux"* ]]; then
export LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++"
fi

if [[ "${target_platform}" == "osx-64" ]]; then
export CFLAG="$CFLAGS -mlinker-version=305"
export CXXFLAGS="$CXXFLAGS -mlinker-version=305"
if [[ "${PKG_VERSION}" == *rc* ]]; then
export PKG_VERSION=${PKG_VERSION::${#PKG_VERSION}-4}
fi

cmake \
cmake ${CMAKE_ARGS} \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH=$PREFIX \
..

make -j${CPU_COUNT}
make -j${CPU_COUNT} VERBOSE=1
make install

rm -f $PREFIX/lib/libgomp$SHLIB_EXT
Expand Down
16 changes: 2 additions & 14 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
cxx_compiler:
cxx_compiler: # [osx]
- clang_bootstrap # [osx]
- gxx # [linux]
- vs2017 # [win]
c_compiler:
c_compiler: # [osx]
- clang_bootstrap # [osx]
- gcc # [linux]
- vs2017 # [win]
vc:
- 14
python:
- 3.7
c_compiler_version: # [osx]
- "*" # [osx]
cxx_compiler_version: # [osx]
- "*" # [osx]
24 changes: 24 additions & 0 deletions recipe/darwin_arm64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
--- runtime/src/z_Linux_asm.S 2020-09-02 18:03:36.268029852 -0500
+++ runtime/src/z_Linux_asm.S 2020-09-02 18:04:57.512849121 -0500
@@ -1742,6 +1742,14 @@
#endif /* KMP_ARCH_ARM */

#if KMP_ARCH_PPC64 || KMP_ARCH_AARCH64 || KMP_ARCH_MIPS64 || KMP_ARCH_RISCV64
+# if KMP_OS_DARWIN
+ .data
+ .comm .gomp_critical_user_,32
+ .data
+ .globl ___kmp_unnamed_critical_addr
+___kmp_unnamed_critical_addr:
+ .quad .gomp_critical_user_
+#else
.data
.comm .gomp_critical_user_,32,8
.data
@@ -1750,6 +1758,7 @@
__kmp_unnamed_critical_addr:
.8byte .gomp_critical_user_
.size __kmp_unnamed_critical_addr,8
+#endif /* KMP_OS_DARWIN */
#endif /* KMP_ARCH_PPC64 || KMP_ARCH_AARCH64 || KMP_ARCH_MIPS64 ||
KMP_ARCH_RISCV64 */
14 changes: 7 additions & 7 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
{% set name = "openmp" %}
{% set version = "10.0.1" %}
{% set sha256 = "d19f728c8e04fb1e94566c8d76aef50ec926cd2f95ef3bf1e0a5de4909b28b44" %}
{% set version = "11.0.0" %}
{% set sha256 = "2d704df8ca67b77d6d94ebf79621b0f773d5648963dd19e0f78efef4404b684c" %}
{% set openmp_ver = "4.5" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/llvm/llvm-project/releases/download/llvmorg-{{ version }}/openmp-{{ version }}.src.tar.xz
url: https://github.com/llvm/llvm-project/releases/download/llvmorg-{{ version.replace(".rc", "-rc") }}/openmp-{{ version.replace(".rc", "rc") }}.src.tar.xz
sha256: {{ sha256 }}
patches:
- darwin_arm64.patch

build:
number: 0
Expand All @@ -31,8 +33,7 @@ outputs:
- _openmp_mutex * *_llvm # [linux]
requirements:
build:
- {{ compiler('cxx') }} # [unix]
- vs2017_{{ target_platform }} # [win]
- {{ compiler('cxx') }}
- cmake
- make # [unix]
- perl
Expand All @@ -46,8 +47,7 @@ outputs:
test:
requires:
- clangxx
- {{ compiler('cxx') }} # [unix]
- vs2017_{{ target_platform }} # [win]
- {{ compiler('cxx') }}
commands:
- if not exist %LIBRARY_BIN%\\libomp.dll exit 1 # [win]
- test -f $PREFIX/lib/libomp.so # [linux]
Expand Down