Skip to content

Commit 0cfc5a4

Browse files
committed
windows build
1 parent 4ab21dd commit 0cfc5a4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/xtracfg.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
- name: log0
5858
run: |
5959
ls -Recurse ./libxtracfg/java/build/native/nativeCompile
60-
ls -Recurse ./libxtracfg/target
61-
cat ./libxtracfg/target/image/logs/compiler_commands.txt
60+
# ls -Recurse ./libxtracfg/target
61+
cat ./libxtracfg/java/build/native/nativeCompile/logs/compiler_commands.txt
6262
- name: log1
6363
run: |
6464
ls -l ./libxtracfg/c/build

libxtracfg/c/native-image/static-compiler-windows.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ REM in a local temp directory and does not specify the output path anywhere. Tes
88
REM GraalVM jdk21.+35.1 on Windows 10 and may need to be modified for other versions.
99
REM
1010
REM Use with --native-compiler-path=${pathToThisScript}.bat
11-
set OUTPUT_PATH=%~dp0\..\..\target\image
11+
set OUTPUT_PATH=%~dp0\..\..\java\build\native\nativeCompile
1212

1313
REM Determine the library name based on the .dll argument. ~nP returns the filename
1414
REM without quotes, i.e., "path\myLibrary.dll" returns myLibrary
@@ -50,6 +50,7 @@ REM To create a static library on Windows we need to call lib.exe input.obj /OUT
5050
REM We don't want to overwrite the .lib needed to compile against the .dll, so
5151
REM we append "_s" to indicate that it is a static library.
5252
if not exist %OUTPUT_PATH% mkdir %OUTPUT_PATH%
53-
set LIB_ARGS=%LIB_NAME%.obj /OUT:%OUTPUT_PATH%\%LIB_NAME%_s.lib
53+
REM set LIB_ARGS=%LIB_NAME%.obj /OUT:%OUTPUT_PATH%\%LIB_NAME%_s.lib
54+
set LIB_ARGS=%LIB_NAME%.obj /OUT:%OUTPUT_PATH%\%LIB_NAME%.lib
5455
echo lib.exe %LIB_ARGS% >> %LOG_FILE%
5556
cmd /c lib.exe %LIB_ARGS%

0 commit comments

Comments
 (0)