File tree Expand file tree Collapse file tree
dpctl-capi/helper/include Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 \
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 :
Original file line number Diff line number Diff 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
3332test :
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments