Skip to content

Commit

Permalink
Fix copy command
Browse files Browse the repository at this point in the history
  • Loading branch information
xhochy committed Sep 20, 2023
1 parent 8a683cb commit c75a6c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
mkdir builddir

:: flang 17 still uses "temporary" name
cp %RECIPE_DIR%\flang-wrapper.bat %LIBRARY_PREFIX%\bin
set "FC=flang-wrapper.bat"
copy %RECIPE_DIR%\flang-wrapper.bat %LIBRARY_PREFIX%\bin
if !errorlevel! neq 0 exit /b !errorlevel!

set "CFLAGS=%CFLAGS% -std=gnu99"
set "FC=flang-wrapper.bat"

:: -wnx flags mean: --wheel --no-isolation --skip-dependency-check
%PYTHON% -m build -w -n -x ^
Expand All @@ -15,4 +15,4 @@ set "CFLAGS=%CFLAGS% -std=gnu99"
-Csetup-args=-Dlapack=lapack ^
-Csetup-args=-Dfortran_std=none ^
-Csetup-args=-Duse-g77-abi=true
if %ERRORLEVEL% neq 0 exit 1
if !errorlevel! neq 0 exit /b !errorlevel!

0 comments on commit c75a6c8

Please sign in to comment.