Skip to content

Commit fccb94a

Browse files
Merge remote-tracking branch 'origin/master' into workflow-triggers-push-pull_request
2 parents de01745 + d0f13bb commit fccb94a

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎.github/workflows/conda-package.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: conda install conda-build
3939
- name: Build conda package
4040
run: |
41-
CHANNELS="-c intel -c defaults --override-channels"
41+
CHANNELS="-c defaults -c intel --override-channels"
4242
VERSIONS="--python ${{ matrix.python }}"
4343
TEST="--no-test"
4444
conda build \
@@ -83,7 +83,7 @@ jobs:
8383
- name: Install conda-build
8484
run: conda install conda-build
8585
- name: Build conda package
86-
run: conda build --no-test --python ${{ matrix.python }} -c intel -c defaults --override-channels conda-recipe
86+
run: conda build --no-test --python ${{ matrix.python }} -c defaults -c intel --override-channels conda-recipe
8787
- name: Upload artifact
8888
uses: actions/upload-artifact@v2
8989
with:
@@ -215,7 +215,7 @@ jobs:
215215
216216
upload_linux:
217217
needs: test_linux
218-
if: ${{ github.ref }} == 'refs/heads/master' || ${{ github.ref }} == 'refs/heads/release*'
218+
if: ${{github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true)}}
219219
runs-on: ubuntu-latest
220220
strategy:
221221
matrix:
@@ -240,7 +240,7 @@ jobs:
240240
241241
upload_windows:
242242
needs: test_windows
243-
if: ${{ github.ref }} == 'refs/heads/master' || ${{ github.ref }} == 'refs/heads/release*'
243+
if: ${{github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true)}}
244244
runs-on: windows-latest
245245
strategy:
246246
matrix:

‎conda-recipe/meta.yaml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ requirements:
2222
- python
2323
- make # [unix]
2424
- ninja # [win]
25-
- numpy >=1.17 # [win or osx or py>=38]
26-
- numpy 1.17 # [linux and py==37]
25+
- numpy 1.19
2726
- wheel
2827
run:
2928
- python
30-
- numpy >=1.17
29+
- {{ pin_compatible('numpy') }}
3130
- dpcpp_cpp_rt >=2021.2
3231

3332
test:

‎dpctl-capi/helper/include/dpctl_dynamic_lib_helper.h‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ class DynamicLibHelper final
5555
#ifdef __linux__
5656
_handle = dlopen(libName, flag);
5757
#elif defined(_WIN32) || defined(_WIN64)
58-
_handle = LoadLibraryA(libName);
58+
_handle =
59+
LoadLibraryExA(libName, nullptr, LOAD_LIBRARY_SEARCH_SYSTEM32);
5960
#endif
6061
}
6162

0 commit comments

Comments
 (0)