CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 18:41:15 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/hiili/WindowsTorch.git
etag: W/"352332f38b25670166c6d8d0d649d98a"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=yOluCge963bMhnI%2BzpSqWCRCiB5XKv98k%2F%2FpeVoLnM7R4DfQx80IQN0yPiThRMJSSqIiQVM7MVUaU%2F7wAiplxwE4aqJ6sI9UW7F4JzUB6eXOjRTpTh77PhC7%2BpnPR4B8djN4eJ%2B%2FXEDhHF7aMdaZYXGptKCClA8Dg6mLD%2FZddX50zVa7%2FGdF9t6ajj9r1x9IFDPVCHK2Bflb2ZxlZ8SsLqmv0PSQT7KJAv1UjgCMpTYDC6y2sZHTU7cinkLTRDZ2fR%2FkVhOyc%2FDOjqzfNc8INg%3D%3D--SPsejh1667Rpdi54--kH4JM8zrW%2FJHWpy1tFvrVQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.516795549.1752950474; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 18:41:14 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 18:41:14 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E4E2:67A53:785A88:96E9CF:687BE6CA
Build luajit-rocks · hiili/WindowsTorch@d689e2b · GitHub
Dismiss banner
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit d689e2b
committed
Build luajit-rocks
Microsoft Windows 8.1 Enterprise, 6.3.9600 Build 9600
Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz, 3301 Mhz, 4 Core(s), 4 Logical Processor(s)
Toolchain:
Microsoft Visual Studio Community 2015, Version 14.0.25431.01 Update 3
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x64
Microsoft (R) Incremental Linker Version 14.00.24215.1
----
set TORCH_INSTALL_PATH=C:/torch
git clone https://github.com/torch/luajit-rocks.git
cd luajit-rocks
git rev-parse HEAD &:: 2c7496b905f6f972673effda4884766433b7583b
REM Store the LUAJIT-ROCKS PATCH found at the end of this script in file 'p'
git apply p
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=%TORCH_INSTALL_PATH% -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DWITH_LUAJIT21=ON
nmake
cmake -DCMAKE_INSTALL_PREFIX=%TORCH_INSTALL_PATH% -G "NMake Makefiles" -P cmake_install.cmake -DCMAKE_BUILD_TYPE=Release -DWITH_LUAJIT21=ON
---- LUAJIT-ROCKS PATCH BEGIN ----
diff --git a/luajit-2.1/CMakeLists.txt b/luajit-2.1/CMakeLists.txt
index 0df51e9..2637390 100644
--- a/luajit-2.1/CMakeLists.txt
+++ b/luajit-2.1/CMakeLists.txt
@@ -22,10 +22,10 @@ OPTION(WITH_AMALG "Build eveything in one shot (needs memory)" ON)
SET(INSTALL_INCLUDE_SUBDIR "include" CACHE STRING "installation include subdirectory name")
IF(WIN32)
- SET(INSTALL_BIN_SUBDIR "." CACHE STRING "installation executable subdirectory name")
- SET(INSTALL_LIB_SUBDIR "." CACHE STRING "installation library subdirectory name")
+ SET(INSTALL_BIN_SUBDIR "bin" CACHE STRING "installation executable subdirectory name")
+ SET(INSTALL_LIB_SUBDIR "lib" CACHE STRING "installation library subdirectory name")
SET(INSTALL_LUA_PATH_SUBDIR "lua") # not editable
- SET(INSTALL_LUA_CPATH_SUBDIR ".") # not editable
+ SET(INSTALL_LUA_CPATH_SUBDIR "bin") # not editable
ELSE()
SET(INSTALL_BIN_SUBDIR "bin" CACHE STRING "installation executable subdirectory name")
SET(INSTALL_LIB_SUBDIR "lib" CACHE STRING "installation library subdirectory name")
diff --git a/luarocks/CMakeLists.txt b/luarocks/CMakeLists.txt
index a77199b..4c4ebed 100644
--- a/luarocks/CMakeLists.txt
+++ b/luarocks/CMakeLists.txt
@@ -5,10 +5,10 @@ CMAKE_POLICY(VERSION 2.6)
SET(INSTALL_INCLUDE_SUBDIR "include" CACHE STRING "installation include subdirectory name")
IF(WIN32)
- SET(INSTALL_BIN_SUBDIR "." CACHE STRING "installation executable subdirectory name")
- SET(INSTALL_LIB_SUBDIR "." CACHE STRING "installation library subdirectory name")
+ SET(INSTALL_BIN_SUBDIR "bin" CACHE STRING "installation executable subdirectory name")
+ SET(INSTALL_LIB_SUBDIR "lib" CACHE STRING "installation library subdirectory name")
SET(INSTALL_LUA_PATH_SUBDIR "lua") # not editable
- SET(INSTALL_LUA_CPATH_SUBDIR ".") # not editable
+ SET(INSTALL_LUA_CPATH_SUBDIR "bin") # not editable
SET(INSTALL_LUAROCKS_ROCKS_SUBDIR "luarocks" CACHE STRING "installation luarocks rocks subdirectory name")
SET(INSTALL_LUAROCKS_SYSCONF_SUBDIR "luarocks" CACHE STRING "installation luarocks sysconfig subdirectory name")
ELSE()
@@ -30,7 +30,7 @@ IF(WIN32)
win32/tools/7z.dll win32/tools/libeay32.dll win32/tools/libiconv2.dll
win32/tools/libintl3.dll win32/tools/libssl32.dll)
- INSTALL(FILES ${WINUTILS_DLL_FILES} DESTINATION "${INSTALL_BIN_SUBDIR}/tools/")
+ INSTALL(FILES ${WINUTILS_DLL_FILES} DESTINATION "./tools/")
SET(WINUTILS_EXE_FILES
win32/tools/7z.exe
@@ -49,7 +49,7 @@ IF(WIN32)
win32/tools/uname.exe
win32/tools/wget.exe)
- INSTALL(PROGRAMS ${WINUTILS_EXE_FILES} DESTINATION "${INSTALL_BIN_SUBDIR}/tools/")
+ INSTALL(PROGRAMS ${WINUTILS_EXE_FILES} DESTINATION "./tools/")
SET(WGET_EXECUTABLE_NAME "wget")
SET(MD5_EXECUTABLE_NAME "md5sum")
---- LUAJIT-ROCKS PATCH END ----
Build configuration:
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
-- Warning: Did not find file Compiler/MSVC-ASM
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Looking for sin in m
-- Looking for sin in m - not found
-- Looking for printw in ncurses
-- Looking for printw in ncurses - not found
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Performing Test LJ_TARGET_X64
-- Performing Test LJ_TARGET_X64 - Success
-- LuaJIT Target: x64
-- Performing Test LJ_LE_1
-- Performing Test LJ_LE_1 - Success
-- Performing Test LJ_ARCH_BITS_64
-- Performing Test LJ_ARCH_BITS_64 - Success
-- Performing Test LJ_HASJIT_1
-- Performing Test LJ_HASJIT_1 - Success
-- Performing Test LJ_HASFFI_1
-- Performing Test LJ_HASFFI_1 - Success
-- Performing Test LJ_DUALNUM_1
-- Performing Test LJ_DUALNUM_1 - Failed
-- Performing Test LJ_ARCH_HASFPU_1
-- Performing Test LJ_ARCH_HASFPU_1 - Success
-- Performing Test LJ_ABI_SOFTFP_1
-- Performing Test LJ_ABI_SOFTFP_1 - Failed
-- Performing Test LJ_NO_UNWIND_1
-- Performing Test LJ_NO_UNWIND_1 - Failed
-- Performing Test LJ_FR2_1
-- Performing Test LJ_FR2_1 - Success
-- Looking for sin in m
-- Looking for sin in m - not found1 parent 5be0d16 commit d689e2bCopy full SHA for d689e2b
File tree
Expand file treeCollapse file tree
109 files changed
+19340
-0
lines changedFilter options
- bin
- include
- lib
- luarocks
- lua
- jit
- luarocks
- build
- fetch
- fs
- unix
- win32
- tools
- upload
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
109 files changed
+19340
-0
lines changedbin/libluajit.dll
Copy file name to clipboard526 KB
Binary file not shown.
bin/luajit.exe
Copy file name to clipboard20.5 KB
Binary file not shown.
bin/luarocks-admin.bat
Copy file name to clipboard+23Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + |
bin/luarocks.bat
Copy file name to clipboard+37Lines changed: 37 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + |
include/lauxlib.h
Copy file name to clipboard+161Lines changed: 161 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + |
You can’t perform that action at this time.
0 commit comments