-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Initial Windows build attempt #168
base: main
Are you sure you want to change the base?
Changes from 10 commits
842d44f
7fe3a0f
11d34aa
d36cde0
f37d8f0
63d9fa9
6882a35
f8c5842
d515501
b54af7c
a099242
11d76b4
a410444
9a7af17
ccc8043
0e9f7c5
cc3983d
e766146
519ee5b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
arpack: | ||
- '3.7' | ||
c_compiler: | ||
- vs2017 | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
curl: | ||
- '7' | ||
cxx_compiler: | ||
- vs2017 | ||
fortran_compiler: | ||
- flang | ||
fortran_compiler_version: | ||
- '5' | ||
gmp: | ||
- '6' | ||
libgit2: | ||
- '1.3' | ||
libssh2: | ||
- '1' | ||
mpfr: | ||
- '4' | ||
pcre2: | ||
- '10.37' | ||
perl: | ||
- 5.32.1 | ||
pin_run_as_build: | ||
arpack: | ||
max_pin: x.x.x | ||
curl: | ||
max_pin: x | ||
gmp: | ||
max_pin: x | ||
mpfr: | ||
max_pin: x | ||
zlib: | ||
max_pin: x.x | ||
suitesparse: | ||
- '5' | ||
target_platform: | ||
- win-64 | ||
zlib: | ||
- '1.2' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
copy "%RECIPE_DIR%\build.sh" . | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%LIBRARY_PREFIX%"') DO set "LIBRARY_PREFIX=%%i" | ||
SET PREFIXW=%PREFIX% | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%PREFIX%"') DO set "PREFIX=%%i" | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%PYTHON%"') DO set "PYTHON=%%i" | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%RECIPE_DIR%"') DO set "RECIPE_DIR=%%i" | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%SP_DIR%"') DO set "SP_DIR=%%i" | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%SRC_DIR%"') DO set "SRC_DIR=%%i" | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%STDLIB_DIR%"') DO set "STDLIB_DIR=%%i" | ||
set MSYSTEM=MINGW%ARCH% | ||
set MSYS2_PATH_TYPE=inherit | ||
set CHERE_INVOKING=1 | ||
bash -lc ./build.sh | ||
if %errorlevel% neq 0 exit /b %errorlevel% | ||
exit /b 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting approach... it doesn't seem it is cooperating?
I would think rewriting build.sh here would be the way to go, but I have no idea how windows works. One thing I would try to start off would be to just copy the binaries from upstream and see if that works with a simple bld.bat to copy them to PREFIX. Then I would try to actually build...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thr Julia build process essentially needs bash on Windows. It usually uses Cygwin and has been used with msys2 in the past. The current issue is locating Python on the path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually the problem seems different now. I wonder why we do not see any evidence of building.