vigna / fastutil

fastutil extends the Java™ Collections Framework by providing type-specific maps, sets, lists and queues.
Apache License 2.0
1.81k stars 199 forks source link

Unable to make sources #317

Closed bob7l closed 9 months ago

bob7l commented 9 months ago

Can't seem to make soruces anymore for whatever reason. Most compile fine, but a few like Int2ByteLinkedOpenHashMap just produce a Int2ByteLinkedOpenHashMap.java file that only contains "OpenHashMap.drv"

Running the command directly: ./gencsource.sh drv/LinkedOpenHashMap.drv src/it/unimi/dsi/fastutil/ints/Int2ByteLinkedOpenHashMap.c >src/it/unimi/dsi/fastutil/ints/Int2ByteLinkedOpenHashMap.c cc -w -I. -DASSERTS_VALUE=false -E -C -P src/it/unimi/dsi/fastutil/ints/Int2ByteLinkedOpenHashMap.c \ | sed -e '1,/START_OF_JAVA_SOURCE/d' -e 's/^ / /' >src/it/unimi/dsi/fastutil/ints/Int2ByteLinkedOpenHashMap.java

Produces no errors, but also no source.

Here's all the /ints/ files that failed to generate: https://i.gyazo.com/b1c37d4fe353a941288123277bb23ef1.png

The rest generated perfectly fine. Again, no errors.

Edit: Using Windows 11, GNU Make 4.3, Java 8

bob7l commented 9 months ago

Builds fine on linux. Most likely related to Windows 11 since I was building this project perfectly fine back on Windows 10. Unfortunate, but really not much of a problem.