Skip to content

Commit

Permalink
Merge pull request #56 from h-vetinari/fixes
Browse files Browse the repository at this point in the history
Remove openmp dependency from flang
  • Loading branch information
h-vetinari authored Jun 29, 2024
2 parents fabae27 + 50dd9b3 commit 26d95ba
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .ci_support/win_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ target_platform:
- win-64
zlib:
- '1'
zstd:
- '1.5'
3 changes: 3 additions & 0 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
@echo on

:: show CPU arch to detect slow CI agents early (rather than wait for 6h timeout)
python -c "import numpy; numpy.show_config()"

mkdir build
cd build

Expand Down
3 changes: 3 additions & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/bash
set -ex

# show CPU arch to detect slow CI agents early (rather than wait for 6h timeout)
python -c "import numpy; numpy.show_config()"

mkdir build
cd build

Expand Down
7 changes: 4 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source:
sha256: 09c08693a9afd6236f27a2ebae62cda656eba19021ef3f94d59e931d662d4856

build:
number: 0
number: 1
# intentionally only windows (main target) & linux (debuggability)
skip: true # [osx]
track_features:
Expand All @@ -23,6 +23,8 @@ requirements:
- cmake
- ninja
- mlir =={{ version }} # [build_platform != target_platform]
# for showing CPU info of CI agent
- numpy *
host:
- clangdev =={{ version }}
- compiler-rt =={{ version }}
Expand Down Expand Up @@ -98,20 +100,19 @@ outputs:
host:
- clangdev =={{ version }}
- compiler-rt =={{ version }}
- llvm-openmp =={{ version }}
- llvmdev =={{ version }}
- mlir =={{ version }}
# for required run-exports
- llvm =={{ version }}
- libclang-cpp =={{ version }}
# ninja really wants to find z.lib on win
- zlib # [win]
- zstd # [win]
- {{ pin_subpackage('libflang', exact=True) }}
- {{ pin_subpackage('libfortran-main', exact=True) }}
run:
- sysroot_{{ target_platform }} >={{ c_stdlib_version }} # [linux]
- clangdev =={{ version }}
- llvm-openmp =={{ version }}
- {{ pin_subpackage('libflang', exact=True) }}
- {{ pin_subpackage('libfortran-main', exact=True) }}
test:
Expand Down

0 comments on commit 26d95ba

Please sign in to comment.