Spaces:
Runtime error
Runtime error
Upload 515 files
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +23 -0
- ctransformers/.gitattributes +2 -0
- ctransformers/.github/workflows/build.yml +67 -0
- ctransformers/.github/workflows/tests.yml +47 -0
- ctransformers/.gitignore +754 -0
- ctransformers/.gitmodules +9 -0
- ctransformers/CMakeLists.txt +144 -0
- ctransformers/LICENSE +21 -0
- ctransformers/README.md +495 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/.ninja_deps +0 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/.ninja_log +7 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeCache.txt +419 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CMakeCCompiler.cmake +72 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CMakeCXXCompiler.cmake +83 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_C.bin +3 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_CXX.bin +3 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CMakeRCCompiler.cmake +6 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CMakeSystem.cmake +15 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.c +866 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.exe +0 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.obj +0 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdCXX/CMakeCXXCompilerId.cpp +855 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdCXX/CMakeCXXCompilerId.exe +0 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdCXX/CMakeCXXCompilerId.obj +0 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeConfigureLog.yaml +250 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ShowIncludes/foo.h +1 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ShowIncludes/main.c +2 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ShowIncludes/main.obj +0 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/TargetDirectories.txt +6 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/cmake.check_cache +1 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ctransformers.dir/exports.def +0 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ctransformers.dir/exports.def.objs +3 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ctransformers.dir/models/ggml/ggml.c.obj +0 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ctransformers.dir/models/ggml/k_quants.c.obj +0 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ctransformers.dir/models/llm.cc.obj +3 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/rules.ninja +78 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeSpec.json +1 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/build.ninja +203 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/cmake_install.cmake +48 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/ctransformers.exp +3 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/ctransformers.lib +3 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/install_manifest.txt +1 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/lib/ctransformers.dll +3 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-build/lib/ctransformers.dll.manifest +10 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/__init__.py +2 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/hub.py +215 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/langchain.py +89 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/lib.py +42 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/lib/avx/ctransformers.dll +0 -0
- ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/lib/avx/libctransformers.dylib +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,26 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ctransformers.dir/models/llm.cc.obj filter=lfs diff=lfs merge=lfs -text
|
37 |
+
ctransformers/_skbuild/win-amd64-3.11/cmake-build/ctransformers.exp filter=lfs diff=lfs merge=lfs -text
|
38 |
+
ctransformers/_skbuild/win-amd64-3.11/cmake-build/ctransformers.lib filter=lfs diff=lfs merge=lfs -text
|
39 |
+
ctransformers/_skbuild/win-amd64-3.11/cmake-build/lib/ctransformers.dll filter=lfs diff=lfs merge=lfs -text
|
40 |
+
ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/lib/avx/libctransformers.dylib filter=lfs diff=lfs merge=lfs -text
|
41 |
+
ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/lib/avx/libctransformers.so filter=lfs diff=lfs merge=lfs -text
|
42 |
+
ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/lib/avx2/libctransformers.dylib filter=lfs diff=lfs merge=lfs -text
|
43 |
+
ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/lib/avx2/libctransformers.so filter=lfs diff=lfs merge=lfs -text
|
44 |
+
ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/lib/basic/libctransformers.dylib filter=lfs diff=lfs merge=lfs -text
|
45 |
+
ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/lib/local/ctransformers.dll filter=lfs diff=lfs merge=lfs -text
|
46 |
+
ctransformers/_skbuild/win-amd64-3.11/setuptools/lib.win-amd64-cpython-311/ctransformers/lib/avx/libctransformers.dylib filter=lfs diff=lfs merge=lfs -text
|
47 |
+
ctransformers/_skbuild/win-amd64-3.11/setuptools/lib.win-amd64-cpython-311/ctransformers/lib/avx/libctransformers.so filter=lfs diff=lfs merge=lfs -text
|
48 |
+
ctransformers/_skbuild/win-amd64-3.11/setuptools/lib.win-amd64-cpython-311/ctransformers/lib/avx2/libctransformers.dylib filter=lfs diff=lfs merge=lfs -text
|
49 |
+
ctransformers/_skbuild/win-amd64-3.11/setuptools/lib.win-amd64-cpython-311/ctransformers/lib/avx2/libctransformers.so filter=lfs diff=lfs merge=lfs -text
|
50 |
+
ctransformers/_skbuild/win-amd64-3.11/setuptools/lib.win-amd64-cpython-311/ctransformers/lib/basic/libctransformers.dylib filter=lfs diff=lfs merge=lfs -text
|
51 |
+
ctransformers/_skbuild/win-amd64-3.11/setuptools/lib.win-amd64-cpython-311/ctransformers/lib/local/ctransformers.dll filter=lfs diff=lfs merge=lfs -text
|
52 |
+
ctransformers/ctransformers/lib/avx/libctransformers.dylib filter=lfs diff=lfs merge=lfs -text
|
53 |
+
ctransformers/ctransformers/lib/avx/libctransformers.so filter=lfs diff=lfs merge=lfs -text
|
54 |
+
ctransformers/ctransformers/lib/avx2/libctransformers.dylib filter=lfs diff=lfs merge=lfs -text
|
55 |
+
ctransformers/ctransformers/lib/avx2/libctransformers.so filter=lfs diff=lfs merge=lfs -text
|
56 |
+
ctransformers/ctransformers/lib/basic/libctransformers.dylib filter=lfs diff=lfs merge=lfs -text
|
57 |
+
ctransformers/models/submodules/ggml/examples/mnist/models/mnist/mnist_model.state_dict filter=lfs diff=lfs merge=lfs -text
|
58 |
+
ctransformers/models/submodules/ggml/examples/mnist/models/mnist/t10k-images.idx3-ubyte filter=lfs diff=lfs merge=lfs -text
|
ctransformers/.gitattributes
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
# Enforce Unix newlines
|
2 |
+
* text=auto eol=lf
|
ctransformers/.github/workflows/build.yml
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: build
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
paths:
|
6 |
+
- 'models/**'
|
7 |
+
- CMakeLists.txt
|
8 |
+
branches:
|
9 |
+
- main
|
10 |
+
tags-ignore:
|
11 |
+
- '**'
|
12 |
+
workflow_dispatch:
|
13 |
+
|
14 |
+
jobs:
|
15 |
+
build:
|
16 |
+
name: ${{ matrix.os }} ${{ matrix.instructions }}
|
17 |
+
runs-on: ${{ matrix.os }}
|
18 |
+
|
19 |
+
strategy:
|
20 |
+
fail-fast: false
|
21 |
+
matrix:
|
22 |
+
os:
|
23 |
+
- ubuntu-20.04
|
24 |
+
- macos-latest
|
25 |
+
- windows-latest
|
26 |
+
instructions:
|
27 |
+
- avx2
|
28 |
+
- avx
|
29 |
+
- basic
|
30 |
+
|
31 |
+
steps:
|
32 |
+
- uses: actions/checkout@v3
|
33 |
+
|
34 |
+
- name: Build
|
35 |
+
run: |
|
36 |
+
cmake -B build -DCT_INSTRUCTIONS=${{ matrix.instructions }}
|
37 |
+
cmake --build build --config Release
|
38 |
+
|
39 |
+
mkdir tmp
|
40 |
+
mv build/lib tmp/${{ matrix.instructions }}
|
41 |
+
|
42 |
+
- uses: actions/upload-artifact@v3
|
43 |
+
with:
|
44 |
+
name: libraries
|
45 |
+
path: tmp
|
46 |
+
if-no-files-found: error
|
47 |
+
|
48 |
+
finish:
|
49 |
+
needs: build
|
50 |
+
runs-on: ubuntu-latest
|
51 |
+
steps:
|
52 |
+
- uses: actions/checkout@v3
|
53 |
+
with:
|
54 |
+
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
55 |
+
|
56 |
+
- uses: actions/download-artifact@v3
|
57 |
+
with:
|
58 |
+
name: libraries
|
59 |
+
path: ctransformers/lib
|
60 |
+
|
61 |
+
- uses: git-actions/set-user@v1
|
62 |
+
|
63 |
+
- name: Save
|
64 |
+
run: |
|
65 |
+
git add ctransformers/lib
|
66 |
+
git commit -m 'Auto Build'
|
67 |
+
git push
|
ctransformers/.github/workflows/tests.yml
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: tests
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
paths:
|
6 |
+
- 'ctransformers/**'
|
7 |
+
- 'tests/**'
|
8 |
+
workflow_dispatch:
|
9 |
+
|
10 |
+
jobs:
|
11 |
+
build:
|
12 |
+
name: Python ${{ matrix.python }} on ${{ matrix.os }} ${{ matrix.instructions }}
|
13 |
+
runs-on: ${{ matrix.os }}
|
14 |
+
strategy:
|
15 |
+
fail-fast: false
|
16 |
+
matrix:
|
17 |
+
os:
|
18 |
+
- ubuntu-20.04
|
19 |
+
- macos-latest
|
20 |
+
- windows-latest
|
21 |
+
instructions:
|
22 |
+
- avx2
|
23 |
+
- avx
|
24 |
+
- basic
|
25 |
+
python:
|
26 |
+
- '3.8'
|
27 |
+
- '3.9'
|
28 |
+
- '3.10'
|
29 |
+
- '3.11'
|
30 |
+
exclude:
|
31 |
+
- os: macos-latest
|
32 |
+
instructions: avx2
|
33 |
+
|
34 |
+
steps:
|
35 |
+
- uses: actions/checkout@v3
|
36 |
+
|
37 |
+
- uses: actions/setup-python@v4
|
38 |
+
with:
|
39 |
+
python-version: ${{ matrix.python }}
|
40 |
+
|
41 |
+
- name: Install Dependencies
|
42 |
+
run: |
|
43 |
+
python -m pip install --upgrade pip
|
44 |
+
pip install huggingface-hub pytest
|
45 |
+
|
46 |
+
- name: Test
|
47 |
+
run: pytest tests --lib ${{ matrix.instructions }}
|
ctransformers/.gitignore
ADDED
@@ -0,0 +1,754 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
tmp
|
2 |
+
*.bin
|
3 |
+
|
4 |
+
# Created by https://www.toptal.com/developers/gitignore/api/c++,python,cmake,linux,macos,windows,sublimetext,vim,visualstudio,visualstudiocode
|
5 |
+
# Edit at https://www.toptal.com/developers/gitignore?templates=c++,python,cmake,linux,macos,windows,sublimetext,vim,visualstudio,visualstudiocode
|
6 |
+
|
7 |
+
### C++ ###
|
8 |
+
# Prerequisites
|
9 |
+
*.d
|
10 |
+
|
11 |
+
# Compiled Object files
|
12 |
+
*.slo
|
13 |
+
*.lo
|
14 |
+
*.o
|
15 |
+
*.obj
|
16 |
+
|
17 |
+
# Precompiled Headers
|
18 |
+
*.gch
|
19 |
+
*.pch
|
20 |
+
|
21 |
+
# Fortran module files
|
22 |
+
*.mod
|
23 |
+
*.smod
|
24 |
+
|
25 |
+
# Compiled Static libraries
|
26 |
+
*.lai
|
27 |
+
*.la
|
28 |
+
*.a
|
29 |
+
*.lib
|
30 |
+
|
31 |
+
# Executables
|
32 |
+
*.exe
|
33 |
+
*.out
|
34 |
+
*.app
|
35 |
+
|
36 |
+
### CMake ###
|
37 |
+
CMakeLists.txt.user
|
38 |
+
CMakeCache.txt
|
39 |
+
CMakeFiles
|
40 |
+
CMakeScripts
|
41 |
+
Testing
|
42 |
+
Makefile
|
43 |
+
cmake_install.cmake
|
44 |
+
install_manifest.txt
|
45 |
+
compile_commands.json
|
46 |
+
CTestTestfile.cmake
|
47 |
+
_deps
|
48 |
+
|
49 |
+
### CMake Patch ###
|
50 |
+
# External projects
|
51 |
+
*-prefix/
|
52 |
+
|
53 |
+
### Linux ###
|
54 |
+
*~
|
55 |
+
|
56 |
+
# temporary files which can be created if a process still has a handle open of a deleted file
|
57 |
+
.fuse_hidden*
|
58 |
+
|
59 |
+
# KDE directory preferences
|
60 |
+
.directory
|
61 |
+
|
62 |
+
# Linux trash folder which might appear on any partition or disk
|
63 |
+
.Trash-*
|
64 |
+
|
65 |
+
# .nfs files are created when an open file is removed but is still being accessed
|
66 |
+
.nfs*
|
67 |
+
|
68 |
+
### macOS ###
|
69 |
+
# General
|
70 |
+
.DS_Store
|
71 |
+
.AppleDouble
|
72 |
+
.LSOverride
|
73 |
+
|
74 |
+
# Icon must end with two \r
|
75 |
+
Icon
|
76 |
+
|
77 |
+
|
78 |
+
# Thumbnails
|
79 |
+
._*
|
80 |
+
|
81 |
+
# Files that might appear in the root of a volume
|
82 |
+
.DocumentRevisions-V100
|
83 |
+
.fseventsd
|
84 |
+
.Spotlight-V100
|
85 |
+
.TemporaryItems
|
86 |
+
.Trashes
|
87 |
+
.VolumeIcon.icns
|
88 |
+
.com.apple.timemachine.donotpresent
|
89 |
+
|
90 |
+
# Directories potentially created on remote AFP share
|
91 |
+
.AppleDB
|
92 |
+
.AppleDesktop
|
93 |
+
Network Trash Folder
|
94 |
+
Temporary Items
|
95 |
+
.apdisk
|
96 |
+
|
97 |
+
### macOS Patch ###
|
98 |
+
# iCloud generated files
|
99 |
+
*.icloud
|
100 |
+
|
101 |
+
### Python ###
|
102 |
+
# Byte-compiled / optimized / DLL files
|
103 |
+
__pycache__/
|
104 |
+
*.py[cod]
|
105 |
+
*$py.class
|
106 |
+
|
107 |
+
# C extensions
|
108 |
+
|
109 |
+
# Distribution / packaging
|
110 |
+
.Python
|
111 |
+
build/
|
112 |
+
develop-eggs/
|
113 |
+
dist/
|
114 |
+
downloads/
|
115 |
+
eggs/
|
116 |
+
.eggs/
|
117 |
+
lib64/
|
118 |
+
parts/
|
119 |
+
sdist/
|
120 |
+
var/
|
121 |
+
wheels/
|
122 |
+
share/python-wheels/
|
123 |
+
*.egg-info/
|
124 |
+
.installed.cfg
|
125 |
+
*.egg
|
126 |
+
MANIFEST
|
127 |
+
|
128 |
+
# PyInstaller
|
129 |
+
# Usually these files are written by a python script from a template
|
130 |
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
131 |
+
*.manifest
|
132 |
+
*.spec
|
133 |
+
|
134 |
+
# Installer logs
|
135 |
+
pip-log.txt
|
136 |
+
pip-delete-this-directory.txt
|
137 |
+
|
138 |
+
# Unit test / coverage reports
|
139 |
+
htmlcov/
|
140 |
+
.tox/
|
141 |
+
.nox/
|
142 |
+
.coverage
|
143 |
+
.coverage.*
|
144 |
+
.cache
|
145 |
+
nosetests.xml
|
146 |
+
coverage.xml
|
147 |
+
*.cover
|
148 |
+
*.py,cover
|
149 |
+
.hypothesis/
|
150 |
+
.pytest_cache/
|
151 |
+
cover/
|
152 |
+
|
153 |
+
# Translations
|
154 |
+
*.mo
|
155 |
+
*.pot
|
156 |
+
|
157 |
+
# Django stuff:
|
158 |
+
*.log
|
159 |
+
local_settings.py
|
160 |
+
db.sqlite3
|
161 |
+
db.sqlite3-journal
|
162 |
+
|
163 |
+
# Flask stuff:
|
164 |
+
instance/
|
165 |
+
.webassets-cache
|
166 |
+
|
167 |
+
# Scrapy stuff:
|
168 |
+
.scrapy
|
169 |
+
|
170 |
+
# Sphinx documentation
|
171 |
+
docs/_build/
|
172 |
+
|
173 |
+
# PyBuilder
|
174 |
+
.pybuilder/
|
175 |
+
target/
|
176 |
+
|
177 |
+
# Jupyter Notebook
|
178 |
+
.ipynb_checkpoints
|
179 |
+
|
180 |
+
# IPython
|
181 |
+
profile_default/
|
182 |
+
ipython_config.py
|
183 |
+
|
184 |
+
# pyenv
|
185 |
+
# For a library or package, you might want to ignore these files since the code is
|
186 |
+
# intended to run in multiple environments; otherwise, check them in:
|
187 |
+
# .python-version
|
188 |
+
|
189 |
+
# pipenv
|
190 |
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
191 |
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
192 |
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
193 |
+
# install all needed dependencies.
|
194 |
+
#Pipfile.lock
|
195 |
+
|
196 |
+
# poetry
|
197 |
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
198 |
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
199 |
+
# commonly ignored for libraries.
|
200 |
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
201 |
+
#poetry.lock
|
202 |
+
|
203 |
+
# pdm
|
204 |
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
205 |
+
#pdm.lock
|
206 |
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
207 |
+
# in version control.
|
208 |
+
# https://pdm.fming.dev/#use-with-ide
|
209 |
+
.pdm.toml
|
210 |
+
|
211 |
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
212 |
+
__pypackages__/
|
213 |
+
|
214 |
+
# Celery stuff
|
215 |
+
celerybeat-schedule
|
216 |
+
celerybeat.pid
|
217 |
+
|
218 |
+
# SageMath parsed files
|
219 |
+
*.sage.py
|
220 |
+
|
221 |
+
# Environments
|
222 |
+
.env
|
223 |
+
.venv
|
224 |
+
env/
|
225 |
+
venv/
|
226 |
+
ENV/
|
227 |
+
env.bak/
|
228 |
+
venv.bak/
|
229 |
+
|
230 |
+
# Spyder project settings
|
231 |
+
.spyderproject
|
232 |
+
.spyproject
|
233 |
+
|
234 |
+
# Rope project settings
|
235 |
+
.ropeproject
|
236 |
+
|
237 |
+
# mkdocs documentation
|
238 |
+
/site
|
239 |
+
|
240 |
+
# mypy
|
241 |
+
.mypy_cache/
|
242 |
+
.dmypy.json
|
243 |
+
dmypy.json
|
244 |
+
|
245 |
+
# Pyre type checker
|
246 |
+
.pyre/
|
247 |
+
|
248 |
+
# pytype static type analyzer
|
249 |
+
.pytype/
|
250 |
+
|
251 |
+
# Cython debug symbols
|
252 |
+
cython_debug/
|
253 |
+
|
254 |
+
# PyCharm
|
255 |
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
256 |
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
257 |
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
258 |
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
259 |
+
#.idea/
|
260 |
+
|
261 |
+
### Python Patch ###
|
262 |
+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
|
263 |
+
poetry.toml
|
264 |
+
|
265 |
+
# ruff
|
266 |
+
.ruff_cache/
|
267 |
+
|
268 |
+
# LSP config files
|
269 |
+
pyrightconfig.json
|
270 |
+
|
271 |
+
### SublimeText ###
|
272 |
+
# Cache files for Sublime Text
|
273 |
+
*.tmlanguage.cache
|
274 |
+
*.tmPreferences.cache
|
275 |
+
*.stTheme.cache
|
276 |
+
|
277 |
+
# Workspace files are user-specific
|
278 |
+
*.sublime-workspace
|
279 |
+
|
280 |
+
# Project files should be checked into the repository, unless a significant
|
281 |
+
# proportion of contributors will probably not be using Sublime Text
|
282 |
+
# *.sublime-project
|
283 |
+
|
284 |
+
# SFTP configuration file
|
285 |
+
sftp-config.json
|
286 |
+
sftp-config-alt*.json
|
287 |
+
|
288 |
+
# Package control specific files
|
289 |
+
Package Control.last-run
|
290 |
+
Package Control.ca-list
|
291 |
+
Package Control.ca-bundle
|
292 |
+
Package Control.system-ca-bundle
|
293 |
+
Package Control.cache/
|
294 |
+
Package Control.ca-certs/
|
295 |
+
Package Control.merged-ca-bundle
|
296 |
+
Package Control.user-ca-bundle
|
297 |
+
oscrypto-ca-bundle.crt
|
298 |
+
bh_unicode_properties.cache
|
299 |
+
|
300 |
+
# Sublime-github package stores a github token in this file
|
301 |
+
# https://packagecontrol.io/packages/sublime-github
|
302 |
+
GitHub.sublime-settings
|
303 |
+
|
304 |
+
### Vim ###
|
305 |
+
# Swap
|
306 |
+
[._]*.s[a-v][a-z]
|
307 |
+
!*.svg # comment out if you don't need vector files
|
308 |
+
[._]*.sw[a-p]
|
309 |
+
[._]s[a-rt-v][a-z]
|
310 |
+
[._]ss[a-gi-z]
|
311 |
+
[._]sw[a-p]
|
312 |
+
|
313 |
+
# Session
|
314 |
+
Session.vim
|
315 |
+
Sessionx.vim
|
316 |
+
|
317 |
+
# Temporary
|
318 |
+
.netrwhist
|
319 |
+
# Auto-generated tag files
|
320 |
+
tags
|
321 |
+
# Persistent undo
|
322 |
+
[._]*.un~
|
323 |
+
|
324 |
+
### VisualStudioCode ###
|
325 |
+
.vscode/*
|
326 |
+
!.vscode/settings.json
|
327 |
+
!.vscode/tasks.json
|
328 |
+
!.vscode/launch.json
|
329 |
+
!.vscode/extensions.json
|
330 |
+
!.vscode/*.code-snippets
|
331 |
+
|
332 |
+
# Local History for Visual Studio Code
|
333 |
+
.history/
|
334 |
+
|
335 |
+
# Built Visual Studio Code Extensions
|
336 |
+
*.vsix
|
337 |
+
|
338 |
+
### VisualStudioCode Patch ###
|
339 |
+
# Ignore all local history of files
|
340 |
+
.history
|
341 |
+
.ionide
|
342 |
+
|
343 |
+
### Windows ###
|
344 |
+
# Windows thumbnail cache files
|
345 |
+
Thumbs.db
|
346 |
+
Thumbs.db:encryptable
|
347 |
+
ehthumbs.db
|
348 |
+
ehthumbs_vista.db
|
349 |
+
|
350 |
+
# Dump file
|
351 |
+
*.stackdump
|
352 |
+
|
353 |
+
# Folder config file
|
354 |
+
[Dd]esktop.ini
|
355 |
+
|
356 |
+
# Recycle Bin used on file shares
|
357 |
+
$RECYCLE.BIN/
|
358 |
+
|
359 |
+
# Windows Installer files
|
360 |
+
*.cab
|
361 |
+
*.msi
|
362 |
+
*.msix
|
363 |
+
*.msm
|
364 |
+
*.msp
|
365 |
+
|
366 |
+
# Windows shortcuts
|
367 |
+
*.lnk
|
368 |
+
|
369 |
+
### VisualStudio ###
|
370 |
+
## Ignore Visual Studio temporary files, build results, and
|
371 |
+
## files generated by popular Visual Studio add-ons.
|
372 |
+
##
|
373 |
+
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
|
374 |
+
|
375 |
+
# User-specific files
|
376 |
+
*.rsuser
|
377 |
+
*.suo
|
378 |
+
*.user
|
379 |
+
*.userosscache
|
380 |
+
*.sln.docstates
|
381 |
+
|
382 |
+
# User-specific files (MonoDevelop/Xamarin Studio)
|
383 |
+
*.userprefs
|
384 |
+
|
385 |
+
# Mono auto generated files
|
386 |
+
mono_crash.*
|
387 |
+
|
388 |
+
# Build results
|
389 |
+
[Dd]ebug/
|
390 |
+
[Dd]ebugPublic/
|
391 |
+
[Rr]elease/
|
392 |
+
[Rr]eleases/
|
393 |
+
x64/
|
394 |
+
x86/
|
395 |
+
[Ww][Ii][Nn]32/
|
396 |
+
[Aa][Rr][Mm]/
|
397 |
+
[Aa][Rr][Mm]64/
|
398 |
+
bld/
|
399 |
+
[Bb]in/
|
400 |
+
[Oo]bj/
|
401 |
+
[Ll]og/
|
402 |
+
[Ll]ogs/
|
403 |
+
|
404 |
+
# Visual Studio 2015/2017 cache/options directory
|
405 |
+
.vs/
|
406 |
+
# Uncomment if you have tasks that create the project's static files in wwwroot
|
407 |
+
#wwwroot/
|
408 |
+
|
409 |
+
# Visual Studio 2017 auto generated files
|
410 |
+
Generated\ Files/
|
411 |
+
|
412 |
+
# MSTest test Results
|
413 |
+
[Tt]est[Rr]esult*/
|
414 |
+
[Bb]uild[Ll]og.*
|
415 |
+
|
416 |
+
# NUnit
|
417 |
+
*.VisualState.xml
|
418 |
+
TestResult.xml
|
419 |
+
nunit-*.xml
|
420 |
+
|
421 |
+
# Build Results of an ATL Project
|
422 |
+
[Dd]ebugPS/
|
423 |
+
[Rr]eleasePS/
|
424 |
+
dlldata.c
|
425 |
+
|
426 |
+
# Benchmark Results
|
427 |
+
BenchmarkDotNet.Artifacts/
|
428 |
+
|
429 |
+
# .NET Core
|
430 |
+
project.lock.json
|
431 |
+
project.fragment.lock.json
|
432 |
+
artifacts/
|
433 |
+
|
434 |
+
# ASP.NET Scaffolding
|
435 |
+
ScaffoldingReadMe.txt
|
436 |
+
|
437 |
+
# StyleCop
|
438 |
+
StyleCopReport.xml
|
439 |
+
|
440 |
+
# Files built by Visual Studio
|
441 |
+
*_i.c
|
442 |
+
*_p.c
|
443 |
+
*_h.h
|
444 |
+
*.ilk
|
445 |
+
*.meta
|
446 |
+
*.iobj
|
447 |
+
*.pdb
|
448 |
+
*.ipdb
|
449 |
+
*.pgc
|
450 |
+
*.pgd
|
451 |
+
*.rsp
|
452 |
+
*.sbr
|
453 |
+
*.tlb
|
454 |
+
*.tli
|
455 |
+
*.tlh
|
456 |
+
*.tmp
|
457 |
+
*.tmp_proj
|
458 |
+
*_wpftmp.csproj
|
459 |
+
*.tlog
|
460 |
+
*.vspscc
|
461 |
+
*.vssscc
|
462 |
+
.builds
|
463 |
+
*.pidb
|
464 |
+
*.svclog
|
465 |
+
*.scc
|
466 |
+
|
467 |
+
# Chutzpah Test files
|
468 |
+
_Chutzpah*
|
469 |
+
|
470 |
+
# Visual C++ cache files
|
471 |
+
ipch/
|
472 |
+
*.aps
|
473 |
+
*.ncb
|
474 |
+
*.opendb
|
475 |
+
*.opensdf
|
476 |
+
*.sdf
|
477 |
+
*.cachefile
|
478 |
+
*.VC.db
|
479 |
+
*.VC.VC.opendb
|
480 |
+
|
481 |
+
# Visual Studio profiler
|
482 |
+
*.psess
|
483 |
+
*.vsp
|
484 |
+
*.vspx
|
485 |
+
*.sap
|
486 |
+
|
487 |
+
# Visual Studio Trace Files
|
488 |
+
*.e2e
|
489 |
+
|
490 |
+
# TFS 2012 Local Workspace
|
491 |
+
$tf/
|
492 |
+
|
493 |
+
# Guidance Automation Toolkit
|
494 |
+
*.gpState
|
495 |
+
|
496 |
+
# ReSharper is a .NET coding add-in
|
497 |
+
_ReSharper*/
|
498 |
+
*.[Rr]e[Ss]harper
|
499 |
+
*.DotSettings.user
|
500 |
+
|
501 |
+
# TeamCity is a build add-in
|
502 |
+
_TeamCity*
|
503 |
+
|
504 |
+
# DotCover is a Code Coverage Tool
|
505 |
+
*.dotCover
|
506 |
+
|
507 |
+
# AxoCover is a Code Coverage Tool
|
508 |
+
.axoCover/*
|
509 |
+
!.axoCover/settings.json
|
510 |
+
|
511 |
+
# Coverlet is a free, cross platform Code Coverage Tool
|
512 |
+
coverage*.json
|
513 |
+
coverage*.xml
|
514 |
+
coverage*.info
|
515 |
+
|
516 |
+
# Visual Studio code coverage results
|
517 |
+
*.coverage
|
518 |
+
*.coveragexml
|
519 |
+
|
520 |
+
# NCrunch
|
521 |
+
_NCrunch_*
|
522 |
+
.*crunch*.local.xml
|
523 |
+
nCrunchTemp_*
|
524 |
+
|
525 |
+
# MightyMoose
|
526 |
+
*.mm.*
|
527 |
+
AutoTest.Net/
|
528 |
+
|
529 |
+
# Web workbench (sass)
|
530 |
+
.sass-cache/
|
531 |
+
|
532 |
+
# Installshield output folder
|
533 |
+
[Ee]xpress/
|
534 |
+
|
535 |
+
# DocProject is a documentation generator add-in
|
536 |
+
DocProject/buildhelp/
|
537 |
+
DocProject/Help/*.HxT
|
538 |
+
DocProject/Help/*.HxC
|
539 |
+
DocProject/Help/*.hhc
|
540 |
+
DocProject/Help/*.hhk
|
541 |
+
DocProject/Help/*.hhp
|
542 |
+
DocProject/Help/Html2
|
543 |
+
DocProject/Help/html
|
544 |
+
|
545 |
+
# Click-Once directory
|
546 |
+
publish/
|
547 |
+
|
548 |
+
# Publish Web Output
|
549 |
+
*.[Pp]ublish.xml
|
550 |
+
*.azurePubxml
|
551 |
+
# Note: Comment the next line if you want to checkin your web deploy settings,
|
552 |
+
# but database connection strings (with potential passwords) will be unencrypted
|
553 |
+
*.pubxml
|
554 |
+
*.publishproj
|
555 |
+
|
556 |
+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
557 |
+
# checkin your Azure Web App publish settings, but sensitive information contained
|
558 |
+
# in these scripts will be unencrypted
|
559 |
+
PublishScripts/
|
560 |
+
|
561 |
+
# NuGet Packages
|
562 |
+
*.nupkg
|
563 |
+
# NuGet Symbol Packages
|
564 |
+
*.snupkg
|
565 |
+
# The packages folder can be ignored because of Package Restore
|
566 |
+
**/[Pp]ackages/*
|
567 |
+
# except build/, which is used as an MSBuild target.
|
568 |
+
!**/[Pp]ackages/build/
|
569 |
+
# Uncomment if necessary however generally it will be regenerated when needed
|
570 |
+
#!**/[Pp]ackages/repositories.config
|
571 |
+
# NuGet v3's project.json files produces more ignorable files
|
572 |
+
*.nuget.props
|
573 |
+
*.nuget.targets
|
574 |
+
|
575 |
+
# Microsoft Azure Build Output
|
576 |
+
csx/
|
577 |
+
*.build.csdef
|
578 |
+
|
579 |
+
# Microsoft Azure Emulator
|
580 |
+
ecf/
|
581 |
+
rcf/
|
582 |
+
|
583 |
+
# Windows Store app package directories and files
|
584 |
+
AppPackages/
|
585 |
+
BundleArtifacts/
|
586 |
+
Package.StoreAssociation.xml
|
587 |
+
_pkginfo.txt
|
588 |
+
*.appx
|
589 |
+
*.appxbundle
|
590 |
+
*.appxupload
|
591 |
+
|
592 |
+
# Visual Studio cache files
|
593 |
+
# files ending in .cache can be ignored
|
594 |
+
*.[Cc]ache
|
595 |
+
# but keep track of directories ending in .cache
|
596 |
+
!?*.[Cc]ache/
|
597 |
+
|
598 |
+
# Others
|
599 |
+
ClientBin/
|
600 |
+
~$*
|
601 |
+
*.dbmdl
|
602 |
+
*.dbproj.schemaview
|
603 |
+
*.jfm
|
604 |
+
*.pfx
|
605 |
+
*.publishsettings
|
606 |
+
orleans.codegen.cs
|
607 |
+
|
608 |
+
# Including strong name files can present a security risk
|
609 |
+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
|
610 |
+
#*.snk
|
611 |
+
|
612 |
+
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
613 |
+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
614 |
+
#bower_components/
|
615 |
+
|
616 |
+
# RIA/Silverlight projects
|
617 |
+
Generated_Code/
|
618 |
+
|
619 |
+
# Backup & report files from converting an old project file
|
620 |
+
# to a newer Visual Studio version. Backup files are not needed,
|
621 |
+
# because we have git ;-)
|
622 |
+
_UpgradeReport_Files/
|
623 |
+
Backup*/
|
624 |
+
UpgradeLog*.XML
|
625 |
+
UpgradeLog*.htm
|
626 |
+
ServiceFabricBackup/
|
627 |
+
*.rptproj.bak
|
628 |
+
|
629 |
+
# SQL Server files
|
630 |
+
*.mdf
|
631 |
+
*.ldf
|
632 |
+
*.ndf
|
633 |
+
|
634 |
+
# Business Intelligence projects
|
635 |
+
*.rdl.data
|
636 |
+
*.bim.layout
|
637 |
+
*.bim_*.settings
|
638 |
+
*.rptproj.rsuser
|
639 |
+
*- [Bb]ackup.rdl
|
640 |
+
*- [Bb]ackup ([0-9]).rdl
|
641 |
+
*- [Bb]ackup ([0-9][0-9]).rdl
|
642 |
+
|
643 |
+
# Microsoft Fakes
|
644 |
+
FakesAssemblies/
|
645 |
+
|
646 |
+
# GhostDoc plugin setting file
|
647 |
+
*.GhostDoc.xml
|
648 |
+
|
649 |
+
# Node.js Tools for Visual Studio
|
650 |
+
.ntvs_analysis.dat
|
651 |
+
node_modules/
|
652 |
+
|
653 |
+
# Visual Studio 6 build log
|
654 |
+
*.plg
|
655 |
+
|
656 |
+
# Visual Studio 6 workspace options file
|
657 |
+
*.opt
|
658 |
+
|
659 |
+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
|
660 |
+
*.vbw
|
661 |
+
|
662 |
+
# Visual Studio 6 auto-generated project file (contains which files were open etc.)
|
663 |
+
*.vbp
|
664 |
+
|
665 |
+
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
|
666 |
+
*.dsw
|
667 |
+
*.dsp
|
668 |
+
|
669 |
+
# Visual Studio 6 technical files
|
670 |
+
|
671 |
+
# Visual Studio LightSwitch build output
|
672 |
+
**/*.HTMLClient/GeneratedArtifacts
|
673 |
+
**/*.DesktopClient/GeneratedArtifacts
|
674 |
+
**/*.DesktopClient/ModelManifest.xml
|
675 |
+
**/*.Server/GeneratedArtifacts
|
676 |
+
**/*.Server/ModelManifest.xml
|
677 |
+
_Pvt_Extensions
|
678 |
+
|
679 |
+
# Paket dependency manager
|
680 |
+
.paket/paket.exe
|
681 |
+
paket-files/
|
682 |
+
|
683 |
+
# FAKE - F# Make
|
684 |
+
.fake/
|
685 |
+
|
686 |
+
# CodeRush personal settings
|
687 |
+
.cr/personal
|
688 |
+
|
689 |
+
# Python Tools for Visual Studio (PTVS)
|
690 |
+
*.pyc
|
691 |
+
|
692 |
+
# Cake - Uncomment if you are using it
|
693 |
+
# tools/**
|
694 |
+
# !tools/packages.config
|
695 |
+
|
696 |
+
# Tabs Studio
|
697 |
+
*.tss
|
698 |
+
|
699 |
+
# Telerik's JustMock configuration file
|
700 |
+
*.jmconfig
|
701 |
+
|
702 |
+
# BizTalk build output
|
703 |
+
*.btp.cs
|
704 |
+
*.btm.cs
|
705 |
+
*.odx.cs
|
706 |
+
*.xsd.cs
|
707 |
+
|
708 |
+
# OpenCover UI analysis results
|
709 |
+
OpenCover/
|
710 |
+
|
711 |
+
# Azure Stream Analytics local run output
|
712 |
+
ASALocalRun/
|
713 |
+
|
714 |
+
# MSBuild Binary and Structured Log
|
715 |
+
*.binlog
|
716 |
+
|
717 |
+
# NVidia Nsight GPU debugger configuration file
|
718 |
+
*.nvuser
|
719 |
+
|
720 |
+
# MFractors (Xamarin productivity tool) working folder
|
721 |
+
.mfractor/
|
722 |
+
|
723 |
+
# Local History for Visual Studio
|
724 |
+
.localhistory/
|
725 |
+
|
726 |
+
# Visual Studio History (VSHistory) files
|
727 |
+
.vshistory/
|
728 |
+
|
729 |
+
# BeatPulse healthcheck temp database
|
730 |
+
healthchecksdb
|
731 |
+
|
732 |
+
# Backup folder for Package Reference Convert tool in Visual Studio 2017
|
733 |
+
MigrationBackup/
|
734 |
+
|
735 |
+
# Ionide (cross platform F# VS Code tools) working folder
|
736 |
+
.ionide/
|
737 |
+
|
738 |
+
# Fody - auto-generated XML schema
|
739 |
+
FodyWeavers.xsd
|
740 |
+
|
741 |
+
# VS Code files for those working on multiple tools
|
742 |
+
*.code-workspace
|
743 |
+
|
744 |
+
# Local History for Visual Studio Code
|
745 |
+
|
746 |
+
# Windows Installer files from build outputs
|
747 |
+
|
748 |
+
# JetBrains Rider
|
749 |
+
*.sln.iml
|
750 |
+
|
751 |
+
### VisualStudio Patch ###
|
752 |
+
# Additional files built by Visual Studio
|
753 |
+
|
754 |
+
# End of https://www.toptal.com/developers/gitignore/api/c++,python,cmake,linux,macos,windows,sublimetext,vim,visualstudio,visualstudiocode
|
ctransformers/.gitmodules
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[submodule "models/ggml"]
|
2 |
+
path = models/submodules/ggml
|
3 |
+
url = https://github.com/ggerganov/ggml
|
4 |
+
[submodule "models/llama.cpp"]
|
5 |
+
path = models/submodules/llama.cpp
|
6 |
+
url = https://github.com/ggerganov/llama.cpp
|
7 |
+
[submodule "models/submodules/ggllm.cpp"]
|
8 |
+
path = models/submodules/ggllm.cpp
|
9 |
+
url = https://github.com/cmp-nct/ggllm.cpp
|
ctransformers/CMakeLists.txt
ADDED
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_minimum_required(VERSION 3.17)
|
2 |
+
project(ctransformers C CXX)
|
3 |
+
|
4 |
+
set(CT_INSTRUCTIONS "avx2" CACHE STRING "avx2 | avx | basic")
|
5 |
+
|
6 |
+
option(CT_CUBLAS "Use cuBLAS" OFF)
|
7 |
+
set(CT_CUDA_DMMV_X "32" CACHE STRING "x stride for dmmv CUDA kernels")
|
8 |
+
set(CT_CUDA_DMMV_Y "1" CACHE STRING "y block size for dmmv CUDA kernels")
|
9 |
+
set(CT_CUDA_KQUANTS_ITER "2" CACHE STRING "iters/thread per block for Q2_K/Q6_K")
|
10 |
+
|
11 |
+
message(STATUS "CT_INSTRUCTIONS: ${CT_INSTRUCTIONS}")
|
12 |
+
message(STATUS "CT_CUBLAS: ${CT_CUBLAS}")
|
13 |
+
|
14 |
+
set(BUILD_SHARED_LIBS ON)
|
15 |
+
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
16 |
+
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib/$<0:>)
|
17 |
+
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib/$<0:>)
|
18 |
+
|
19 |
+
# Compile Flags
|
20 |
+
|
21 |
+
set(CMAKE_C_STANDARD 11)
|
22 |
+
set(CMAKE_C_STANDARD_REQUIRED ON)
|
23 |
+
set(CMAKE_CXX_STANDARD 11)
|
24 |
+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
25 |
+
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
26 |
+
find_package(Threads REQUIRED)
|
27 |
+
|
28 |
+
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
29 |
+
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
|
30 |
+
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "RelWithDebInfo")
|
31 |
+
endif()
|
32 |
+
|
33 |
+
if (NOT MSVC)
|
34 |
+
set(c_flags
|
35 |
+
-Wall
|
36 |
+
-Wextra
|
37 |
+
-Wpedantic
|
38 |
+
-Wcast-qual
|
39 |
+
-Wdouble-promotion
|
40 |
+
-Wshadow
|
41 |
+
-Wstrict-prototypes
|
42 |
+
-Wpointer-arith
|
43 |
+
)
|
44 |
+
set(cxx_flags
|
45 |
+
# TODO(marella): Add other warnings.
|
46 |
+
# -Wall
|
47 |
+
-Wextra
|
48 |
+
-Wpedantic
|
49 |
+
-Wcast-qual
|
50 |
+
-Wno-unused-function
|
51 |
+
-Wno-multichar
|
52 |
+
)
|
53 |
+
endif()
|
54 |
+
|
55 |
+
add_compile_options(
|
56 |
+
"$<$<COMPILE_LANGUAGE:C>:${c_flags}>"
|
57 |
+
"$<$<COMPILE_LANGUAGE:CXX>:${cxx_flags}>"
|
58 |
+
)
|
59 |
+
|
60 |
+
# Architecture Flags
|
61 |
+
|
62 |
+
if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
|
63 |
+
message(STATUS "ARM detected")
|
64 |
+
if (NOT MSVC)
|
65 |
+
add_compile_options(-mcpu=native)
|
66 |
+
endif()
|
67 |
+
else()
|
68 |
+
message(STATUS "x86 detected")
|
69 |
+
if (APPLE)
|
70 |
+
# Universal binary.
|
71 |
+
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE)
|
72 |
+
endif()
|
73 |
+
|
74 |
+
if (MSVC)
|
75 |
+
if (CT_INSTRUCTIONS STREQUAL "avx2")
|
76 |
+
add_compile_options($<$<COMPILE_LANGUAGE:C>:/arch:AVX2>)
|
77 |
+
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:/arch:AVX2>)
|
78 |
+
elseif (CT_INSTRUCTIONS STREQUAL "avx")
|
79 |
+
add_compile_options($<$<COMPILE_LANGUAGE:C>:/arch:AVX>)
|
80 |
+
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:/arch:AVX>)
|
81 |
+
endif()
|
82 |
+
else()
|
83 |
+
if (CT_INSTRUCTIONS STREQUAL "avx2")
|
84 |
+
add_compile_options(-mfma -mavx2)
|
85 |
+
add_compile_options(-mf16c -mavx)
|
86 |
+
elseif (CT_INSTRUCTIONS STREQUAL "avx")
|
87 |
+
add_compile_options(-mf16c -mavx)
|
88 |
+
endif()
|
89 |
+
endif()
|
90 |
+
endif()
|
91 |
+
|
92 |
+
# Library
|
93 |
+
|
94 |
+
add_library(
|
95 |
+
ctransformers SHARED
|
96 |
+
models/llm.cc
|
97 |
+
models/ggml/ggml.c
|
98 |
+
models/ggml/k_quants.c
|
99 |
+
)
|
100 |
+
|
101 |
+
target_include_directories(ctransformers PRIVATE models)
|
102 |
+
target_link_libraries(ctransformers PRIVATE Threads::Threads)
|
103 |
+
set_target_properties(ctransformers PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
104 |
+
target_compile_definitions(ctransformers PRIVATE GGML_USE_K_QUANTS)
|
105 |
+
|
106 |
+
if (APPLE)
|
107 |
+
find_library(ACCELERATE_FRAMEWORK Accelerate)
|
108 |
+
if (ACCELERATE_FRAMEWORK)
|
109 |
+
message(STATUS "Accelerate framework found")
|
110 |
+
target_link_libraries(ctransformers PRIVATE ${ACCELERATE_FRAMEWORK})
|
111 |
+
target_compile_definitions(ctransformers PRIVATE GGML_USE_ACCELERATE)
|
112 |
+
else()
|
113 |
+
message(WARNING "Accelerate framework not found")
|
114 |
+
endif()
|
115 |
+
endif()
|
116 |
+
|
117 |
+
if (CT_CUBLAS)
|
118 |
+
find_package(CUDAToolkit)
|
119 |
+
if (CUDAToolkit_FOUND)
|
120 |
+
message(STATUS "cuBLAS found")
|
121 |
+
enable_language(CUDA)
|
122 |
+
|
123 |
+
target_sources(ctransformers PRIVATE models/ggml/ggml-cuda.cu)
|
124 |
+
target_link_libraries(ctransformers PRIVATE CUDA::cudart CUDA::cublas CUDA::cublasLt)
|
125 |
+
|
126 |
+
target_compile_definitions(ctransformers PRIVATE GGML_USE_CUBLAS)
|
127 |
+
target_compile_definitions(ctransformers PRIVATE GGML_CUDA_DMMV_X=${CT_CUDA_DMMV_X})
|
128 |
+
target_compile_definitions(ctransformers PRIVATE GGML_CUDA_DMMV_Y=${CT_CUDA_DMMV_Y})
|
129 |
+
target_compile_definitions(ctransformers PRIVATE K_QUANTS_PER_ITERATION=${CT_CUDA_KQUANTS_ITER})
|
130 |
+
|
131 |
+
set_property(TARGET ctransformers PROPERTY CUDA_ARCHITECTURES OFF)
|
132 |
+
set_property(TARGET ctransformers PROPERTY CUDA_SELECT_NVCC_ARCH_FLAGS "Auto")
|
133 |
+
else()
|
134 |
+
message(WARNING "cuBLAS not found")
|
135 |
+
endif()
|
136 |
+
endif()
|
137 |
+
|
138 |
+
# scikit-build
|
139 |
+
|
140 |
+
install(
|
141 |
+
TARGETS ctransformers
|
142 |
+
LIBRARY DESTINATION ctransformers/lib/local
|
143 |
+
RUNTIME DESTINATION ctransformers/lib/local
|
144 |
+
)
|
ctransformers/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The MIT License (MIT)
|
2 |
+
|
3 |
+
Copyright (c) Ravindra Marella
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in
|
13 |
+
all copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21 |
+
THE SOFTWARE.
|
ctransformers/README.md
ADDED
@@ -0,0 +1,495 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# [C Transformers](https://github.com/marella/ctransformers) [![PyPI](https://img.shields.io/pypi/v/ctransformers)](https://pypi.org/project/ctransformers/) [![tests](https://github.com/marella/ctransformers/actions/workflows/tests.yml/badge.svg)](https://github.com/marella/ctransformers/actions/workflows/tests.yml) [![build](https://github.com/marella/ctransformers/actions/workflows/build.yml/badge.svg)](https://github.com/marella/ctransformers/actions/workflows/build.yml)
|
2 |
+
|
3 |
+
Python bindings for the Transformer models implemented in C/C++ using [GGML](https://github.com/ggerganov/ggml) library.
|
4 |
+
|
5 |
+
> Also see [ChatDocs](https://github.com/marella/chatdocs)
|
6 |
+
|
7 |
+
- [Supported Models](#supported-models)
|
8 |
+
- [Installation](#installation)
|
9 |
+
- [Usage](#usage)
|
10 |
+
- [Hugging Face Hub](#hugging-face-hub)
|
11 |
+
- [LangChain](#langchain)
|
12 |
+
- [GPU](#gpu)
|
13 |
+
- [Documentation](#documentation)
|
14 |
+
- [License](#license)
|
15 |
+
|
16 |
+
## Supported Models
|
17 |
+
|
18 |
+
| Models | Model Type |
|
19 |
+
| :-------------------- | ----------- |
|
20 |
+
| GPT-2 | `gpt2` |
|
21 |
+
| GPT-J, GPT4All-J | `gptj` |
|
22 |
+
| GPT-NeoX, StableLM | `gpt_neox` |
|
23 |
+
| LLaMA | `llama` |
|
24 |
+
| MPT | `mpt` |
|
25 |
+
| Dolly V2 | `dolly-v2` |
|
26 |
+
| StarCoder, StarChat | `starcoder` |
|
27 |
+
| Falcon (Experimental) | `falcon` |
|
28 |
+
|
29 |
+
## Installation
|
30 |
+
|
31 |
+
```sh
|
32 |
+
pip install ctransformers
|
33 |
+
```
|
34 |
+
|
35 |
+
For GPU (CUDA) support, set environment variable `CT_CUBLAS=1` and install from source using:
|
36 |
+
|
37 |
+
```sh
|
38 |
+
CT_CUBLAS=1 pip install ctransformers --no-binary ctransformers
|
39 |
+
```
|
40 |
+
|
41 |
+
<details>
|
42 |
+
<summary><strong>Show commands for Windows</strong></summary><br>
|
43 |
+
|
44 |
+
On Windows PowerShell run:
|
45 |
+
|
46 |
+
```sh
|
47 |
+
$env:CT_CUBLAS=1
|
48 |
+
pip install ctransformers --no-binary ctransformers
|
49 |
+
```
|
50 |
+
|
51 |
+
On Windows Command Prompt run:
|
52 |
+
|
53 |
+
```sh
|
54 |
+
set CT_CUBLAS=1
|
55 |
+
pip install ctransformers --no-binary ctransformers
|
56 |
+
```
|
57 |
+
|
58 |
+
</details>
|
59 |
+
|
60 |
+
## Usage
|
61 |
+
|
62 |
+
It provides a unified interface for all models:
|
63 |
+
|
64 |
+
```py
|
65 |
+
from ctransformers import AutoModelForCausalLM
|
66 |
+
|
67 |
+
llm = AutoModelForCausalLM.from_pretrained('/path/to/ggml-gpt-2.bin', model_type='gpt2')
|
68 |
+
|
69 |
+
print(llm('AI is going to'))
|
70 |
+
```
|
71 |
+
|
72 |
+
[Run in Google Colab](https://colab.research.google.com/drive/1GMhYMUAv_TyZkpfvUI1NirM8-9mCXQyL)
|
73 |
+
|
74 |
+
If you are getting `illegal instruction` error, try using `lib='avx'` or `lib='basic'`:
|
75 |
+
|
76 |
+
```py
|
77 |
+
llm = AutoModelForCausalLM.from_pretrained('/path/to/ggml-gpt-2.bin', model_type='gpt2', lib='avx')
|
78 |
+
```
|
79 |
+
|
80 |
+
It provides a generator interface for more control:
|
81 |
+
|
82 |
+
```py
|
83 |
+
tokens = llm.tokenize('AI is going to')
|
84 |
+
|
85 |
+
for token in llm.generate(tokens):
|
86 |
+
print(llm.detokenize(token))
|
87 |
+
```
|
88 |
+
|
89 |
+
It can be used with a custom or Hugging Face tokenizer:
|
90 |
+
|
91 |
+
```py
|
92 |
+
from transformers import AutoTokenizer
|
93 |
+
|
94 |
+
tokenizer = AutoTokenizer.from_pretrained('gpt2')
|
95 |
+
|
96 |
+
tokens = tokenizer.encode('AI is going to')
|
97 |
+
|
98 |
+
for token in llm.generate(tokens):
|
99 |
+
print(tokenizer.decode(token))
|
100 |
+
```
|
101 |
+
|
102 |
+
It also provides access to the low-level C API. See [Documentation](#documentation) section below.
|
103 |
+
|
104 |
+
### Hugging Face Hub
|
105 |
+
|
106 |
+
It can be used with models hosted on the Hub:
|
107 |
+
|
108 |
+
```py
|
109 |
+
llm = AutoModelForCausalLM.from_pretrained('marella/gpt-2-ggml')
|
110 |
+
```
|
111 |
+
|
112 |
+
If a model repo has multiple model files (`.bin` files), specify a model file using:
|
113 |
+
|
114 |
+
```py
|
115 |
+
llm = AutoModelForCausalLM.from_pretrained('marella/gpt-2-ggml', model_file='ggml-model.bin')
|
116 |
+
```
|
117 |
+
|
118 |
+
It can be used with your own models uploaded on the Hub. For better user experience, upload only one model per repo.
|
119 |
+
|
120 |
+
To use it with your own model, add `config.json` file to your model repo specifying the `model_type`:
|
121 |
+
|
122 |
+
```json
|
123 |
+
{
|
124 |
+
"model_type": "gpt2"
|
125 |
+
}
|
126 |
+
```
|
127 |
+
|
128 |
+
You can also specify additional parameters under `task_specific_params.text-generation`.
|
129 |
+
|
130 |
+
See [marella/gpt-2-ggml](https://huggingface.co/marella/gpt-2-ggml/blob/main/config.json) for a minimal example and [marella/gpt-2-ggml-example](https://huggingface.co/marella/gpt-2-ggml-example/blob/main/config.json) for a full example.
|
131 |
+
|
132 |
+
### LangChain
|
133 |
+
|
134 |
+
It is integrated into LangChain. See [LangChain docs](https://python.langchain.com/docs/ecosystem/integrations/ctransformers).
|
135 |
+
|
136 |
+
### GPU
|
137 |
+
|
138 |
+
> **Note:** Currently only LLaMA models have GPU support.
|
139 |
+
|
140 |
+
To run some of the model layers on GPU, set the `gpu_layers` parameter:
|
141 |
+
|
142 |
+
```py
|
143 |
+
llm = AutoModelForCausalLM.from_pretrained('/path/to/ggml-llama.bin', model_type='llama', gpu_layers=50)
|
144 |
+
```
|
145 |
+
|
146 |
+
[Run in Google Colab](https://colab.research.google.com/drive/1Ihn7iPCYiqlTotpkqa1tOhUIpJBrJ1Tp)
|
147 |
+
|
148 |
+
## Documentation
|
149 |
+
|
150 |
+
<!-- API_DOCS -->
|
151 |
+
|
152 |
+
### Config
|
153 |
+
|
154 |
+
| Parameter | Type | Description | Default |
|
155 |
+
| :------------------- | :---------- | :------------------------------------------------------- | :------ |
|
156 |
+
| `top_k` | `int` | The top-k value to use for sampling. | `40` |
|
157 |
+
| `top_p` | `float` | The top-p value to use for sampling. | `0.95` |
|
158 |
+
| `temperature` | `float` | The temperature to use for sampling. | `0.8` |
|
159 |
+
| `repetition_penalty` | `float` | The repetition penalty to use for sampling. | `1.1` |
|
160 |
+
| `last_n_tokens` | `int` | The number of last tokens to use for repetition penalty. | `64` |
|
161 |
+
| `seed` | `int` | The seed value to use for sampling tokens. | `-1` |
|
162 |
+
| `max_new_tokens` | `int` | The maximum number of new tokens to generate. | `256` |
|
163 |
+
| `stop` | `List[str]` | A list of sequences to stop generation when encountered. | `None` |
|
164 |
+
| `stream` | `bool` | Whether to stream the generated text. | `False` |
|
165 |
+
| `reset` | `bool` | Whether to reset the model state before generating text. | `True` |
|
166 |
+
| `batch_size` | `int` | The batch size to use for evaluating tokens. | `8` |
|
167 |
+
| `threads` | `int` | The number of threads to use for evaluating tokens. | `-1` |
|
168 |
+
| `context_length` | `int` | The maximum context length to use. | `-1` |
|
169 |
+
| `gpu_layers` | `int` | The number of layers to run on GPU. | `0` |
|
170 |
+
|
171 |
+
> **Note:** Currently only LLaMA and MPT models support the `context_length` parameter and only LLaMA models support the `gpu_layers` parameter.
|
172 |
+
|
173 |
+
### <kbd>class</kbd> `AutoModelForCausalLM`
|
174 |
+
|
175 |
+
---
|
176 |
+
|
177 |
+
#### <kbd>classmethod</kbd> `AutoModelForCausalLM.from_pretrained`
|
178 |
+
|
179 |
+
```python
|
180 |
+
from_pretrained(
|
181 |
+
model_path_or_repo_id: str,
|
182 |
+
model_type: Optional[str] = None,
|
183 |
+
model_file: Optional[str] = None,
|
184 |
+
config: Optional[ctransformers.hub.AutoConfig] = None,
|
185 |
+
lib: Optional[str] = None,
|
186 |
+
local_files_only: bool = False,
|
187 |
+
**kwargs
|
188 |
+
) → LLM
|
189 |
+
```
|
190 |
+
|
191 |
+
Loads the language model from a local file or remote repo.
|
192 |
+
|
193 |
+
**Args:**
|
194 |
+
|
195 |
+
- <b>`model_path_or_repo_id`</b>: The path to a model file or directory or the name of a Hugging Face Hub model repo.
|
196 |
+
- <b>`model_type`</b>: The model type.
|
197 |
+
- <b>`model_file`</b>: The name of the model file in repo or directory.
|
198 |
+
- <b>`config`</b>: `AutoConfig` object.
|
199 |
+
- <b>`lib`</b>: The path to a shared library or one of `avx2`, `avx`, `basic`.
|
200 |
+
- <b>`local_files_only`</b>: Whether or not to only look at local files (i.e., do not try to download the model).
|
201 |
+
|
202 |
+
**Returns:**
|
203 |
+
`LLM` object.
|
204 |
+
|
205 |
+
### <kbd>class</kbd> `LLM`
|
206 |
+
|
207 |
+
### <kbd>method</kbd> `LLM.__init__`
|
208 |
+
|
209 |
+
```python
|
210 |
+
__init__(
|
211 |
+
model_path: str,
|
212 |
+
model_type: str,
|
213 |
+
config: Optional[ctransformers.llm.Config] = None,
|
214 |
+
lib: Optional[str] = None
|
215 |
+
)
|
216 |
+
```
|
217 |
+
|
218 |
+
Loads the language model from a local file.
|
219 |
+
|
220 |
+
**Args:**
|
221 |
+
|
222 |
+
- <b>`model_path`</b>: The path to a model file.
|
223 |
+
- <b>`model_type`</b>: The model type.
|
224 |
+
- <b>`config`</b>: `Config` object.
|
225 |
+
- <b>`lib`</b>: The path to a shared library or one of `avx2`, `avx`, `basic`.
|
226 |
+
|
227 |
+
---
|
228 |
+
|
229 |
+
##### <kbd>property</kbd> LLM.config
|
230 |
+
|
231 |
+
The config object.
|
232 |
+
|
233 |
+
---
|
234 |
+
|
235 |
+
##### <kbd>property</kbd> LLM.context_length
|
236 |
+
|
237 |
+
The context length of model.
|
238 |
+
|
239 |
+
---
|
240 |
+
|
241 |
+
##### <kbd>property</kbd> LLM.embeddings
|
242 |
+
|
243 |
+
The input embeddings.
|
244 |
+
|
245 |
+
---
|
246 |
+
|
247 |
+
##### <kbd>property</kbd> LLM.eos_token_id
|
248 |
+
|
249 |
+
The end-of-sequence token.
|
250 |
+
|
251 |
+
---
|
252 |
+
|
253 |
+
##### <kbd>property</kbd> LLM.logits
|
254 |
+
|
255 |
+
The unnormalized log probabilities.
|
256 |
+
|
257 |
+
---
|
258 |
+
|
259 |
+
##### <kbd>property</kbd> LLM.model_path
|
260 |
+
|
261 |
+
The path to the model file.
|
262 |
+
|
263 |
+
---
|
264 |
+
|
265 |
+
##### <kbd>property</kbd> LLM.model_type
|
266 |
+
|
267 |
+
The model type.
|
268 |
+
|
269 |
+
---
|
270 |
+
|
271 |
+
##### <kbd>property</kbd> LLM.vocab_size
|
272 |
+
|
273 |
+
The number of tokens in vocabulary.
|
274 |
+
|
275 |
+
---
|
276 |
+
|
277 |
+
#### <kbd>method</kbd> `LLM.detokenize`
|
278 |
+
|
279 |
+
```python
|
280 |
+
detokenize(tokens: Sequence[int], decode: bool = True) → Union[str, bytes]
|
281 |
+
```
|
282 |
+
|
283 |
+
Converts a list of tokens to text.
|
284 |
+
|
285 |
+
**Args:**
|
286 |
+
|
287 |
+
- <b>`tokens`</b>: The list of tokens.
|
288 |
+
- <b>`decode`</b>: Whether to decode the text as UTF-8 string.
|
289 |
+
|
290 |
+
**Returns:**
|
291 |
+
The combined text of all tokens.
|
292 |
+
|
293 |
+
---
|
294 |
+
|
295 |
+
#### <kbd>method</kbd> `LLM.embed`
|
296 |
+
|
297 |
+
```python
|
298 |
+
embed(
|
299 |
+
input: Union[str, Sequence[int]],
|
300 |
+
batch_size: Optional[int] = None,
|
301 |
+
threads: Optional[int] = None
|
302 |
+
) → List[float]
|
303 |
+
```
|
304 |
+
|
305 |
+
Computes embeddings for a text or list of tokens.
|
306 |
+
|
307 |
+
> **Note:** Currently only LLaMA models support embeddings.
|
308 |
+
|
309 |
+
**Args:**
|
310 |
+
|
311 |
+
- <b>`input`</b>: The input text or list of tokens to get embeddings for.
|
312 |
+
- <b>`batch_size`</b>: The batch size to use for evaluating tokens. Default: `8`
|
313 |
+
- <b>`threads`</b>: The number of threads to use for evaluating tokens. Default: `-1`
|
314 |
+
|
315 |
+
**Returns:**
|
316 |
+
The input embeddings.
|
317 |
+
|
318 |
+
---
|
319 |
+
|
320 |
+
#### <kbd>method</kbd> `LLM.eval`
|
321 |
+
|
322 |
+
```python
|
323 |
+
eval(
|
324 |
+
tokens: Sequence[int],
|
325 |
+
batch_size: Optional[int] = None,
|
326 |
+
threads: Optional[int] = None
|
327 |
+
) → None
|
328 |
+
```
|
329 |
+
|
330 |
+
Evaluates a list of tokens.
|
331 |
+
|
332 |
+
**Args:**
|
333 |
+
|
334 |
+
- <b>`tokens`</b>: The list of tokens to evaluate.
|
335 |
+
- <b>`batch_size`</b>: The batch size to use for evaluating tokens. Default: `8`
|
336 |
+
- <b>`threads`</b>: The number of threads to use for evaluating tokens. Default: `-1`
|
337 |
+
|
338 |
+
---
|
339 |
+
|
340 |
+
#### <kbd>method</kbd> `LLM.generate`
|
341 |
+
|
342 |
+
```python
|
343 |
+
generate(
|
344 |
+
tokens: Sequence[int],
|
345 |
+
top_k: Optional[int] = None,
|
346 |
+
top_p: Optional[float] = None,
|
347 |
+
temperature: Optional[float] = None,
|
348 |
+
repetition_penalty: Optional[float] = None,
|
349 |
+
last_n_tokens: Optional[int] = None,
|
350 |
+
seed: Optional[int] = None,
|
351 |
+
batch_size: Optional[int] = None,
|
352 |
+
threads: Optional[int] = None,
|
353 |
+
reset: Optional[bool] = None
|
354 |
+
) → Generator[int, NoneType, NoneType]
|
355 |
+
```
|
356 |
+
|
357 |
+
Generates new tokens from a list of tokens.
|
358 |
+
|
359 |
+
**Args:**
|
360 |
+
|
361 |
+
- <b>`tokens`</b>: The list of tokens to generate tokens from.
|
362 |
+
- <b>`top_k`</b>: The top-k value to use for sampling. Default: `40`
|
363 |
+
- <b>`top_p`</b>: The top-p value to use for sampling. Default: `0.95`
|
364 |
+
- <b>`temperature`</b>: The temperature to use for sampling. Default: `0.8`
|
365 |
+
- <b>`repetition_penalty`</b>: The repetition penalty to use for sampling. Default: `1.1`
|
366 |
+
- <b>`last_n_tokens`</b>: The number of last tokens to use for repetition penalty. Default: `64`
|
367 |
+
- <b>`seed`</b>: The seed value to use for sampling tokens. Default: `-1`
|
368 |
+
- <b>`batch_size`</b>: The batch size to use for evaluating tokens. Default: `8`
|
369 |
+
- <b>`threads`</b>: The number of threads to use for evaluating tokens. Default: `-1`
|
370 |
+
- <b>`reset`</b>: Whether to reset the model state before generating text. Default: `True`
|
371 |
+
|
372 |
+
**Returns:**
|
373 |
+
The generated tokens.
|
374 |
+
|
375 |
+
---
|
376 |
+
|
377 |
+
#### <kbd>method</kbd> `LLM.is_eos_token`
|
378 |
+
|
379 |
+
```python
|
380 |
+
is_eos_token(token: int) → bool
|
381 |
+
```
|
382 |
+
|
383 |
+
Checks if a token is an end-of-sequence token.
|
384 |
+
|
385 |
+
**Args:**
|
386 |
+
|
387 |
+
- <b>`token`</b>: The token to check.
|
388 |
+
|
389 |
+
**Returns:**
|
390 |
+
`True` if the token is an end-of-sequence token else `False`.
|
391 |
+
|
392 |
+
---
|
393 |
+
|
394 |
+
#### <kbd>method</kbd> `LLM.reset`
|
395 |
+
|
396 |
+
```python
|
397 |
+
reset() → None
|
398 |
+
```
|
399 |
+
|
400 |
+
Resets the model state.
|
401 |
+
|
402 |
+
---
|
403 |
+
|
404 |
+
#### <kbd>method</kbd> `LLM.sample`
|
405 |
+
|
406 |
+
```python
|
407 |
+
sample(
|
408 |
+
top_k: Optional[int] = None,
|
409 |
+
top_p: Optional[float] = None,
|
410 |
+
temperature: Optional[float] = None,
|
411 |
+
repetition_penalty: Optional[float] = None,
|
412 |
+
last_n_tokens: Optional[int] = None,
|
413 |
+
seed: Optional[int] = None
|
414 |
+
) → int
|
415 |
+
```
|
416 |
+
|
417 |
+
Samples a token from the model.
|
418 |
+
|
419 |
+
**Args:**
|
420 |
+
|
421 |
+
- <b>`top_k`</b>: The top-k value to use for sampling. Default: `40`
|
422 |
+
- <b>`top_p`</b>: The top-p value to use for sampling. Default: `0.95`
|
423 |
+
- <b>`temperature`</b>: The temperature to use for sampling. Default: `0.8`
|
424 |
+
- <b>`repetition_penalty`</b>: The repetition penalty to use for sampling. Default: `1.1`
|
425 |
+
- <b>`last_n_tokens`</b>: The number of last tokens to use for repetition penalty. Default: `64`
|
426 |
+
- <b>`seed`</b>: The seed value to use for sampling tokens. Default: `-1`
|
427 |
+
|
428 |
+
**Returns:**
|
429 |
+
The sampled token.
|
430 |
+
|
431 |
+
---
|
432 |
+
|
433 |
+
#### <kbd>method</kbd> `LLM.tokenize`
|
434 |
+
|
435 |
+
```python
|
436 |
+
tokenize(text: str) → List[int]
|
437 |
+
```
|
438 |
+
|
439 |
+
Converts a text into list of tokens.
|
440 |
+
|
441 |
+
**Args:**
|
442 |
+
|
443 |
+
- <b>`text`</b>: The text to tokenize.
|
444 |
+
|
445 |
+
**Returns:**
|
446 |
+
The list of tokens.
|
447 |
+
|
448 |
+
---
|
449 |
+
|
450 |
+
#### <kbd>method</kbd> `LLM.__call__`
|
451 |
+
|
452 |
+
```python
|
453 |
+
__call__(
|
454 |
+
prompt: str,
|
455 |
+
max_new_tokens: Optional[int] = None,
|
456 |
+
top_k: Optional[int] = None,
|
457 |
+
top_p: Optional[float] = None,
|
458 |
+
temperature: Optional[float] = None,
|
459 |
+
repetition_penalty: Optional[float] = None,
|
460 |
+
last_n_tokens: Optional[int] = None,
|
461 |
+
seed: Optional[int] = None,
|
462 |
+
batch_size: Optional[int] = None,
|
463 |
+
threads: Optional[int] = None,
|
464 |
+
stop: Optional[Sequence[str]] = None,
|
465 |
+
stream: Optional[bool] = None,
|
466 |
+
reset: Optional[bool] = None
|
467 |
+
) → Union[str, Generator[str, NoneType, NoneType]]
|
468 |
+
```
|
469 |
+
|
470 |
+
Generates text from a prompt.
|
471 |
+
|
472 |
+
**Args:**
|
473 |
+
|
474 |
+
- <b>`prompt`</b>: The prompt to generate text from.
|
475 |
+
- <b>`max_new_tokens`</b>: The maximum number of new tokens to generate. Default: `256`
|
476 |
+
- <b>`top_k`</b>: The top-k value to use for sampling. Default: `40`
|
477 |
+
- <b>`top_p`</b>: The top-p value to use for sampling. Default: `0.95`
|
478 |
+
- <b>`temperature`</b>: The temperature to use for sampling. Default: `0.8`
|
479 |
+
- <b>`repetition_penalty`</b>: The repetition penalty to use for sampling. Default: `1.1`
|
480 |
+
- <b>`last_n_tokens`</b>: The number of last tokens to use for repetition penalty. Default: `64`
|
481 |
+
- <b>`seed`</b>: The seed value to use for sampling tokens. Default: `-1`
|
482 |
+
- <b>`batch_size`</b>: The batch size to use for evaluating tokens. Default: `8`
|
483 |
+
- <b>`threads`</b>: The number of threads to use for evaluating tokens. Default: `-1`
|
484 |
+
- <b>`stop`</b>: A list of sequences to stop generation when encountered. Default: `None`
|
485 |
+
- <b>`stream`</b>: Whether to stream the generated text. Default: `False`
|
486 |
+
- <b>`reset`</b>: Whether to reset the model state before generating text. Default: `True`
|
487 |
+
|
488 |
+
**Returns:**
|
489 |
+
The generated text.
|
490 |
+
|
491 |
+
<!-- API_DOCS -->
|
492 |
+
|
493 |
+
## License
|
494 |
+
|
495 |
+
[MIT](https://github.com/marella/ctransformers/blob/main/LICENSE)
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/.ninja_deps
ADDED
Binary file (1.13 kB). View file
|
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/.ninja_log
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ninja log v5
|
2 |
+
12 452 7097429580778985 CMakeFiles/ctransformers.dir/models/ggml/k_quants.c.obj 913e97d76831f776
|
3 |
+
7 2037 7097429596632891 CMakeFiles/ctransformers.dir/models/ggml/ggml.c.obj c709d27b2b5bc614
|
4 |
+
3 4948 7097429625716154 CMakeFiles/ctransformers.dir/models/llm.cc.obj e8880d324cc1df6
|
5 |
+
4949 5411 7097429630446119 lib/ctransformers.dll e53b80a43596c6a5
|
6 |
+
4949 5411 7097429630446119 ctransformers.lib e53b80a43596c6a5
|
7 |
+
5411 5453 0 CMakeFiles/install.util 94078bbc8092ca8e
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeCache.txt
ADDED
@@ -0,0 +1,419 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This is the CMakeCache file.
|
2 |
+
# For build in directory: d:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build
|
3 |
+
# It was generated by CMake: C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/bin/cmake.exe
|
4 |
+
# You can edit this file to change values found and used by cmake.
|
5 |
+
# If you do not want to change any of the values, simply exit the editor.
|
6 |
+
# If you do want to change a value, simply edit, save, and exit the editor.
|
7 |
+
# The syntax for the file is as follows:
|
8 |
+
# KEY:TYPE=VALUE
|
9 |
+
# KEY is the name of a variable in the cache.
|
10 |
+
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
11 |
+
# VALUE is the current value for the KEY.
|
12 |
+
|
13 |
+
########################
|
14 |
+
# EXTERNAL cache entries
|
15 |
+
########################
|
16 |
+
|
17 |
+
//Path to a program.
|
18 |
+
CMAKE_AR:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x64/lib.exe
|
19 |
+
|
20 |
+
//No help, variable specified on the command line.
|
21 |
+
CMAKE_BUILD_TYPE:STRING=Release
|
22 |
+
|
23 |
+
//CXX compiler
|
24 |
+
CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x64/cl.exe
|
25 |
+
|
26 |
+
//Flags used by the CXX compiler during all build types.
|
27 |
+
CMAKE_CXX_FLAGS:STRING=/DWIN32 /D_WINDOWS /GR /EHsc
|
28 |
+
|
29 |
+
//Flags used by the CXX compiler during DEBUG builds.
|
30 |
+
CMAKE_CXX_FLAGS_DEBUG:STRING=/Zi /Ob0 /Od /RTC1
|
31 |
+
|
32 |
+
//Flags used by the CXX compiler during MINSIZEREL builds.
|
33 |
+
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/O1 /Ob1 /DNDEBUG
|
34 |
+
|
35 |
+
//Flags used by the CXX compiler during RELEASE builds.
|
36 |
+
CMAKE_CXX_FLAGS_RELEASE:STRING=/O2 /Ob2 /DNDEBUG
|
37 |
+
|
38 |
+
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
39 |
+
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG
|
40 |
+
|
41 |
+
//Libraries linked by default with all C++ applications.
|
42 |
+
CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
|
43 |
+
|
44 |
+
//C compiler
|
45 |
+
CMAKE_C_COMPILER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x64/cl.exe
|
46 |
+
|
47 |
+
//Flags used by the C compiler during all build types.
|
48 |
+
CMAKE_C_FLAGS:STRING=/DWIN32 /D_WINDOWS
|
49 |
+
|
50 |
+
//Flags used by the C compiler during DEBUG builds.
|
51 |
+
CMAKE_C_FLAGS_DEBUG:STRING=/Zi /Ob0 /Od /RTC1
|
52 |
+
|
53 |
+
//Flags used by the C compiler during MINSIZEREL builds.
|
54 |
+
CMAKE_C_FLAGS_MINSIZEREL:STRING=/O1 /Ob1 /DNDEBUG
|
55 |
+
|
56 |
+
//Flags used by the C compiler during RELEASE builds.
|
57 |
+
CMAKE_C_FLAGS_RELEASE:STRING=/O2 /Ob2 /DNDEBUG
|
58 |
+
|
59 |
+
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
60 |
+
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/Zi /O2 /Ob1 /DNDEBUG
|
61 |
+
|
62 |
+
//Libraries linked by default with all C applications.
|
63 |
+
CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
|
64 |
+
|
65 |
+
//Flags used by the linker during all build types.
|
66 |
+
CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64
|
67 |
+
|
68 |
+
//Flags used by the linker during DEBUG builds.
|
69 |
+
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
|
70 |
+
|
71 |
+
//Flags used by the linker during MINSIZEREL builds.
|
72 |
+
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
|
73 |
+
|
74 |
+
//Flags used by the linker during RELEASE builds.
|
75 |
+
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
|
76 |
+
|
77 |
+
//Flags used by the linker during RELWITHDEBINFO builds.
|
78 |
+
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
|
79 |
+
|
80 |
+
//Enable/Disable output of compile commands during generation.
|
81 |
+
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
|
82 |
+
|
83 |
+
//Value Computed by CMake.
|
84 |
+
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/pkgRedirects
|
85 |
+
|
86 |
+
//No help, variable specified on the command line.
|
87 |
+
CMAKE_INSTALL_PREFIX:PATH=D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-install
|
88 |
+
|
89 |
+
//Path to a program.
|
90 |
+
CMAKE_LINKER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x64/link.exe
|
91 |
+
|
92 |
+
//No help, variable specified on the command line.
|
93 |
+
CMAKE_MAKE_PROGRAM:FILEPATH=C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/ninja/data/bin/ninja
|
94 |
+
|
95 |
+
//Flags used by the linker during the creation of modules during
|
96 |
+
// all build types.
|
97 |
+
CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64
|
98 |
+
|
99 |
+
//Flags used by the linker during the creation of modules during
|
100 |
+
// DEBUG builds.
|
101 |
+
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
|
102 |
+
|
103 |
+
//Flags used by the linker during the creation of modules during
|
104 |
+
// MINSIZEREL builds.
|
105 |
+
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
|
106 |
+
|
107 |
+
//Flags used by the linker during the creation of modules during
|
108 |
+
// RELEASE builds.
|
109 |
+
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
|
110 |
+
|
111 |
+
//Flags used by the linker during the creation of modules during
|
112 |
+
// RELWITHDEBINFO builds.
|
113 |
+
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
|
114 |
+
|
115 |
+
//No help, variable specified on the command line.
|
116 |
+
CMAKE_MODULE_PATH:PATH=C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/skbuild/resources/cmake
|
117 |
+
|
118 |
+
//Path to a program.
|
119 |
+
CMAKE_MT:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/mt.exe
|
120 |
+
|
121 |
+
//Value Computed by CMake
|
122 |
+
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
123 |
+
|
124 |
+
//Value Computed by CMake
|
125 |
+
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
126 |
+
|
127 |
+
//Value Computed by CMake
|
128 |
+
CMAKE_PROJECT_NAME:STATIC=ctransformers
|
129 |
+
|
130 |
+
//RC compiler
|
131 |
+
CMAKE_RC_COMPILER:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/rc.exe
|
132 |
+
|
133 |
+
//Flags for Windows Resource Compiler during all build types.
|
134 |
+
CMAKE_RC_FLAGS:STRING=-DWIN32
|
135 |
+
|
136 |
+
//Flags for Windows Resource Compiler during DEBUG builds.
|
137 |
+
CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG
|
138 |
+
|
139 |
+
//Flags for Windows Resource Compiler during MINSIZEREL builds.
|
140 |
+
CMAKE_RC_FLAGS_MINSIZEREL:STRING=
|
141 |
+
|
142 |
+
//Flags for Windows Resource Compiler during RELEASE builds.
|
143 |
+
CMAKE_RC_FLAGS_RELEASE:STRING=
|
144 |
+
|
145 |
+
//Flags for Windows Resource Compiler during RELWITHDEBINFO builds.
|
146 |
+
CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING=
|
147 |
+
|
148 |
+
//Flags used by the linker during the creation of shared libraries
|
149 |
+
// during all build types.
|
150 |
+
CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64
|
151 |
+
|
152 |
+
//Flags used by the linker during the creation of shared libraries
|
153 |
+
// during DEBUG builds.
|
154 |
+
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
|
155 |
+
|
156 |
+
//Flags used by the linker during the creation of shared libraries
|
157 |
+
// during MINSIZEREL builds.
|
158 |
+
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
|
159 |
+
|
160 |
+
//Flags used by the linker during the creation of shared libraries
|
161 |
+
// during RELEASE builds.
|
162 |
+
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
|
163 |
+
|
164 |
+
//Flags used by the linker during the creation of shared libraries
|
165 |
+
// during RELWITHDEBINFO builds.
|
166 |
+
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
|
167 |
+
|
168 |
+
//If set, runtime paths are not added when installing shared libraries,
|
169 |
+
// but are added when building.
|
170 |
+
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
171 |
+
|
172 |
+
//If set, runtime paths are not added when using shared libraries.
|
173 |
+
CMAKE_SKIP_RPATH:BOOL=NO
|
174 |
+
|
175 |
+
//Flags used by the linker during the creation of static libraries
|
176 |
+
// during all build types.
|
177 |
+
CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64
|
178 |
+
|
179 |
+
//Flags used by the linker during the creation of static libraries
|
180 |
+
// during DEBUG builds.
|
181 |
+
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
182 |
+
|
183 |
+
//Flags used by the linker during the creation of static libraries
|
184 |
+
// during MINSIZEREL builds.
|
185 |
+
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
186 |
+
|
187 |
+
//Flags used by the linker during the creation of static libraries
|
188 |
+
// during RELEASE builds.
|
189 |
+
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
190 |
+
|
191 |
+
//Flags used by the linker during the creation of static libraries
|
192 |
+
// during RELWITHDEBINFO builds.
|
193 |
+
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
194 |
+
|
195 |
+
//If this value is on, makefiles will be generated without the
|
196 |
+
// .SILENT directive, and all commands will be echoed to the console
|
197 |
+
// during the make. This is useful for debugging only. With Visual
|
198 |
+
// Studio IDE projects all commands are done without /nologo.
|
199 |
+
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
200 |
+
|
201 |
+
//Use cuBLAS
|
202 |
+
CT_CUBLAS:BOOL=OFF
|
203 |
+
|
204 |
+
//x stride for dmmv CUDA kernels
|
205 |
+
CT_CUDA_DMMV_X:STRING=32
|
206 |
+
|
207 |
+
//y block size for dmmv CUDA kernels
|
208 |
+
CT_CUDA_DMMV_Y:STRING=1
|
209 |
+
|
210 |
+
//iters/thread per block for Q2_K/Q6_K
|
211 |
+
CT_CUDA_KQUANTS_ITER:STRING=2
|
212 |
+
|
213 |
+
//avx2 | avx | basic
|
214 |
+
CT_INSTRUCTIONS:STRING=avx2
|
215 |
+
|
216 |
+
//No help, variable specified on the command line.
|
217 |
+
PYTHON_EXECUTABLE:PATH=D:/Projects/Replit 3b/replit-3B-inference/env/Scripts/python.exe
|
218 |
+
|
219 |
+
//No help, variable specified on the command line.
|
220 |
+
PYTHON_INCLUDE_DIR:PATH=C:/Users/milin/AppData/Local/Programs/Python/Python311/Include
|
221 |
+
|
222 |
+
//No help, variable specified on the command line.
|
223 |
+
PYTHON_LIBRARY:PATH=C:/Users/milin/AppData/Local/Programs/Python/Python311/libs/python311.lib
|
224 |
+
|
225 |
+
//No help, variable specified on the command line.
|
226 |
+
PYTHON_VERSION_STRING:STRING=3.11.4
|
227 |
+
|
228 |
+
//No help, variable specified on the command line.
|
229 |
+
Python3_EXECUTABLE:PATH=D:/Projects/Replit 3b/replit-3B-inference/env/Scripts/python.exe
|
230 |
+
|
231 |
+
//No help, variable specified on the command line.
|
232 |
+
Python3_FIND_REGISTRY:STRING=NEVER
|
233 |
+
|
234 |
+
//No help, variable specified on the command line.
|
235 |
+
Python3_INCLUDE_DIR:PATH=C:/Users/milin/AppData/Local/Programs/Python/Python311/Include
|
236 |
+
|
237 |
+
//No help, variable specified on the command line.
|
238 |
+
Python3_LIBRARY:PATH=C:/Users/milin/AppData/Local/Programs/Python/Python311/libs/python311.lib
|
239 |
+
|
240 |
+
//No help, variable specified on the command line.
|
241 |
+
Python3_ROOT_DIR:PATH=D:/Projects/Replit 3b/replit-3B-inference/env
|
242 |
+
|
243 |
+
//No help, variable specified on the command line.
|
244 |
+
Python_EXECUTABLE:PATH=D:/Projects/Replit 3b/replit-3B-inference/env/Scripts/python.exe
|
245 |
+
|
246 |
+
//No help, variable specified on the command line.
|
247 |
+
Python_FIND_REGISTRY:STRING=NEVER
|
248 |
+
|
249 |
+
//No help, variable specified on the command line.
|
250 |
+
Python_INCLUDE_DIR:PATH=C:/Users/milin/AppData/Local/Programs/Python/Python311/Include
|
251 |
+
|
252 |
+
//No help, variable specified on the command line.
|
253 |
+
Python_LIBRARY:PATH=C:/Users/milin/AppData/Local/Programs/Python/Python311/libs/python311.lib
|
254 |
+
|
255 |
+
//No help, variable specified on the command line.
|
256 |
+
Python_ROOT_DIR:PATH=D:/Projects/Replit 3b/replit-3B-inference/env
|
257 |
+
|
258 |
+
//No help, variable specified on the command line.
|
259 |
+
_SKBUILD_FORCE_MSVC:UNINITIALIZED=1920
|
260 |
+
|
261 |
+
//Value Computed by CMake
|
262 |
+
ctransformers_BINARY_DIR:STATIC=D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build
|
263 |
+
|
264 |
+
//Value Computed by CMake
|
265 |
+
ctransformers_IS_TOP_LEVEL:STATIC=ON
|
266 |
+
|
267 |
+
//Value Computed by CMake
|
268 |
+
ctransformers_SOURCE_DIR:STATIC=D:/Projects/Replit 3b/replit-3B-inference/ctransformers
|
269 |
+
|
270 |
+
|
271 |
+
########################
|
272 |
+
# INTERNAL cache entries
|
273 |
+
########################
|
274 |
+
|
275 |
+
//ADVANCED property for variable: CMAKE_AR
|
276 |
+
CMAKE_AR-ADVANCED:INTERNAL=1
|
277 |
+
//This is the directory where this CMakeCache.txt was created
|
278 |
+
CMAKE_CACHEFILE_DIR:INTERNAL=d:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build
|
279 |
+
//Major version of cmake used to create the current loaded cache
|
280 |
+
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
281 |
+
//Minor version of cmake used to create the current loaded cache
|
282 |
+
CMAKE_CACHE_MINOR_VERSION:INTERNAL=26
|
283 |
+
//Patch version of cmake used to create the current loaded cache
|
284 |
+
CMAKE_CACHE_PATCH_VERSION:INTERNAL=4
|
285 |
+
//Path to CMake executable.
|
286 |
+
CMAKE_COMMAND:INTERNAL=C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/bin/cmake.exe
|
287 |
+
//Path to cpack program executable.
|
288 |
+
CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/bin/cpack.exe
|
289 |
+
//Path to ctest program executable.
|
290 |
+
CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/bin/ctest.exe
|
291 |
+
//ADVANCED property for variable: CMAKE_CXX_COMPILER
|
292 |
+
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
|
293 |
+
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
294 |
+
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
295 |
+
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
296 |
+
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
297 |
+
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
298 |
+
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
299 |
+
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
300 |
+
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
301 |
+
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
302 |
+
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
303 |
+
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
|
304 |
+
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
|
305 |
+
//ADVANCED property for variable: CMAKE_C_COMPILER
|
306 |
+
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
|
307 |
+
//ADVANCED property for variable: CMAKE_C_FLAGS
|
308 |
+
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
309 |
+
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
310 |
+
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
311 |
+
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
312 |
+
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
313 |
+
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
314 |
+
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
315 |
+
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
316 |
+
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
317 |
+
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
|
318 |
+
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
|
319 |
+
//Path to cache edit program executable.
|
320 |
+
CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/bin/cmake-gui.exe
|
321 |
+
//Executable file format
|
322 |
+
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
|
323 |
+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
324 |
+
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
325 |
+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
326 |
+
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
327 |
+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
328 |
+
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
329 |
+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
330 |
+
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
331 |
+
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
332 |
+
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
333 |
+
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
334 |
+
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
335 |
+
//Name of external makefile project generator.
|
336 |
+
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
337 |
+
//Name of generator.
|
338 |
+
CMAKE_GENERATOR:INTERNAL=Ninja
|
339 |
+
//Generator instance identifier.
|
340 |
+
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
341 |
+
//Name of generator platform.
|
342 |
+
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
343 |
+
//Name of generator toolset.
|
344 |
+
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
345 |
+
//Test CMAKE_HAVE_LIBC_PTHREAD
|
346 |
+
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=
|
347 |
+
//Have library pthreads
|
348 |
+
CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
|
349 |
+
//Have library pthread
|
350 |
+
CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=
|
351 |
+
//Source directory with the top level CMakeLists.txt file for this
|
352 |
+
// project
|
353 |
+
CMAKE_HOME_DIRECTORY:INTERNAL=D:/Projects/Replit 3b/replit-3B-inference/ctransformers
|
354 |
+
//ADVANCED property for variable: CMAKE_LINKER
|
355 |
+
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
356 |
+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
357 |
+
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
358 |
+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
359 |
+
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
360 |
+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
361 |
+
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
362 |
+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
363 |
+
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
364 |
+
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
365 |
+
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
366 |
+
//ADVANCED property for variable: CMAKE_MT
|
367 |
+
CMAKE_MT-ADVANCED:INTERNAL=1
|
368 |
+
//number of local generators
|
369 |
+
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
|
370 |
+
//Platform information initialized
|
371 |
+
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
372 |
+
//noop for ranlib
|
373 |
+
CMAKE_RANLIB:INTERNAL=:
|
374 |
+
//ADVANCED property for variable: CMAKE_RC_COMPILER
|
375 |
+
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
|
376 |
+
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
|
377 |
+
//ADVANCED property for variable: CMAKE_RC_FLAGS
|
378 |
+
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
|
379 |
+
//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG
|
380 |
+
CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
381 |
+
//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL
|
382 |
+
CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
383 |
+
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE
|
384 |
+
CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
385 |
+
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO
|
386 |
+
CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
387 |
+
//Path to CMake installation.
|
388 |
+
CMAKE_ROOT:INTERNAL=C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26
|
389 |
+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
390 |
+
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
391 |
+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
392 |
+
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
393 |
+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
394 |
+
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
395 |
+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
396 |
+
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
397 |
+
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
398 |
+
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
399 |
+
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
400 |
+
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
401 |
+
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
402 |
+
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
403 |
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
404 |
+
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
405 |
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
406 |
+
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
407 |
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
408 |
+
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
409 |
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
410 |
+
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
411 |
+
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
412 |
+
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
413 |
+
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
414 |
+
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
415 |
+
//Details about finding Threads
|
416 |
+
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
|
417 |
+
//No help, variable specified on the command line.
|
418 |
+
SKBUILD:INTERNAL=TRUE
|
419 |
+
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CMakeCCompiler.cmake
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(CMAKE_C_COMPILER "C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x64/cl.exe")
|
2 |
+
set(CMAKE_C_COMPILER_ARG1 "")
|
3 |
+
set(CMAKE_C_COMPILER_ID "MSVC")
|
4 |
+
set(CMAKE_C_COMPILER_VERSION "19.29.30151.0")
|
5 |
+
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
6 |
+
set(CMAKE_C_COMPILER_WRAPPER "")
|
7 |
+
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90")
|
8 |
+
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF")
|
9 |
+
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17")
|
10 |
+
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
|
11 |
+
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
|
12 |
+
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
|
13 |
+
set(CMAKE_C17_COMPILE_FEATURES "c_std_17")
|
14 |
+
set(CMAKE_C23_COMPILE_FEATURES "")
|
15 |
+
|
16 |
+
set(CMAKE_C_PLATFORM_ID "Windows")
|
17 |
+
set(CMAKE_C_SIMULATE_ID "")
|
18 |
+
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "MSVC")
|
19 |
+
set(CMAKE_C_SIMULATE_VERSION "")
|
20 |
+
set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64)
|
21 |
+
|
22 |
+
set(MSVC_C_ARCHITECTURE_ID x64)
|
23 |
+
|
24 |
+
set(CMAKE_AR "C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x64/lib.exe")
|
25 |
+
set(CMAKE_C_COMPILER_AR "")
|
26 |
+
set(CMAKE_RANLIB ":")
|
27 |
+
set(CMAKE_C_COMPILER_RANLIB "")
|
28 |
+
set(CMAKE_LINKER "C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x64/link.exe")
|
29 |
+
set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/mt.exe")
|
30 |
+
set(CMAKE_COMPILER_IS_GNUCC )
|
31 |
+
set(CMAKE_C_COMPILER_LOADED 1)
|
32 |
+
set(CMAKE_C_COMPILER_WORKS TRUE)
|
33 |
+
set(CMAKE_C_ABI_COMPILED TRUE)
|
34 |
+
|
35 |
+
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
36 |
+
|
37 |
+
set(CMAKE_C_COMPILER_ID_RUN 1)
|
38 |
+
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
39 |
+
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
40 |
+
set(CMAKE_C_LINKER_PREFERENCE 10)
|
41 |
+
|
42 |
+
# Save compiler ABI information.
|
43 |
+
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
44 |
+
set(CMAKE_C_COMPILER_ABI "")
|
45 |
+
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN")
|
46 |
+
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
|
47 |
+
|
48 |
+
if(CMAKE_C_SIZEOF_DATA_PTR)
|
49 |
+
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
50 |
+
endif()
|
51 |
+
|
52 |
+
if(CMAKE_C_COMPILER_ABI)
|
53 |
+
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
54 |
+
endif()
|
55 |
+
|
56 |
+
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
57 |
+
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
58 |
+
endif()
|
59 |
+
|
60 |
+
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "Note: including file: ")
|
61 |
+
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
62 |
+
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
63 |
+
endif()
|
64 |
+
|
65 |
+
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "")
|
70 |
+
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "")
|
71 |
+
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "")
|
72 |
+
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CMakeCXXCompiler.cmake
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(CMAKE_CXX_COMPILER "C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x64/cl.exe")
|
2 |
+
set(CMAKE_CXX_COMPILER_ARG1 "")
|
3 |
+
set(CMAKE_CXX_COMPILER_ID "MSVC")
|
4 |
+
set(CMAKE_CXX_COMPILER_VERSION "19.29.30151.0")
|
5 |
+
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
|
6 |
+
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
7 |
+
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
|
8 |
+
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF")
|
9 |
+
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23")
|
10 |
+
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
|
11 |
+
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
|
12 |
+
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
|
13 |
+
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
|
14 |
+
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
|
15 |
+
set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23")
|
16 |
+
|
17 |
+
set(CMAKE_CXX_PLATFORM_ID "Windows")
|
18 |
+
set(CMAKE_CXX_SIMULATE_ID "")
|
19 |
+
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "MSVC")
|
20 |
+
set(CMAKE_CXX_SIMULATE_VERSION "")
|
21 |
+
set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64)
|
22 |
+
|
23 |
+
set(MSVC_CXX_ARCHITECTURE_ID x64)
|
24 |
+
|
25 |
+
set(CMAKE_AR "C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x64/lib.exe")
|
26 |
+
set(CMAKE_CXX_COMPILER_AR "")
|
27 |
+
set(CMAKE_RANLIB ":")
|
28 |
+
set(CMAKE_CXX_COMPILER_RANLIB "")
|
29 |
+
set(CMAKE_LINKER "C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x64/link.exe")
|
30 |
+
set(CMAKE_MT "C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/mt.exe")
|
31 |
+
set(CMAKE_COMPILER_IS_GNUCXX )
|
32 |
+
set(CMAKE_CXX_COMPILER_LOADED 1)
|
33 |
+
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
34 |
+
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
35 |
+
|
36 |
+
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
37 |
+
|
38 |
+
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
39 |
+
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm)
|
40 |
+
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
41 |
+
|
42 |
+
foreach (lang C OBJC OBJCXX)
|
43 |
+
if (CMAKE_${lang}_COMPILER_ID_RUN)
|
44 |
+
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
|
45 |
+
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
|
46 |
+
endforeach()
|
47 |
+
endif()
|
48 |
+
endforeach()
|
49 |
+
|
50 |
+
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
51 |
+
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
52 |
+
|
53 |
+
# Save compiler ABI information.
|
54 |
+
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
55 |
+
set(CMAKE_CXX_COMPILER_ABI "")
|
56 |
+
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
|
57 |
+
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
|
58 |
+
|
59 |
+
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
60 |
+
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
61 |
+
endif()
|
62 |
+
|
63 |
+
if(CMAKE_CXX_COMPILER_ABI)
|
64 |
+
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
65 |
+
endif()
|
66 |
+
|
67 |
+
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
68 |
+
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
69 |
+
endif()
|
70 |
+
|
71 |
+
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "Note: including file: ")
|
72 |
+
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
73 |
+
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
74 |
+
endif()
|
75 |
+
|
76 |
+
|
77 |
+
|
78 |
+
|
79 |
+
|
80 |
+
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "")
|
81 |
+
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
|
82 |
+
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "")
|
83 |
+
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_C.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb2ea5a3b9e5a82c91fc63f50856bb4f7ca5aae16ac8487e33db8c9e949637cc
|
3 |
+
size 51200
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_CXX.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c63ae1c9c954d16127d3338ac5cbaa118370cc877be5fc72aa56a0ee3a8417cf
|
3 |
+
size 51200
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CMakeRCCompiler.cmake
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(CMAKE_RC_COMPILER "C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/rc.exe")
|
2 |
+
set(CMAKE_RC_COMPILER_ARG1 "")
|
3 |
+
set(CMAKE_RC_COMPILER_LOADED 1)
|
4 |
+
set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC)
|
5 |
+
set(CMAKE_RC_OUTPUT_EXTENSION .res)
|
6 |
+
set(CMAKE_RC_COMPILER_ENV_VAR "RC")
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CMakeSystem.cmake
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(CMAKE_HOST_SYSTEM "Windows-10.0.22621")
|
2 |
+
set(CMAKE_HOST_SYSTEM_NAME "Windows")
|
3 |
+
set(CMAKE_HOST_SYSTEM_VERSION "10.0.22621")
|
4 |
+
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64")
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
set(CMAKE_SYSTEM "Windows-10.0.22621")
|
9 |
+
set(CMAKE_SYSTEM_NAME "Windows")
|
10 |
+
set(CMAKE_SYSTEM_VERSION "10.0.22621")
|
11 |
+
set(CMAKE_SYSTEM_PROCESSOR "AMD64")
|
12 |
+
|
13 |
+
set(CMAKE_CROSSCOMPILING "FALSE")
|
14 |
+
|
15 |
+
set(CMAKE_SYSTEM_LOADED 1)
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.c
ADDED
@@ -0,0 +1,866 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#ifdef __cplusplus
|
2 |
+
# error "A C++ compiler has been selected for C."
|
3 |
+
#endif
|
4 |
+
|
5 |
+
#if defined(__18CXX)
|
6 |
+
# define ID_VOID_MAIN
|
7 |
+
#endif
|
8 |
+
#if defined(__CLASSIC_C__)
|
9 |
+
/* cv-qualifiers did not exist in K&R C */
|
10 |
+
# define const
|
11 |
+
# define volatile
|
12 |
+
#endif
|
13 |
+
|
14 |
+
#if !defined(__has_include)
|
15 |
+
/* If the compiler does not have __has_include, pretend the answer is
|
16 |
+
always no. */
|
17 |
+
# define __has_include(x) 0
|
18 |
+
#endif
|
19 |
+
|
20 |
+
|
21 |
+
/* Version number components: V=Version, R=Revision, P=Patch
|
22 |
+
Version date components: YYYY=Year, MM=Month, DD=Day */
|
23 |
+
|
24 |
+
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
25 |
+
# define COMPILER_ID "Intel"
|
26 |
+
# if defined(_MSC_VER)
|
27 |
+
# define SIMULATE_ID "MSVC"
|
28 |
+
# endif
|
29 |
+
# if defined(__GNUC__)
|
30 |
+
# define SIMULATE_ID "GNU"
|
31 |
+
# endif
|
32 |
+
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
33 |
+
except that a few beta releases use the old format with V=2021. */
|
34 |
+
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
35 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
36 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
37 |
+
# if defined(__INTEL_COMPILER_UPDATE)
|
38 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
39 |
+
# else
|
40 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
41 |
+
# endif
|
42 |
+
# else
|
43 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
44 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
45 |
+
/* The third version component from --version is an update index,
|
46 |
+
but no macro is provided for it. */
|
47 |
+
# define COMPILER_VERSION_PATCH DEC(0)
|
48 |
+
# endif
|
49 |
+
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
50 |
+
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
51 |
+
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
52 |
+
# endif
|
53 |
+
# if defined(_MSC_VER)
|
54 |
+
/* _MSC_VER = VVRR */
|
55 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
56 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
57 |
+
# endif
|
58 |
+
# if defined(__GNUC__)
|
59 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
60 |
+
# elif defined(__GNUG__)
|
61 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
62 |
+
# endif
|
63 |
+
# if defined(__GNUC_MINOR__)
|
64 |
+
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
65 |
+
# endif
|
66 |
+
# if defined(__GNUC_PATCHLEVEL__)
|
67 |
+
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
68 |
+
# endif
|
69 |
+
|
70 |
+
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
71 |
+
# define COMPILER_ID "IntelLLVM"
|
72 |
+
#if defined(_MSC_VER)
|
73 |
+
# define SIMULATE_ID "MSVC"
|
74 |
+
#endif
|
75 |
+
#if defined(__GNUC__)
|
76 |
+
# define SIMULATE_ID "GNU"
|
77 |
+
#endif
|
78 |
+
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
79 |
+
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
80 |
+
* VVVV is no smaller than the current year when a version is released.
|
81 |
+
*/
|
82 |
+
#if __INTEL_LLVM_COMPILER < 1000000L
|
83 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
84 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
85 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
86 |
+
#else
|
87 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
88 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
89 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
90 |
+
#endif
|
91 |
+
#if defined(_MSC_VER)
|
92 |
+
/* _MSC_VER = VVRR */
|
93 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
94 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
95 |
+
#endif
|
96 |
+
#if defined(__GNUC__)
|
97 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
98 |
+
#elif defined(__GNUG__)
|
99 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
100 |
+
#endif
|
101 |
+
#if defined(__GNUC_MINOR__)
|
102 |
+
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
103 |
+
#endif
|
104 |
+
#if defined(__GNUC_PATCHLEVEL__)
|
105 |
+
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
106 |
+
#endif
|
107 |
+
|
108 |
+
#elif defined(__PATHCC__)
|
109 |
+
# define COMPILER_ID "PathScale"
|
110 |
+
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
111 |
+
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
112 |
+
# if defined(__PATHCC_PATCHLEVEL__)
|
113 |
+
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
114 |
+
# endif
|
115 |
+
|
116 |
+
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
117 |
+
# define COMPILER_ID "Embarcadero"
|
118 |
+
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
119 |
+
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
120 |
+
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
121 |
+
|
122 |
+
#elif defined(__BORLANDC__)
|
123 |
+
# define COMPILER_ID "Borland"
|
124 |
+
/* __BORLANDC__ = 0xVRR */
|
125 |
+
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
126 |
+
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
127 |
+
|
128 |
+
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
129 |
+
# define COMPILER_ID "Watcom"
|
130 |
+
/* __WATCOMC__ = VVRR */
|
131 |
+
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
132 |
+
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
133 |
+
# if (__WATCOMC__ % 10) > 0
|
134 |
+
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
135 |
+
# endif
|
136 |
+
|
137 |
+
#elif defined(__WATCOMC__)
|
138 |
+
# define COMPILER_ID "OpenWatcom"
|
139 |
+
/* __WATCOMC__ = VVRP + 1100 */
|
140 |
+
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
141 |
+
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
142 |
+
# if (__WATCOMC__ % 10) > 0
|
143 |
+
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
144 |
+
# endif
|
145 |
+
|
146 |
+
#elif defined(__SUNPRO_C)
|
147 |
+
# define COMPILER_ID "SunPro"
|
148 |
+
# if __SUNPRO_C >= 0x5100
|
149 |
+
/* __SUNPRO_C = 0xVRRP */
|
150 |
+
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
151 |
+
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
152 |
+
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
153 |
+
# else
|
154 |
+
/* __SUNPRO_CC = 0xVRP */
|
155 |
+
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
156 |
+
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
157 |
+
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
158 |
+
# endif
|
159 |
+
|
160 |
+
#elif defined(__HP_cc)
|
161 |
+
# define COMPILER_ID "HP"
|
162 |
+
/* __HP_cc = VVRRPP */
|
163 |
+
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
164 |
+
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
165 |
+
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
166 |
+
|
167 |
+
#elif defined(__DECC)
|
168 |
+
# define COMPILER_ID "Compaq"
|
169 |
+
/* __DECC_VER = VVRRTPPPP */
|
170 |
+
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
171 |
+
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
172 |
+
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
173 |
+
|
174 |
+
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
175 |
+
# define COMPILER_ID "zOS"
|
176 |
+
/* __IBMC__ = VRP */
|
177 |
+
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
178 |
+
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
179 |
+
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
180 |
+
|
181 |
+
#elif defined(__open_xl__) && defined(__clang__)
|
182 |
+
# define COMPILER_ID "IBMClang"
|
183 |
+
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
|
184 |
+
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
|
185 |
+
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
|
186 |
+
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
|
187 |
+
|
188 |
+
|
189 |
+
#elif defined(__ibmxl__) && defined(__clang__)
|
190 |
+
# define COMPILER_ID "XLClang"
|
191 |
+
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
192 |
+
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
193 |
+
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
194 |
+
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
195 |
+
|
196 |
+
|
197 |
+
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
|
198 |
+
# define COMPILER_ID "XL"
|
199 |
+
/* __IBMC__ = VRP */
|
200 |
+
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
201 |
+
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
202 |
+
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
203 |
+
|
204 |
+
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
205 |
+
# define COMPILER_ID "VisualAge"
|
206 |
+
/* __IBMC__ = VRP */
|
207 |
+
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
208 |
+
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
209 |
+
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
210 |
+
|
211 |
+
#elif defined(__NVCOMPILER)
|
212 |
+
# define COMPILER_ID "NVHPC"
|
213 |
+
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
214 |
+
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
215 |
+
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
216 |
+
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
217 |
+
# endif
|
218 |
+
|
219 |
+
#elif defined(__PGI)
|
220 |
+
# define COMPILER_ID "PGI"
|
221 |
+
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
222 |
+
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
223 |
+
# if defined(__PGIC_PATCHLEVEL__)
|
224 |
+
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
225 |
+
# endif
|
226 |
+
|
227 |
+
#elif defined(_CRAYC)
|
228 |
+
# define COMPILER_ID "Cray"
|
229 |
+
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
230 |
+
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
231 |
+
|
232 |
+
#elif defined(__TI_COMPILER_VERSION__)
|
233 |
+
# define COMPILER_ID "TI"
|
234 |
+
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
235 |
+
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
236 |
+
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
237 |
+
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
238 |
+
|
239 |
+
#elif defined(__CLANG_FUJITSU)
|
240 |
+
# define COMPILER_ID "FujitsuClang"
|
241 |
+
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
242 |
+
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
243 |
+
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
244 |
+
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
245 |
+
|
246 |
+
|
247 |
+
#elif defined(__FUJITSU)
|
248 |
+
# define COMPILER_ID "Fujitsu"
|
249 |
+
# if defined(__FCC_version__)
|
250 |
+
# define COMPILER_VERSION __FCC_version__
|
251 |
+
# elif defined(__FCC_major__)
|
252 |
+
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
253 |
+
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
254 |
+
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
255 |
+
# endif
|
256 |
+
# if defined(__fcc_version)
|
257 |
+
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
258 |
+
# elif defined(__FCC_VERSION)
|
259 |
+
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
260 |
+
# endif
|
261 |
+
|
262 |
+
|
263 |
+
#elif defined(__ghs__)
|
264 |
+
# define COMPILER_ID "GHS"
|
265 |
+
/* __GHS_VERSION_NUMBER = VVVVRP */
|
266 |
+
# ifdef __GHS_VERSION_NUMBER
|
267 |
+
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
268 |
+
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
269 |
+
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
270 |
+
# endif
|
271 |
+
|
272 |
+
#elif defined(__TASKING__)
|
273 |
+
# define COMPILER_ID "Tasking"
|
274 |
+
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
|
275 |
+
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
|
276 |
+
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
|
277 |
+
|
278 |
+
#elif defined(__TINYC__)
|
279 |
+
# define COMPILER_ID "TinyCC"
|
280 |
+
|
281 |
+
#elif defined(__BCC__)
|
282 |
+
# define COMPILER_ID "Bruce"
|
283 |
+
|
284 |
+
#elif defined(__SCO_VERSION__)
|
285 |
+
# define COMPILER_ID "SCO"
|
286 |
+
|
287 |
+
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
288 |
+
# define COMPILER_ID "ARMCC"
|
289 |
+
#if __ARMCC_VERSION >= 1000000
|
290 |
+
/* __ARMCC_VERSION = VRRPPPP */
|
291 |
+
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
292 |
+
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
293 |
+
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
294 |
+
#else
|
295 |
+
/* __ARMCC_VERSION = VRPPPP */
|
296 |
+
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
297 |
+
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
298 |
+
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
299 |
+
#endif
|
300 |
+
|
301 |
+
|
302 |
+
#elif defined(__clang__) && defined(__apple_build_version__)
|
303 |
+
# define COMPILER_ID "AppleClang"
|
304 |
+
# if defined(_MSC_VER)
|
305 |
+
# define SIMULATE_ID "MSVC"
|
306 |
+
# endif
|
307 |
+
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
308 |
+
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
309 |
+
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
310 |
+
# if defined(_MSC_VER)
|
311 |
+
/* _MSC_VER = VVRR */
|
312 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
313 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
314 |
+
# endif
|
315 |
+
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
316 |
+
|
317 |
+
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
318 |
+
# define COMPILER_ID "ARMClang"
|
319 |
+
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
320 |
+
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
321 |
+
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
|
322 |
+
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
323 |
+
|
324 |
+
#elif defined(__clang__)
|
325 |
+
# define COMPILER_ID "Clang"
|
326 |
+
# if defined(_MSC_VER)
|
327 |
+
# define SIMULATE_ID "MSVC"
|
328 |
+
# endif
|
329 |
+
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
330 |
+
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
331 |
+
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
332 |
+
# if defined(_MSC_VER)
|
333 |
+
/* _MSC_VER = VVRR */
|
334 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
335 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
336 |
+
# endif
|
337 |
+
|
338 |
+
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
|
339 |
+
# define COMPILER_ID "LCC"
|
340 |
+
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
|
341 |
+
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
|
342 |
+
# if defined(__LCC_MINOR__)
|
343 |
+
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
|
344 |
+
# endif
|
345 |
+
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
|
346 |
+
# define SIMULATE_ID "GNU"
|
347 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
348 |
+
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
349 |
+
# if defined(__GNUC_PATCHLEVEL__)
|
350 |
+
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
351 |
+
# endif
|
352 |
+
# endif
|
353 |
+
|
354 |
+
#elif defined(__GNUC__)
|
355 |
+
# define COMPILER_ID "GNU"
|
356 |
+
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
357 |
+
# if defined(__GNUC_MINOR__)
|
358 |
+
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
359 |
+
# endif
|
360 |
+
# if defined(__GNUC_PATCHLEVEL__)
|
361 |
+
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
362 |
+
# endif
|
363 |
+
|
364 |
+
#elif defined(_MSC_VER)
|
365 |
+
# define COMPILER_ID "MSVC"
|
366 |
+
/* _MSC_VER = VVRR */
|
367 |
+
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
368 |
+
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
369 |
+
# if defined(_MSC_FULL_VER)
|
370 |
+
# if _MSC_VER >= 1400
|
371 |
+
/* _MSC_FULL_VER = VVRRPPPPP */
|
372 |
+
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
373 |
+
# else
|
374 |
+
/* _MSC_FULL_VER = VVRRPPPP */
|
375 |
+
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
376 |
+
# endif
|
377 |
+
# endif
|
378 |
+
# if defined(_MSC_BUILD)
|
379 |
+
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
380 |
+
# endif
|
381 |
+
|
382 |
+
#elif defined(_ADI_COMPILER)
|
383 |
+
# define COMPILER_ID "ADSP"
|
384 |
+
#if defined(__VERSIONNUM__)
|
385 |
+
/* __VERSIONNUM__ = 0xVVRRPPTT */
|
386 |
+
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
|
387 |
+
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
|
388 |
+
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
|
389 |
+
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
|
390 |
+
#endif
|
391 |
+
|
392 |
+
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
393 |
+
# define COMPILER_ID "IAR"
|
394 |
+
# if defined(__VER__) && defined(__ICCARM__)
|
395 |
+
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
396 |
+
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
397 |
+
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
398 |
+
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
399 |
+
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
400 |
+
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
401 |
+
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
402 |
+
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
403 |
+
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
404 |
+
# endif
|
405 |
+
|
406 |
+
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
|
407 |
+
# define COMPILER_ID "SDCC"
|
408 |
+
# if defined(__SDCC_VERSION_MAJOR)
|
409 |
+
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
|
410 |
+
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
|
411 |
+
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
|
412 |
+
# else
|
413 |
+
/* SDCC = VRP */
|
414 |
+
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
415 |
+
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
416 |
+
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
417 |
+
# endif
|
418 |
+
|
419 |
+
|
420 |
+
/* These compilers are either not known or too old to define an
|
421 |
+
identification macro. Try to identify the platform and guess that
|
422 |
+
it is the native compiler. */
|
423 |
+
#elif defined(__hpux) || defined(__hpua)
|
424 |
+
# define COMPILER_ID "HP"
|
425 |
+
|
426 |
+
#else /* unknown compiler */
|
427 |
+
# define COMPILER_ID ""
|
428 |
+
#endif
|
429 |
+
|
430 |
+
/* Construct the string literal in pieces to prevent the source from
|
431 |
+
getting matched. Store it in a pointer rather than an array
|
432 |
+
because some compilers will just produce instructions to fill the
|
433 |
+
array rather than assigning a pointer to a static array. */
|
434 |
+
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
435 |
+
#ifdef SIMULATE_ID
|
436 |
+
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
437 |
+
#endif
|
438 |
+
|
439 |
+
#ifdef __QNXNTO__
|
440 |
+
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
441 |
+
#endif
|
442 |
+
|
443 |
+
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
444 |
+
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
445 |
+
#endif
|
446 |
+
|
447 |
+
#define STRINGIFY_HELPER(X) #X
|
448 |
+
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
449 |
+
|
450 |
+
/* Identify known platforms by name. */
|
451 |
+
#if defined(__linux) || defined(__linux__) || defined(linux)
|
452 |
+
# define PLATFORM_ID "Linux"
|
453 |
+
|
454 |
+
#elif defined(__MSYS__)
|
455 |
+
# define PLATFORM_ID "MSYS"
|
456 |
+
|
457 |
+
#elif defined(__CYGWIN__)
|
458 |
+
# define PLATFORM_ID "Cygwin"
|
459 |
+
|
460 |
+
#elif defined(__MINGW32__)
|
461 |
+
# define PLATFORM_ID "MinGW"
|
462 |
+
|
463 |
+
#elif defined(__APPLE__)
|
464 |
+
# define PLATFORM_ID "Darwin"
|
465 |
+
|
466 |
+
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
467 |
+
# define PLATFORM_ID "Windows"
|
468 |
+
|
469 |
+
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
470 |
+
# define PLATFORM_ID "FreeBSD"
|
471 |
+
|
472 |
+
#elif defined(__NetBSD__) || defined(__NetBSD)
|
473 |
+
# define PLATFORM_ID "NetBSD"
|
474 |
+
|
475 |
+
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
476 |
+
# define PLATFORM_ID "OpenBSD"
|
477 |
+
|
478 |
+
#elif defined(__sun) || defined(sun)
|
479 |
+
# define PLATFORM_ID "SunOS"
|
480 |
+
|
481 |
+
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
482 |
+
# define PLATFORM_ID "AIX"
|
483 |
+
|
484 |
+
#elif defined(__hpux) || defined(__hpux__)
|
485 |
+
# define PLATFORM_ID "HP-UX"
|
486 |
+
|
487 |
+
#elif defined(__HAIKU__)
|
488 |
+
# define PLATFORM_ID "Haiku"
|
489 |
+
|
490 |
+
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
491 |
+
# define PLATFORM_ID "BeOS"
|
492 |
+
|
493 |
+
#elif defined(__QNX__) || defined(__QNXNTO__)
|
494 |
+
# define PLATFORM_ID "QNX"
|
495 |
+
|
496 |
+
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
497 |
+
# define PLATFORM_ID "Tru64"
|
498 |
+
|
499 |
+
#elif defined(__riscos) || defined(__riscos__)
|
500 |
+
# define PLATFORM_ID "RISCos"
|
501 |
+
|
502 |
+
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
503 |
+
# define PLATFORM_ID "SINIX"
|
504 |
+
|
505 |
+
#elif defined(__UNIX_SV__)
|
506 |
+
# define PLATFORM_ID "UNIX_SV"
|
507 |
+
|
508 |
+
#elif defined(__bsdos__)
|
509 |
+
# define PLATFORM_ID "BSDOS"
|
510 |
+
|
511 |
+
#elif defined(_MPRAS) || defined(MPRAS)
|
512 |
+
# define PLATFORM_ID "MP-RAS"
|
513 |
+
|
514 |
+
#elif defined(__osf) || defined(__osf__)
|
515 |
+
# define PLATFORM_ID "OSF1"
|
516 |
+
|
517 |
+
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
518 |
+
# define PLATFORM_ID "SCO_SV"
|
519 |
+
|
520 |
+
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
521 |
+
# define PLATFORM_ID "ULTRIX"
|
522 |
+
|
523 |
+
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
524 |
+
# define PLATFORM_ID "Xenix"
|
525 |
+
|
526 |
+
#elif defined(__WATCOMC__)
|
527 |
+
# if defined(__LINUX__)
|
528 |
+
# define PLATFORM_ID "Linux"
|
529 |
+
|
530 |
+
# elif defined(__DOS__)
|
531 |
+
# define PLATFORM_ID "DOS"
|
532 |
+
|
533 |
+
# elif defined(__OS2__)
|
534 |
+
# define PLATFORM_ID "OS2"
|
535 |
+
|
536 |
+
# elif defined(__WINDOWS__)
|
537 |
+
# define PLATFORM_ID "Windows3x"
|
538 |
+
|
539 |
+
# elif defined(__VXWORKS__)
|
540 |
+
# define PLATFORM_ID "VxWorks"
|
541 |
+
|
542 |
+
# else /* unknown platform */
|
543 |
+
# define PLATFORM_ID
|
544 |
+
# endif
|
545 |
+
|
546 |
+
#elif defined(__INTEGRITY)
|
547 |
+
# if defined(INT_178B)
|
548 |
+
# define PLATFORM_ID "Integrity178"
|
549 |
+
|
550 |
+
# else /* regular Integrity */
|
551 |
+
# define PLATFORM_ID "Integrity"
|
552 |
+
# endif
|
553 |
+
|
554 |
+
# elif defined(_ADI_COMPILER)
|
555 |
+
# define PLATFORM_ID "ADSP"
|
556 |
+
|
557 |
+
#else /* unknown platform */
|
558 |
+
# define PLATFORM_ID
|
559 |
+
|
560 |
+
#endif
|
561 |
+
|
562 |
+
/* For windows compilers MSVC and Intel we can determine
|
563 |
+
the architecture of the compiler being used. This is because
|
564 |
+
the compilers do not have flags that can change the architecture,
|
565 |
+
but rather depend on which compiler is being used
|
566 |
+
*/
|
567 |
+
#if defined(_WIN32) && defined(_MSC_VER)
|
568 |
+
# if defined(_M_IA64)
|
569 |
+
# define ARCHITECTURE_ID "IA64"
|
570 |
+
|
571 |
+
# elif defined(_M_ARM64EC)
|
572 |
+
# define ARCHITECTURE_ID "ARM64EC"
|
573 |
+
|
574 |
+
# elif defined(_M_X64) || defined(_M_AMD64)
|
575 |
+
# define ARCHITECTURE_ID "x64"
|
576 |
+
|
577 |
+
# elif defined(_M_IX86)
|
578 |
+
# define ARCHITECTURE_ID "X86"
|
579 |
+
|
580 |
+
# elif defined(_M_ARM64)
|
581 |
+
# define ARCHITECTURE_ID "ARM64"
|
582 |
+
|
583 |
+
# elif defined(_M_ARM)
|
584 |
+
# if _M_ARM == 4
|
585 |
+
# define ARCHITECTURE_ID "ARMV4I"
|
586 |
+
# elif _M_ARM == 5
|
587 |
+
# define ARCHITECTURE_ID "ARMV5I"
|
588 |
+
# else
|
589 |
+
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
590 |
+
# endif
|
591 |
+
|
592 |
+
# elif defined(_M_MIPS)
|
593 |
+
# define ARCHITECTURE_ID "MIPS"
|
594 |
+
|
595 |
+
# elif defined(_M_SH)
|
596 |
+
# define ARCHITECTURE_ID "SHx"
|
597 |
+
|
598 |
+
# else /* unknown architecture */
|
599 |
+
# define ARCHITECTURE_ID ""
|
600 |
+
# endif
|
601 |
+
|
602 |
+
#elif defined(__WATCOMC__)
|
603 |
+
# if defined(_M_I86)
|
604 |
+
# define ARCHITECTURE_ID "I86"
|
605 |
+
|
606 |
+
# elif defined(_M_IX86)
|
607 |
+
# define ARCHITECTURE_ID "X86"
|
608 |
+
|
609 |
+
# else /* unknown architecture */
|
610 |
+
# define ARCHITECTURE_ID ""
|
611 |
+
# endif
|
612 |
+
|
613 |
+
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
614 |
+
# if defined(__ICCARM__)
|
615 |
+
# define ARCHITECTURE_ID "ARM"
|
616 |
+
|
617 |
+
# elif defined(__ICCRX__)
|
618 |
+
# define ARCHITECTURE_ID "RX"
|
619 |
+
|
620 |
+
# elif defined(__ICCRH850__)
|
621 |
+
# define ARCHITECTURE_ID "RH850"
|
622 |
+
|
623 |
+
# elif defined(__ICCRL78__)
|
624 |
+
# define ARCHITECTURE_ID "RL78"
|
625 |
+
|
626 |
+
# elif defined(__ICCRISCV__)
|
627 |
+
# define ARCHITECTURE_ID "RISCV"
|
628 |
+
|
629 |
+
# elif defined(__ICCAVR__)
|
630 |
+
# define ARCHITECTURE_ID "AVR"
|
631 |
+
|
632 |
+
# elif defined(__ICC430__)
|
633 |
+
# define ARCHITECTURE_ID "MSP430"
|
634 |
+
|
635 |
+
# elif defined(__ICCV850__)
|
636 |
+
# define ARCHITECTURE_ID "V850"
|
637 |
+
|
638 |
+
# elif defined(__ICC8051__)
|
639 |
+
# define ARCHITECTURE_ID "8051"
|
640 |
+
|
641 |
+
# elif defined(__ICCSTM8__)
|
642 |
+
# define ARCHITECTURE_ID "STM8"
|
643 |
+
|
644 |
+
# else /* unknown architecture */
|
645 |
+
# define ARCHITECTURE_ID ""
|
646 |
+
# endif
|
647 |
+
|
648 |
+
#elif defined(__ghs__)
|
649 |
+
# if defined(__PPC64__)
|
650 |
+
# define ARCHITECTURE_ID "PPC64"
|
651 |
+
|
652 |
+
# elif defined(__ppc__)
|
653 |
+
# define ARCHITECTURE_ID "PPC"
|
654 |
+
|
655 |
+
# elif defined(__ARM__)
|
656 |
+
# define ARCHITECTURE_ID "ARM"
|
657 |
+
|
658 |
+
# elif defined(__x86_64__)
|
659 |
+
# define ARCHITECTURE_ID "x64"
|
660 |
+
|
661 |
+
# elif defined(__i386__)
|
662 |
+
# define ARCHITECTURE_ID "X86"
|
663 |
+
|
664 |
+
# else /* unknown architecture */
|
665 |
+
# define ARCHITECTURE_ID ""
|
666 |
+
# endif
|
667 |
+
|
668 |
+
#elif defined(__TI_COMPILER_VERSION__)
|
669 |
+
# if defined(__TI_ARM__)
|
670 |
+
# define ARCHITECTURE_ID "ARM"
|
671 |
+
|
672 |
+
# elif defined(__MSP430__)
|
673 |
+
# define ARCHITECTURE_ID "MSP430"
|
674 |
+
|
675 |
+
# elif defined(__TMS320C28XX__)
|
676 |
+
# define ARCHITECTURE_ID "TMS320C28x"
|
677 |
+
|
678 |
+
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
679 |
+
# define ARCHITECTURE_ID "TMS320C6x"
|
680 |
+
|
681 |
+
# else /* unknown architecture */
|
682 |
+
# define ARCHITECTURE_ID ""
|
683 |
+
# endif
|
684 |
+
|
685 |
+
# elif defined(__ADSPSHARC__)
|
686 |
+
# define ARCHITECTURE_ID "SHARC"
|
687 |
+
|
688 |
+
# elif defined(__ADSPBLACKFIN__)
|
689 |
+
# define ARCHITECTURE_ID "Blackfin"
|
690 |
+
|
691 |
+
#elif defined(__TASKING__)
|
692 |
+
|
693 |
+
# if defined(__CTC__) || defined(__CPTC__)
|
694 |
+
# define ARCHITECTURE_ID "TriCore"
|
695 |
+
|
696 |
+
# elif defined(__CMCS__)
|
697 |
+
# define ARCHITECTURE_ID "MCS"
|
698 |
+
|
699 |
+
# elif defined(__CARM__)
|
700 |
+
# define ARCHITECTURE_ID "ARM"
|
701 |
+
|
702 |
+
# elif defined(__CARC__)
|
703 |
+
# define ARCHITECTURE_ID "ARC"
|
704 |
+
|
705 |
+
# elif defined(__C51__)
|
706 |
+
# define ARCHITECTURE_ID "8051"
|
707 |
+
|
708 |
+
# elif defined(__CPCP__)
|
709 |
+
# define ARCHITECTURE_ID "PCP"
|
710 |
+
|
711 |
+
# else
|
712 |
+
# define ARCHITECTURE_ID ""
|
713 |
+
# endif
|
714 |
+
|
715 |
+
#else
|
716 |
+
# define ARCHITECTURE_ID
|
717 |
+
#endif
|
718 |
+
|
719 |
+
/* Convert integer to decimal digit literals. */
|
720 |
+
#define DEC(n) \
|
721 |
+
('0' + (((n) / 10000000)%10)), \
|
722 |
+
('0' + (((n) / 1000000)%10)), \
|
723 |
+
('0' + (((n) / 100000)%10)), \
|
724 |
+
('0' + (((n) / 10000)%10)), \
|
725 |
+
('0' + (((n) / 1000)%10)), \
|
726 |
+
('0' + (((n) / 100)%10)), \
|
727 |
+
('0' + (((n) / 10)%10)), \
|
728 |
+
('0' + ((n) % 10))
|
729 |
+
|
730 |
+
/* Convert integer to hex digit literals. */
|
731 |
+
#define HEX(n) \
|
732 |
+
('0' + ((n)>>28 & 0xF)), \
|
733 |
+
('0' + ((n)>>24 & 0xF)), \
|
734 |
+
('0' + ((n)>>20 & 0xF)), \
|
735 |
+
('0' + ((n)>>16 & 0xF)), \
|
736 |
+
('0' + ((n)>>12 & 0xF)), \
|
737 |
+
('0' + ((n)>>8 & 0xF)), \
|
738 |
+
('0' + ((n)>>4 & 0xF)), \
|
739 |
+
('0' + ((n) & 0xF))
|
740 |
+
|
741 |
+
/* Construct a string literal encoding the version number. */
|
742 |
+
#ifdef COMPILER_VERSION
|
743 |
+
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
744 |
+
|
745 |
+
/* Construct a string literal encoding the version number components. */
|
746 |
+
#elif defined(COMPILER_VERSION_MAJOR)
|
747 |
+
char const info_version[] = {
|
748 |
+
'I', 'N', 'F', 'O', ':',
|
749 |
+
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
750 |
+
COMPILER_VERSION_MAJOR,
|
751 |
+
# ifdef COMPILER_VERSION_MINOR
|
752 |
+
'.', COMPILER_VERSION_MINOR,
|
753 |
+
# ifdef COMPILER_VERSION_PATCH
|
754 |
+
'.', COMPILER_VERSION_PATCH,
|
755 |
+
# ifdef COMPILER_VERSION_TWEAK
|
756 |
+
'.', COMPILER_VERSION_TWEAK,
|
757 |
+
# endif
|
758 |
+
# endif
|
759 |
+
# endif
|
760 |
+
']','\0'};
|
761 |
+
#endif
|
762 |
+
|
763 |
+
/* Construct a string literal encoding the internal version number. */
|
764 |
+
#ifdef COMPILER_VERSION_INTERNAL
|
765 |
+
char const info_version_internal[] = {
|
766 |
+
'I', 'N', 'F', 'O', ':',
|
767 |
+
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
768 |
+
'i','n','t','e','r','n','a','l','[',
|
769 |
+
COMPILER_VERSION_INTERNAL,']','\0'};
|
770 |
+
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
771 |
+
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
772 |
+
#endif
|
773 |
+
|
774 |
+
/* Construct a string literal encoding the version number components. */
|
775 |
+
#ifdef SIMULATE_VERSION_MAJOR
|
776 |
+
char const info_simulate_version[] = {
|
777 |
+
'I', 'N', 'F', 'O', ':',
|
778 |
+
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
779 |
+
SIMULATE_VERSION_MAJOR,
|
780 |
+
# ifdef SIMULATE_VERSION_MINOR
|
781 |
+
'.', SIMULATE_VERSION_MINOR,
|
782 |
+
# ifdef SIMULATE_VERSION_PATCH
|
783 |
+
'.', SIMULATE_VERSION_PATCH,
|
784 |
+
# ifdef SIMULATE_VERSION_TWEAK
|
785 |
+
'.', SIMULATE_VERSION_TWEAK,
|
786 |
+
# endif
|
787 |
+
# endif
|
788 |
+
# endif
|
789 |
+
']','\0'};
|
790 |
+
#endif
|
791 |
+
|
792 |
+
/* Construct the string literal in pieces to prevent the source from
|
793 |
+
getting matched. Store it in a pointer rather than an array
|
794 |
+
because some compilers will just produce instructions to fill the
|
795 |
+
array rather than assigning a pointer to a static array. */
|
796 |
+
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
797 |
+
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
798 |
+
|
799 |
+
|
800 |
+
|
801 |
+
#if !defined(__STDC__) && !defined(__clang__)
|
802 |
+
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
|
803 |
+
# define C_VERSION "90"
|
804 |
+
# else
|
805 |
+
# define C_VERSION
|
806 |
+
# endif
|
807 |
+
#elif __STDC_VERSION__ > 201710L
|
808 |
+
# define C_VERSION "23"
|
809 |
+
#elif __STDC_VERSION__ >= 201710L
|
810 |
+
# define C_VERSION "17"
|
811 |
+
#elif __STDC_VERSION__ >= 201000L
|
812 |
+
# define C_VERSION "11"
|
813 |
+
#elif __STDC_VERSION__ >= 199901L
|
814 |
+
# define C_VERSION "99"
|
815 |
+
#else
|
816 |
+
# define C_VERSION "90"
|
817 |
+
#endif
|
818 |
+
const char* info_language_standard_default =
|
819 |
+
"INFO" ":" "standard_default[" C_VERSION "]";
|
820 |
+
|
821 |
+
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
822 |
+
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
|
823 |
+
defined(__TI_COMPILER_VERSION__)) && \
|
824 |
+
!defined(__STRICT_ANSI__)
|
825 |
+
"ON"
|
826 |
+
#else
|
827 |
+
"OFF"
|
828 |
+
#endif
|
829 |
+
"]";
|
830 |
+
|
831 |
+
/*--------------------------------------------------------------------------*/
|
832 |
+
|
833 |
+
#ifdef ID_VOID_MAIN
|
834 |
+
void main() {}
|
835 |
+
#else
|
836 |
+
# if defined(__CLASSIC_C__)
|
837 |
+
int main(argc, argv) int argc; char *argv[];
|
838 |
+
# else
|
839 |
+
int main(int argc, char* argv[])
|
840 |
+
# endif
|
841 |
+
{
|
842 |
+
int require = 0;
|
843 |
+
require += info_compiler[argc];
|
844 |
+
require += info_platform[argc];
|
845 |
+
require += info_arch[argc];
|
846 |
+
#ifdef COMPILER_VERSION_MAJOR
|
847 |
+
require += info_version[argc];
|
848 |
+
#endif
|
849 |
+
#ifdef COMPILER_VERSION_INTERNAL
|
850 |
+
require += info_version_internal[argc];
|
851 |
+
#endif
|
852 |
+
#ifdef SIMULATE_ID
|
853 |
+
require += info_simulate[argc];
|
854 |
+
#endif
|
855 |
+
#ifdef SIMULATE_VERSION_MAJOR
|
856 |
+
require += info_simulate_version[argc];
|
857 |
+
#endif
|
858 |
+
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
859 |
+
require += info_cray[argc];
|
860 |
+
#endif
|
861 |
+
require += info_language_standard_default[argc];
|
862 |
+
require += info_language_extensions_default[argc];
|
863 |
+
(void)argv;
|
864 |
+
return require;
|
865 |
+
}
|
866 |
+
#endif
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.exe
ADDED
Binary file (96.3 kB). View file
|
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.obj
ADDED
Binary file (2 kB). View file
|
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdCXX/CMakeCXXCompilerId.cpp
ADDED
@@ -0,0 +1,855 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* This source file must have a .cpp extension so that all C++ compilers
|
2 |
+
recognize the extension without flags. Borland does not know .cxx for
|
3 |
+
example. */
|
4 |
+
#ifndef __cplusplus
|
5 |
+
# error "A C compiler has been selected for C++."
|
6 |
+
#endif
|
7 |
+
|
8 |
+
#if !defined(__has_include)
|
9 |
+
/* If the compiler does not have __has_include, pretend the answer is
|
10 |
+
always no. */
|
11 |
+
# define __has_include(x) 0
|
12 |
+
#endif
|
13 |
+
|
14 |
+
|
15 |
+
/* Version number components: V=Version, R=Revision, P=Patch
|
16 |
+
Version date components: YYYY=Year, MM=Month, DD=Day */
|
17 |
+
|
18 |
+
#if defined(__COMO__)
|
19 |
+
# define COMPILER_ID "Comeau"
|
20 |
+
/* __COMO_VERSION__ = VRR */
|
21 |
+
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
|
22 |
+
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
|
23 |
+
|
24 |
+
#elif defined(__INTEL_COMPILER) || defined(__ICC)
|
25 |
+
# define COMPILER_ID "Intel"
|
26 |
+
# if defined(_MSC_VER)
|
27 |
+
# define SIMULATE_ID "MSVC"
|
28 |
+
# endif
|
29 |
+
# if defined(__GNUC__)
|
30 |
+
# define SIMULATE_ID "GNU"
|
31 |
+
# endif
|
32 |
+
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
33 |
+
except that a few beta releases use the old format with V=2021. */
|
34 |
+
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
|
35 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
36 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
37 |
+
# if defined(__INTEL_COMPILER_UPDATE)
|
38 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
39 |
+
# else
|
40 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
41 |
+
# endif
|
42 |
+
# else
|
43 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
|
44 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
|
45 |
+
/* The third version component from --version is an update index,
|
46 |
+
but no macro is provided for it. */
|
47 |
+
# define COMPILER_VERSION_PATCH DEC(0)
|
48 |
+
# endif
|
49 |
+
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
50 |
+
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
51 |
+
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
52 |
+
# endif
|
53 |
+
# if defined(_MSC_VER)
|
54 |
+
/* _MSC_VER = VVRR */
|
55 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
56 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
57 |
+
# endif
|
58 |
+
# if defined(__GNUC__)
|
59 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
60 |
+
# elif defined(__GNUG__)
|
61 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
62 |
+
# endif
|
63 |
+
# if defined(__GNUC_MINOR__)
|
64 |
+
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
65 |
+
# endif
|
66 |
+
# if defined(__GNUC_PATCHLEVEL__)
|
67 |
+
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
68 |
+
# endif
|
69 |
+
|
70 |
+
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
|
71 |
+
# define COMPILER_ID "IntelLLVM"
|
72 |
+
#if defined(_MSC_VER)
|
73 |
+
# define SIMULATE_ID "MSVC"
|
74 |
+
#endif
|
75 |
+
#if defined(__GNUC__)
|
76 |
+
# define SIMULATE_ID "GNU"
|
77 |
+
#endif
|
78 |
+
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
79 |
+
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
|
80 |
+
* VVVV is no smaller than the current year when a version is released.
|
81 |
+
*/
|
82 |
+
#if __INTEL_LLVM_COMPILER < 1000000L
|
83 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
|
84 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
|
85 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
|
86 |
+
#else
|
87 |
+
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
|
88 |
+
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
|
89 |
+
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
|
90 |
+
#endif
|
91 |
+
#if defined(_MSC_VER)
|
92 |
+
/* _MSC_VER = VVRR */
|
93 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
94 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
95 |
+
#endif
|
96 |
+
#if defined(__GNUC__)
|
97 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
98 |
+
#elif defined(__GNUG__)
|
99 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
100 |
+
#endif
|
101 |
+
#if defined(__GNUC_MINOR__)
|
102 |
+
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
103 |
+
#endif
|
104 |
+
#if defined(__GNUC_PATCHLEVEL__)
|
105 |
+
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
106 |
+
#endif
|
107 |
+
|
108 |
+
#elif defined(__PATHCC__)
|
109 |
+
# define COMPILER_ID "PathScale"
|
110 |
+
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
111 |
+
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
112 |
+
# if defined(__PATHCC_PATCHLEVEL__)
|
113 |
+
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
114 |
+
# endif
|
115 |
+
|
116 |
+
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
117 |
+
# define COMPILER_ID "Embarcadero"
|
118 |
+
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
119 |
+
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
120 |
+
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
121 |
+
|
122 |
+
#elif defined(__BORLANDC__)
|
123 |
+
# define COMPILER_ID "Borland"
|
124 |
+
/* __BORLANDC__ = 0xVRR */
|
125 |
+
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
126 |
+
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
127 |
+
|
128 |
+
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
129 |
+
# define COMPILER_ID "Watcom"
|
130 |
+
/* __WATCOMC__ = VVRR */
|
131 |
+
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
132 |
+
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
133 |
+
# if (__WATCOMC__ % 10) > 0
|
134 |
+
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
135 |
+
# endif
|
136 |
+
|
137 |
+
#elif defined(__WATCOMC__)
|
138 |
+
# define COMPILER_ID "OpenWatcom"
|
139 |
+
/* __WATCOMC__ = VVRP + 1100 */
|
140 |
+
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
141 |
+
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
142 |
+
# if (__WATCOMC__ % 10) > 0
|
143 |
+
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
144 |
+
# endif
|
145 |
+
|
146 |
+
#elif defined(__SUNPRO_CC)
|
147 |
+
# define COMPILER_ID "SunPro"
|
148 |
+
# if __SUNPRO_CC >= 0x5100
|
149 |
+
/* __SUNPRO_CC = 0xVRRP */
|
150 |
+
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
|
151 |
+
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
|
152 |
+
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
153 |
+
# else
|
154 |
+
/* __SUNPRO_CC = 0xVRP */
|
155 |
+
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
|
156 |
+
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
|
157 |
+
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
158 |
+
# endif
|
159 |
+
|
160 |
+
#elif defined(__HP_aCC)
|
161 |
+
# define COMPILER_ID "HP"
|
162 |
+
/* __HP_aCC = VVRRPP */
|
163 |
+
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
|
164 |
+
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
|
165 |
+
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
|
166 |
+
|
167 |
+
#elif defined(__DECCXX)
|
168 |
+
# define COMPILER_ID "Compaq"
|
169 |
+
/* __DECCXX_VER = VVRRTPPPP */
|
170 |
+
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
|
171 |
+
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
|
172 |
+
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
|
173 |
+
|
174 |
+
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
|
175 |
+
# define COMPILER_ID "zOS"
|
176 |
+
/* __IBMCPP__ = VRP */
|
177 |
+
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
178 |
+
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
179 |
+
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
180 |
+
|
181 |
+
#elif defined(__open_xl__) && defined(__clang__)
|
182 |
+
# define COMPILER_ID "IBMClang"
|
183 |
+
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
|
184 |
+
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
|
185 |
+
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
|
186 |
+
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
|
187 |
+
|
188 |
+
|
189 |
+
#elif defined(__ibmxl__) && defined(__clang__)
|
190 |
+
# define COMPILER_ID "XLClang"
|
191 |
+
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
192 |
+
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
193 |
+
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
194 |
+
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
195 |
+
|
196 |
+
|
197 |
+
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
|
198 |
+
# define COMPILER_ID "XL"
|
199 |
+
/* __IBMCPP__ = VRP */
|
200 |
+
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
201 |
+
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
202 |
+
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
203 |
+
|
204 |
+
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
|
205 |
+
# define COMPILER_ID "VisualAge"
|
206 |
+
/* __IBMCPP__ = VRP */
|
207 |
+
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
208 |
+
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
209 |
+
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
210 |
+
|
211 |
+
#elif defined(__NVCOMPILER)
|
212 |
+
# define COMPILER_ID "NVHPC"
|
213 |
+
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
|
214 |
+
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
|
215 |
+
# if defined(__NVCOMPILER_PATCHLEVEL__)
|
216 |
+
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
|
217 |
+
# endif
|
218 |
+
|
219 |
+
#elif defined(__PGI)
|
220 |
+
# define COMPILER_ID "PGI"
|
221 |
+
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
222 |
+
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
223 |
+
# if defined(__PGIC_PATCHLEVEL__)
|
224 |
+
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
225 |
+
# endif
|
226 |
+
|
227 |
+
#elif defined(_CRAYC)
|
228 |
+
# define COMPILER_ID "Cray"
|
229 |
+
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
230 |
+
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
231 |
+
|
232 |
+
#elif defined(__TI_COMPILER_VERSION__)
|
233 |
+
# define COMPILER_ID "TI"
|
234 |
+
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
235 |
+
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
236 |
+
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
237 |
+
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
238 |
+
|
239 |
+
#elif defined(__CLANG_FUJITSU)
|
240 |
+
# define COMPILER_ID "FujitsuClang"
|
241 |
+
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
242 |
+
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
243 |
+
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
244 |
+
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
|
245 |
+
|
246 |
+
|
247 |
+
#elif defined(__FUJITSU)
|
248 |
+
# define COMPILER_ID "Fujitsu"
|
249 |
+
# if defined(__FCC_version__)
|
250 |
+
# define COMPILER_VERSION __FCC_version__
|
251 |
+
# elif defined(__FCC_major__)
|
252 |
+
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
|
253 |
+
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
|
254 |
+
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
|
255 |
+
# endif
|
256 |
+
# if defined(__fcc_version)
|
257 |
+
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
|
258 |
+
# elif defined(__FCC_VERSION)
|
259 |
+
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
|
260 |
+
# endif
|
261 |
+
|
262 |
+
|
263 |
+
#elif defined(__ghs__)
|
264 |
+
# define COMPILER_ID "GHS"
|
265 |
+
/* __GHS_VERSION_NUMBER = VVVVRP */
|
266 |
+
# ifdef __GHS_VERSION_NUMBER
|
267 |
+
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
268 |
+
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
269 |
+
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
270 |
+
# endif
|
271 |
+
|
272 |
+
#elif defined(__TASKING__)
|
273 |
+
# define COMPILER_ID "Tasking"
|
274 |
+
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
|
275 |
+
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
|
276 |
+
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
|
277 |
+
|
278 |
+
#elif defined(__SCO_VERSION__)
|
279 |
+
# define COMPILER_ID "SCO"
|
280 |
+
|
281 |
+
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
282 |
+
# define COMPILER_ID "ARMCC"
|
283 |
+
#if __ARMCC_VERSION >= 1000000
|
284 |
+
/* __ARMCC_VERSION = VRRPPPP */
|
285 |
+
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
286 |
+
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
287 |
+
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
288 |
+
#else
|
289 |
+
/* __ARMCC_VERSION = VRPPPP */
|
290 |
+
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
291 |
+
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
292 |
+
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
293 |
+
#endif
|
294 |
+
|
295 |
+
|
296 |
+
#elif defined(__clang__) && defined(__apple_build_version__)
|
297 |
+
# define COMPILER_ID "AppleClang"
|
298 |
+
# if defined(_MSC_VER)
|
299 |
+
# define SIMULATE_ID "MSVC"
|
300 |
+
# endif
|
301 |
+
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
302 |
+
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
303 |
+
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
304 |
+
# if defined(_MSC_VER)
|
305 |
+
/* _MSC_VER = VVRR */
|
306 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
307 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
308 |
+
# endif
|
309 |
+
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
310 |
+
|
311 |
+
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
312 |
+
# define COMPILER_ID "ARMClang"
|
313 |
+
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
314 |
+
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
315 |
+
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
|
316 |
+
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
317 |
+
|
318 |
+
#elif defined(__clang__)
|
319 |
+
# define COMPILER_ID "Clang"
|
320 |
+
# if defined(_MSC_VER)
|
321 |
+
# define SIMULATE_ID "MSVC"
|
322 |
+
# endif
|
323 |
+
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
324 |
+
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
325 |
+
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
326 |
+
# if defined(_MSC_VER)
|
327 |
+
/* _MSC_VER = VVRR */
|
328 |
+
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
329 |
+
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
330 |
+
# endif
|
331 |
+
|
332 |
+
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
|
333 |
+
# define COMPILER_ID "LCC"
|
334 |
+
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
|
335 |
+
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
|
336 |
+
# if defined(__LCC_MINOR__)
|
337 |
+
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
|
338 |
+
# endif
|
339 |
+
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
|
340 |
+
# define SIMULATE_ID "GNU"
|
341 |
+
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
342 |
+
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
343 |
+
# if defined(__GNUC_PATCHLEVEL__)
|
344 |
+
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
345 |
+
# endif
|
346 |
+
# endif
|
347 |
+
|
348 |
+
#elif defined(__GNUC__) || defined(__GNUG__)
|
349 |
+
# define COMPILER_ID "GNU"
|
350 |
+
# if defined(__GNUC__)
|
351 |
+
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
352 |
+
# else
|
353 |
+
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
|
354 |
+
# endif
|
355 |
+
# if defined(__GNUC_MINOR__)
|
356 |
+
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
357 |
+
# endif
|
358 |
+
# if defined(__GNUC_PATCHLEVEL__)
|
359 |
+
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
360 |
+
# endif
|
361 |
+
|
362 |
+
#elif defined(_MSC_VER)
|
363 |
+
# define COMPILER_ID "MSVC"
|
364 |
+
/* _MSC_VER = VVRR */
|
365 |
+
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
366 |
+
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
367 |
+
# if defined(_MSC_FULL_VER)
|
368 |
+
# if _MSC_VER >= 1400
|
369 |
+
/* _MSC_FULL_VER = VVRRPPPPP */
|
370 |
+
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
371 |
+
# else
|
372 |
+
/* _MSC_FULL_VER = VVRRPPPP */
|
373 |
+
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
374 |
+
# endif
|
375 |
+
# endif
|
376 |
+
# if defined(_MSC_BUILD)
|
377 |
+
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
378 |
+
# endif
|
379 |
+
|
380 |
+
#elif defined(_ADI_COMPILER)
|
381 |
+
# define COMPILER_ID "ADSP"
|
382 |
+
#if defined(__VERSIONNUM__)
|
383 |
+
/* __VERSIONNUM__ = 0xVVRRPPTT */
|
384 |
+
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
|
385 |
+
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
|
386 |
+
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
|
387 |
+
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
|
388 |
+
#endif
|
389 |
+
|
390 |
+
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
391 |
+
# define COMPILER_ID "IAR"
|
392 |
+
# if defined(__VER__) && defined(__ICCARM__)
|
393 |
+
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
394 |
+
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
395 |
+
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
396 |
+
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
397 |
+
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
|
398 |
+
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
399 |
+
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
400 |
+
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
401 |
+
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
402 |
+
# endif
|
403 |
+
|
404 |
+
|
405 |
+
/* These compilers are either not known or too old to define an
|
406 |
+
identification macro. Try to identify the platform and guess that
|
407 |
+
it is the native compiler. */
|
408 |
+
#elif defined(__hpux) || defined(__hpua)
|
409 |
+
# define COMPILER_ID "HP"
|
410 |
+
|
411 |
+
#else /* unknown compiler */
|
412 |
+
# define COMPILER_ID ""
|
413 |
+
#endif
|
414 |
+
|
415 |
+
/* Construct the string literal in pieces to prevent the source from
|
416 |
+
getting matched. Store it in a pointer rather than an array
|
417 |
+
because some compilers will just produce instructions to fill the
|
418 |
+
array rather than assigning a pointer to a static array. */
|
419 |
+
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
420 |
+
#ifdef SIMULATE_ID
|
421 |
+
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
422 |
+
#endif
|
423 |
+
|
424 |
+
#ifdef __QNXNTO__
|
425 |
+
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
426 |
+
#endif
|
427 |
+
|
428 |
+
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
429 |
+
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
430 |
+
#endif
|
431 |
+
|
432 |
+
#define STRINGIFY_HELPER(X) #X
|
433 |
+
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
434 |
+
|
435 |
+
/* Identify known platforms by name. */
|
436 |
+
#if defined(__linux) || defined(__linux__) || defined(linux)
|
437 |
+
# define PLATFORM_ID "Linux"
|
438 |
+
|
439 |
+
#elif defined(__MSYS__)
|
440 |
+
# define PLATFORM_ID "MSYS"
|
441 |
+
|
442 |
+
#elif defined(__CYGWIN__)
|
443 |
+
# define PLATFORM_ID "Cygwin"
|
444 |
+
|
445 |
+
#elif defined(__MINGW32__)
|
446 |
+
# define PLATFORM_ID "MinGW"
|
447 |
+
|
448 |
+
#elif defined(__APPLE__)
|
449 |
+
# define PLATFORM_ID "Darwin"
|
450 |
+
|
451 |
+
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
452 |
+
# define PLATFORM_ID "Windows"
|
453 |
+
|
454 |
+
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
455 |
+
# define PLATFORM_ID "FreeBSD"
|
456 |
+
|
457 |
+
#elif defined(__NetBSD__) || defined(__NetBSD)
|
458 |
+
# define PLATFORM_ID "NetBSD"
|
459 |
+
|
460 |
+
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
461 |
+
# define PLATFORM_ID "OpenBSD"
|
462 |
+
|
463 |
+
#elif defined(__sun) || defined(sun)
|
464 |
+
# define PLATFORM_ID "SunOS"
|
465 |
+
|
466 |
+
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
467 |
+
# define PLATFORM_ID "AIX"
|
468 |
+
|
469 |
+
#elif defined(__hpux) || defined(__hpux__)
|
470 |
+
# define PLATFORM_ID "HP-UX"
|
471 |
+
|
472 |
+
#elif defined(__HAIKU__)
|
473 |
+
# define PLATFORM_ID "Haiku"
|
474 |
+
|
475 |
+
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
476 |
+
# define PLATFORM_ID "BeOS"
|
477 |
+
|
478 |
+
#elif defined(__QNX__) || defined(__QNXNTO__)
|
479 |
+
# define PLATFORM_ID "QNX"
|
480 |
+
|
481 |
+
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
482 |
+
# define PLATFORM_ID "Tru64"
|
483 |
+
|
484 |
+
#elif defined(__riscos) || defined(__riscos__)
|
485 |
+
# define PLATFORM_ID "RISCos"
|
486 |
+
|
487 |
+
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
488 |
+
# define PLATFORM_ID "SINIX"
|
489 |
+
|
490 |
+
#elif defined(__UNIX_SV__)
|
491 |
+
# define PLATFORM_ID "UNIX_SV"
|
492 |
+
|
493 |
+
#elif defined(__bsdos__)
|
494 |
+
# define PLATFORM_ID "BSDOS"
|
495 |
+
|
496 |
+
#elif defined(_MPRAS) || defined(MPRAS)
|
497 |
+
# define PLATFORM_ID "MP-RAS"
|
498 |
+
|
499 |
+
#elif defined(__osf) || defined(__osf__)
|
500 |
+
# define PLATFORM_ID "OSF1"
|
501 |
+
|
502 |
+
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
503 |
+
# define PLATFORM_ID "SCO_SV"
|
504 |
+
|
505 |
+
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
506 |
+
# define PLATFORM_ID "ULTRIX"
|
507 |
+
|
508 |
+
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
509 |
+
# define PLATFORM_ID "Xenix"
|
510 |
+
|
511 |
+
#elif defined(__WATCOMC__)
|
512 |
+
# if defined(__LINUX__)
|
513 |
+
# define PLATFORM_ID "Linux"
|
514 |
+
|
515 |
+
# elif defined(__DOS__)
|
516 |
+
# define PLATFORM_ID "DOS"
|
517 |
+
|
518 |
+
# elif defined(__OS2__)
|
519 |
+
# define PLATFORM_ID "OS2"
|
520 |
+
|
521 |
+
# elif defined(__WINDOWS__)
|
522 |
+
# define PLATFORM_ID "Windows3x"
|
523 |
+
|
524 |
+
# elif defined(__VXWORKS__)
|
525 |
+
# define PLATFORM_ID "VxWorks"
|
526 |
+
|
527 |
+
# else /* unknown platform */
|
528 |
+
# define PLATFORM_ID
|
529 |
+
# endif
|
530 |
+
|
531 |
+
#elif defined(__INTEGRITY)
|
532 |
+
# if defined(INT_178B)
|
533 |
+
# define PLATFORM_ID "Integrity178"
|
534 |
+
|
535 |
+
# else /* regular Integrity */
|
536 |
+
# define PLATFORM_ID "Integrity"
|
537 |
+
# endif
|
538 |
+
|
539 |
+
# elif defined(_ADI_COMPILER)
|
540 |
+
# define PLATFORM_ID "ADSP"
|
541 |
+
|
542 |
+
#else /* unknown platform */
|
543 |
+
# define PLATFORM_ID
|
544 |
+
|
545 |
+
#endif
|
546 |
+
|
547 |
+
/* For windows compilers MSVC and Intel we can determine
|
548 |
+
the architecture of the compiler being used. This is because
|
549 |
+
the compilers do not have flags that can change the architecture,
|
550 |
+
but rather depend on which compiler is being used
|
551 |
+
*/
|
552 |
+
#if defined(_WIN32) && defined(_MSC_VER)
|
553 |
+
# if defined(_M_IA64)
|
554 |
+
# define ARCHITECTURE_ID "IA64"
|
555 |
+
|
556 |
+
# elif defined(_M_ARM64EC)
|
557 |
+
# define ARCHITECTURE_ID "ARM64EC"
|
558 |
+
|
559 |
+
# elif defined(_M_X64) || defined(_M_AMD64)
|
560 |
+
# define ARCHITECTURE_ID "x64"
|
561 |
+
|
562 |
+
# elif defined(_M_IX86)
|
563 |
+
# define ARCHITECTURE_ID "X86"
|
564 |
+
|
565 |
+
# elif defined(_M_ARM64)
|
566 |
+
# define ARCHITECTURE_ID "ARM64"
|
567 |
+
|
568 |
+
# elif defined(_M_ARM)
|
569 |
+
# if _M_ARM == 4
|
570 |
+
# define ARCHITECTURE_ID "ARMV4I"
|
571 |
+
# elif _M_ARM == 5
|
572 |
+
# define ARCHITECTURE_ID "ARMV5I"
|
573 |
+
# else
|
574 |
+
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
575 |
+
# endif
|
576 |
+
|
577 |
+
# elif defined(_M_MIPS)
|
578 |
+
# define ARCHITECTURE_ID "MIPS"
|
579 |
+
|
580 |
+
# elif defined(_M_SH)
|
581 |
+
# define ARCHITECTURE_ID "SHx"
|
582 |
+
|
583 |
+
# else /* unknown architecture */
|
584 |
+
# define ARCHITECTURE_ID ""
|
585 |
+
# endif
|
586 |
+
|
587 |
+
#elif defined(__WATCOMC__)
|
588 |
+
# if defined(_M_I86)
|
589 |
+
# define ARCHITECTURE_ID "I86"
|
590 |
+
|
591 |
+
# elif defined(_M_IX86)
|
592 |
+
# define ARCHITECTURE_ID "X86"
|
593 |
+
|
594 |
+
# else /* unknown architecture */
|
595 |
+
# define ARCHITECTURE_ID ""
|
596 |
+
# endif
|
597 |
+
|
598 |
+
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
599 |
+
# if defined(__ICCARM__)
|
600 |
+
# define ARCHITECTURE_ID "ARM"
|
601 |
+
|
602 |
+
# elif defined(__ICCRX__)
|
603 |
+
# define ARCHITECTURE_ID "RX"
|
604 |
+
|
605 |
+
# elif defined(__ICCRH850__)
|
606 |
+
# define ARCHITECTURE_ID "RH850"
|
607 |
+
|
608 |
+
# elif defined(__ICCRL78__)
|
609 |
+
# define ARCHITECTURE_ID "RL78"
|
610 |
+
|
611 |
+
# elif defined(__ICCRISCV__)
|
612 |
+
# define ARCHITECTURE_ID "RISCV"
|
613 |
+
|
614 |
+
# elif defined(__ICCAVR__)
|
615 |
+
# define ARCHITECTURE_ID "AVR"
|
616 |
+
|
617 |
+
# elif defined(__ICC430__)
|
618 |
+
# define ARCHITECTURE_ID "MSP430"
|
619 |
+
|
620 |
+
# elif defined(__ICCV850__)
|
621 |
+
# define ARCHITECTURE_ID "V850"
|
622 |
+
|
623 |
+
# elif defined(__ICC8051__)
|
624 |
+
# define ARCHITECTURE_ID "8051"
|
625 |
+
|
626 |
+
# elif defined(__ICCSTM8__)
|
627 |
+
# define ARCHITECTURE_ID "STM8"
|
628 |
+
|
629 |
+
# else /* unknown architecture */
|
630 |
+
# define ARCHITECTURE_ID ""
|
631 |
+
# endif
|
632 |
+
|
633 |
+
#elif defined(__ghs__)
|
634 |
+
# if defined(__PPC64__)
|
635 |
+
# define ARCHITECTURE_ID "PPC64"
|
636 |
+
|
637 |
+
# elif defined(__ppc__)
|
638 |
+
# define ARCHITECTURE_ID "PPC"
|
639 |
+
|
640 |
+
# elif defined(__ARM__)
|
641 |
+
# define ARCHITECTURE_ID "ARM"
|
642 |
+
|
643 |
+
# elif defined(__x86_64__)
|
644 |
+
# define ARCHITECTURE_ID "x64"
|
645 |
+
|
646 |
+
# elif defined(__i386__)
|
647 |
+
# define ARCHITECTURE_ID "X86"
|
648 |
+
|
649 |
+
# else /* unknown architecture */
|
650 |
+
# define ARCHITECTURE_ID ""
|
651 |
+
# endif
|
652 |
+
|
653 |
+
#elif defined(__TI_COMPILER_VERSION__)
|
654 |
+
# if defined(__TI_ARM__)
|
655 |
+
# define ARCHITECTURE_ID "ARM"
|
656 |
+
|
657 |
+
# elif defined(__MSP430__)
|
658 |
+
# define ARCHITECTURE_ID "MSP430"
|
659 |
+
|
660 |
+
# elif defined(__TMS320C28XX__)
|
661 |
+
# define ARCHITECTURE_ID "TMS320C28x"
|
662 |
+
|
663 |
+
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
|
664 |
+
# define ARCHITECTURE_ID "TMS320C6x"
|
665 |
+
|
666 |
+
# else /* unknown architecture */
|
667 |
+
# define ARCHITECTURE_ID ""
|
668 |
+
# endif
|
669 |
+
|
670 |
+
# elif defined(__ADSPSHARC__)
|
671 |
+
# define ARCHITECTURE_ID "SHARC"
|
672 |
+
|
673 |
+
# elif defined(__ADSPBLACKFIN__)
|
674 |
+
# define ARCHITECTURE_ID "Blackfin"
|
675 |
+
|
676 |
+
#elif defined(__TASKING__)
|
677 |
+
|
678 |
+
# if defined(__CTC__) || defined(__CPTC__)
|
679 |
+
# define ARCHITECTURE_ID "TriCore"
|
680 |
+
|
681 |
+
# elif defined(__CMCS__)
|
682 |
+
# define ARCHITECTURE_ID "MCS"
|
683 |
+
|
684 |
+
# elif defined(__CARM__)
|
685 |
+
# define ARCHITECTURE_ID "ARM"
|
686 |
+
|
687 |
+
# elif defined(__CARC__)
|
688 |
+
# define ARCHITECTURE_ID "ARC"
|
689 |
+
|
690 |
+
# elif defined(__C51__)
|
691 |
+
# define ARCHITECTURE_ID "8051"
|
692 |
+
|
693 |
+
# elif defined(__CPCP__)
|
694 |
+
# define ARCHITECTURE_ID "PCP"
|
695 |
+
|
696 |
+
# else
|
697 |
+
# define ARCHITECTURE_ID ""
|
698 |
+
# endif
|
699 |
+
|
700 |
+
#else
|
701 |
+
# define ARCHITECTURE_ID
|
702 |
+
#endif
|
703 |
+
|
704 |
+
/* Convert integer to decimal digit literals. */
|
705 |
+
#define DEC(n) \
|
706 |
+
('0' + (((n) / 10000000)%10)), \
|
707 |
+
('0' + (((n) / 1000000)%10)), \
|
708 |
+
('0' + (((n) / 100000)%10)), \
|
709 |
+
('0' + (((n) / 10000)%10)), \
|
710 |
+
('0' + (((n) / 1000)%10)), \
|
711 |
+
('0' + (((n) / 100)%10)), \
|
712 |
+
('0' + (((n) / 10)%10)), \
|
713 |
+
('0' + ((n) % 10))
|
714 |
+
|
715 |
+
/* Convert integer to hex digit literals. */
|
716 |
+
#define HEX(n) \
|
717 |
+
('0' + ((n)>>28 & 0xF)), \
|
718 |
+
('0' + ((n)>>24 & 0xF)), \
|
719 |
+
('0' + ((n)>>20 & 0xF)), \
|
720 |
+
('0' + ((n)>>16 & 0xF)), \
|
721 |
+
('0' + ((n)>>12 & 0xF)), \
|
722 |
+
('0' + ((n)>>8 & 0xF)), \
|
723 |
+
('0' + ((n)>>4 & 0xF)), \
|
724 |
+
('0' + ((n) & 0xF))
|
725 |
+
|
726 |
+
/* Construct a string literal encoding the version number. */
|
727 |
+
#ifdef COMPILER_VERSION
|
728 |
+
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
|
729 |
+
|
730 |
+
/* Construct a string literal encoding the version number components. */
|
731 |
+
#elif defined(COMPILER_VERSION_MAJOR)
|
732 |
+
char const info_version[] = {
|
733 |
+
'I', 'N', 'F', 'O', ':',
|
734 |
+
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
735 |
+
COMPILER_VERSION_MAJOR,
|
736 |
+
# ifdef COMPILER_VERSION_MINOR
|
737 |
+
'.', COMPILER_VERSION_MINOR,
|
738 |
+
# ifdef COMPILER_VERSION_PATCH
|
739 |
+
'.', COMPILER_VERSION_PATCH,
|
740 |
+
# ifdef COMPILER_VERSION_TWEAK
|
741 |
+
'.', COMPILER_VERSION_TWEAK,
|
742 |
+
# endif
|
743 |
+
# endif
|
744 |
+
# endif
|
745 |
+
']','\0'};
|
746 |
+
#endif
|
747 |
+
|
748 |
+
/* Construct a string literal encoding the internal version number. */
|
749 |
+
#ifdef COMPILER_VERSION_INTERNAL
|
750 |
+
char const info_version_internal[] = {
|
751 |
+
'I', 'N', 'F', 'O', ':',
|
752 |
+
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
753 |
+
'i','n','t','e','r','n','a','l','[',
|
754 |
+
COMPILER_VERSION_INTERNAL,']','\0'};
|
755 |
+
#elif defined(COMPILER_VERSION_INTERNAL_STR)
|
756 |
+
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
|
757 |
+
#endif
|
758 |
+
|
759 |
+
/* Construct a string literal encoding the version number components. */
|
760 |
+
#ifdef SIMULATE_VERSION_MAJOR
|
761 |
+
char const info_simulate_version[] = {
|
762 |
+
'I', 'N', 'F', 'O', ':',
|
763 |
+
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
764 |
+
SIMULATE_VERSION_MAJOR,
|
765 |
+
# ifdef SIMULATE_VERSION_MINOR
|
766 |
+
'.', SIMULATE_VERSION_MINOR,
|
767 |
+
# ifdef SIMULATE_VERSION_PATCH
|
768 |
+
'.', SIMULATE_VERSION_PATCH,
|
769 |
+
# ifdef SIMULATE_VERSION_TWEAK
|
770 |
+
'.', SIMULATE_VERSION_TWEAK,
|
771 |
+
# endif
|
772 |
+
# endif
|
773 |
+
# endif
|
774 |
+
']','\0'};
|
775 |
+
#endif
|
776 |
+
|
777 |
+
/* Construct the string literal in pieces to prevent the source from
|
778 |
+
getting matched. Store it in a pointer rather than an array
|
779 |
+
because some compilers will just produce instructions to fill the
|
780 |
+
array rather than assigning a pointer to a static array. */
|
781 |
+
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
782 |
+
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
783 |
+
|
784 |
+
|
785 |
+
|
786 |
+
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
|
787 |
+
# if defined(__INTEL_CXX11_MODE__)
|
788 |
+
# if defined(__cpp_aggregate_nsdmi)
|
789 |
+
# define CXX_STD 201402L
|
790 |
+
# else
|
791 |
+
# define CXX_STD 201103L
|
792 |
+
# endif
|
793 |
+
# else
|
794 |
+
# define CXX_STD 199711L
|
795 |
+
# endif
|
796 |
+
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
|
797 |
+
# define CXX_STD _MSVC_LANG
|
798 |
+
#else
|
799 |
+
# define CXX_STD __cplusplus
|
800 |
+
#endif
|
801 |
+
|
802 |
+
const char* info_language_standard_default = "INFO" ":" "standard_default["
|
803 |
+
#if CXX_STD > 202002L
|
804 |
+
"23"
|
805 |
+
#elif CXX_STD > 201703L
|
806 |
+
"20"
|
807 |
+
#elif CXX_STD >= 201703L
|
808 |
+
"17"
|
809 |
+
#elif CXX_STD >= 201402L
|
810 |
+
"14"
|
811 |
+
#elif CXX_STD >= 201103L
|
812 |
+
"11"
|
813 |
+
#else
|
814 |
+
"98"
|
815 |
+
#endif
|
816 |
+
"]";
|
817 |
+
|
818 |
+
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
|
819 |
+
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
|
820 |
+
defined(__TI_COMPILER_VERSION__)) && \
|
821 |
+
!defined(__STRICT_ANSI__)
|
822 |
+
"ON"
|
823 |
+
#else
|
824 |
+
"OFF"
|
825 |
+
#endif
|
826 |
+
"]";
|
827 |
+
|
828 |
+
/*--------------------------------------------------------------------------*/
|
829 |
+
|
830 |
+
int main(int argc, char* argv[])
|
831 |
+
{
|
832 |
+
int require = 0;
|
833 |
+
require += info_compiler[argc];
|
834 |
+
require += info_platform[argc];
|
835 |
+
require += info_arch[argc];
|
836 |
+
#ifdef COMPILER_VERSION_MAJOR
|
837 |
+
require += info_version[argc];
|
838 |
+
#endif
|
839 |
+
#ifdef COMPILER_VERSION_INTERNAL
|
840 |
+
require += info_version_internal[argc];
|
841 |
+
#endif
|
842 |
+
#ifdef SIMULATE_ID
|
843 |
+
require += info_simulate[argc];
|
844 |
+
#endif
|
845 |
+
#ifdef SIMULATE_VERSION_MAJOR
|
846 |
+
require += info_simulate_version[argc];
|
847 |
+
#endif
|
848 |
+
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
|
849 |
+
require += info_cray[argc];
|
850 |
+
#endif
|
851 |
+
require += info_language_standard_default[argc];
|
852 |
+
require += info_language_extensions_default[argc];
|
853 |
+
(void)argv;
|
854 |
+
return require;
|
855 |
+
}
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdCXX/CMakeCXXCompilerId.exe
ADDED
Binary file (96.3 kB). View file
|
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdCXX/CMakeCXXCompilerId.obj
ADDED
Binary file (2.07 kB). View file
|
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeConfigureLog.yaml
ADDED
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
events:
|
4 |
+
-
|
5 |
+
kind: "message-v1"
|
6 |
+
backtrace:
|
7 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineSystem.cmake:204 (message)"
|
8 |
+
- "CMakeLists.txt:2 (project)"
|
9 |
+
message: |
|
10 |
+
The system is: Windows - 10.0.22621 - AMD64
|
11 |
+
-
|
12 |
+
kind: "message-v1"
|
13 |
+
backtrace:
|
14 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
15 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
16 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
|
17 |
+
- "CMakeLists.txt:2 (project)"
|
18 |
+
message: |
|
19 |
+
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
20 |
+
Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x64/cl.exe
|
21 |
+
Build flags:
|
22 |
+
Id flags:
|
23 |
+
|
24 |
+
The output was:
|
25 |
+
0
|
26 |
+
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30151 for x64
|
27 |
+
Copyright (C) Microsoft Corporation. All rights reserved.
|
28 |
+
|
29 |
+
CMakeCCompilerId.c
|
30 |
+
Microsoft (R) Incremental Linker Version 14.29.30151.0
|
31 |
+
Copyright (C) Microsoft Corporation. All rights reserved.
|
32 |
+
|
33 |
+
/out:CMakeCCompilerId.exe
|
34 |
+
CMakeCCompilerId.obj
|
35 |
+
|
36 |
+
|
37 |
+
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe"
|
38 |
+
|
39 |
+
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"
|
40 |
+
|
41 |
+
The C compiler identification is MSVC, found in:
|
42 |
+
D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.exe
|
43 |
+
|
44 |
+
-
|
45 |
+
kind: "message-v1"
|
46 |
+
backtrace:
|
47 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:1153 (message)"
|
48 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)"
|
49 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
|
50 |
+
- "CMakeLists.txt:2 (project)"
|
51 |
+
message: |
|
52 |
+
Detecting C compiler /showIncludes prefix:
|
53 |
+
main.c
|
54 |
+
Note: including file: D:\\Projects\\Replit 3b\\replit-3B-inference\\ctransformers\\_skbuild\\win-amd64-3.11\\cmake-build\\CMakeFiles\\ShowIncludes\\foo.h
|
55 |
+
|
56 |
+
Found prefix "Note: including file: "
|
57 |
+
-
|
58 |
+
kind: "message-v1"
|
59 |
+
backtrace:
|
60 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
|
61 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
|
62 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
|
63 |
+
- "CMakeLists.txt:2 (project)"
|
64 |
+
message: |
|
65 |
+
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
|
66 |
+
Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx86/x64/cl.exe
|
67 |
+
Build flags:
|
68 |
+
Id flags:
|
69 |
+
|
70 |
+
The output was:
|
71 |
+
0
|
72 |
+
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30151 for x64
|
73 |
+
Copyright (C) Microsoft Corporation. All rights reserved.
|
74 |
+
|
75 |
+
CMakeCXXCompilerId.cpp
|
76 |
+
Microsoft (R) Incremental Linker Version 14.29.30151.0
|
77 |
+
Copyright (C) Microsoft Corporation. All rights reserved.
|
78 |
+
|
79 |
+
/out:CMakeCXXCompilerId.exe
|
80 |
+
CMakeCXXCompilerId.obj
|
81 |
+
|
82 |
+
|
83 |
+
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe"
|
84 |
+
|
85 |
+
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj"
|
86 |
+
|
87 |
+
The CXX compiler identification is MSVC, found in:
|
88 |
+
D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/3.26.4/CompilerIdCXX/CMakeCXXCompilerId.exe
|
89 |
+
|
90 |
+
-
|
91 |
+
kind: "message-v1"
|
92 |
+
backtrace:
|
93 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:1153 (message)"
|
94 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:221 (CMAKE_DETERMINE_MSVC_SHOWINCLUDES_PREFIX)"
|
95 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
|
96 |
+
- "CMakeLists.txt:2 (project)"
|
97 |
+
message: |
|
98 |
+
Detecting CXX compiler /showIncludes prefix:
|
99 |
+
main.c
|
100 |
+
Note: including file: D:\\Projects\\Replit 3b\\replit-3B-inference\\ctransformers\\_skbuild\\win-amd64-3.11\\cmake-build\\CMakeFiles\\ShowIncludes\\foo.h
|
101 |
+
|
102 |
+
Found prefix "Note: including file: "
|
103 |
+
-
|
104 |
+
kind: "try_compile-v1"
|
105 |
+
backtrace:
|
106 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
|
107 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
108 |
+
- "CMakeLists.txt:2 (project)"
|
109 |
+
checks:
|
110 |
+
- "Detecting C compiler ABI info"
|
111 |
+
directories:
|
112 |
+
source: "D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-yuzytc"
|
113 |
+
binary: "D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-yuzytc"
|
114 |
+
cmakeVariables:
|
115 |
+
CMAKE_C_FLAGS: "/DWIN32 /D_WINDOWS"
|
116 |
+
CMAKE_C_FLAGS_DEBUG: "/Zi /Ob0 /Od /RTC1"
|
117 |
+
CMAKE_EXE_LINKER_FLAGS: "/machine:x64"
|
118 |
+
CMAKE_MODULE_PATH: "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/skbuild/resources/cmake"
|
119 |
+
buildResult:
|
120 |
+
variable: "CMAKE_C_ABI_COMPILED"
|
121 |
+
cached: true
|
122 |
+
stdout: |
|
123 |
+
Change Dir: D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-yuzytc
|
124 |
+
|
125 |
+
Run Build Command(s):C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/ninja/data/bin/ninja -v cmTC_26882 && [1/2] C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\cl.exe /nologo /DWIN32 /D_WINDOWS /Zi /Ob0 /Od /RTC1 -MDd /showIncludes /FoCMakeFiles\\cmTC_26882.dir\\CMakeCCompilerABI.c.obj /FdCMakeFiles\\cmTC_26882.dir\\ /FS -c C:\\Users\\milin\\AppData\\Local\\Temp\\pip-build-env-nufd4ytl\\overlay\\Lib\\site-packages\\cmake\\data\\share\\cmake-3.26\\Modules\\CMakeCCompilerABI.c
|
126 |
+
[2/2] cmd.exe /C "cd . && C:\\Users\\milin\\AppData\\Local\\Temp\\pip-build-env-nufd4ytl\\overlay\\Lib\\site-packages\\cmake\\data\\bin\\cmake.exe -E vs_link_exe --intdir=CMakeFiles\\cmTC_26882.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100190~1.0\\x86\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100190~1.0\\x86\\mt.exe --manifests -- C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\link.exe /nologo CMakeFiles\\cmTC_26882.dir\\CMakeCCompilerABI.c.obj /out:cmTC_26882.exe /implib:cmTC_26882.lib /pdb:cmTC_26882.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
|
127 |
+
|
128 |
+
exitCode: 0
|
129 |
+
-
|
130 |
+
kind: "try_compile-v1"
|
131 |
+
backtrace:
|
132 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
|
133 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
|
134 |
+
- "CMakeLists.txt:2 (project)"
|
135 |
+
checks:
|
136 |
+
- "Detecting CXX compiler ABI info"
|
137 |
+
directories:
|
138 |
+
source: "D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-rv69tk"
|
139 |
+
binary: "D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-rv69tk"
|
140 |
+
cmakeVariables:
|
141 |
+
CMAKE_CXX_FLAGS: "/DWIN32 /D_WINDOWS /GR /EHsc"
|
142 |
+
CMAKE_CXX_FLAGS_DEBUG: "/Zi /Ob0 /Od /RTC1"
|
143 |
+
CMAKE_EXE_LINKER_FLAGS: "/machine:x64"
|
144 |
+
CMAKE_MODULE_PATH: "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/skbuild/resources/cmake"
|
145 |
+
buildResult:
|
146 |
+
variable: "CMAKE_CXX_ABI_COMPILED"
|
147 |
+
cached: true
|
148 |
+
stdout: |
|
149 |
+
Change Dir: D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-rv69tk
|
150 |
+
|
151 |
+
Run Build Command(s):C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/ninja/data/bin/ninja -v cmTC_eec92 && [1/2] C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\cl.exe /nologo /TP /DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -MDd /showIncludes /FoCMakeFiles\\cmTC_eec92.dir\\CMakeCXXCompilerABI.cpp.obj /FdCMakeFiles\\cmTC_eec92.dir\\ /FS -c C:\\Users\\milin\\AppData\\Local\\Temp\\pip-build-env-nufd4ytl\\overlay\\Lib\\site-packages\\cmake\\data\\share\\cmake-3.26\\Modules\\CMakeCXXCompilerABI.cpp
|
152 |
+
[2/2] cmd.exe /C "cd . && C:\\Users\\milin\\AppData\\Local\\Temp\\pip-build-env-nufd4ytl\\overlay\\Lib\\site-packages\\cmake\\data\\bin\\cmake.exe -E vs_link_exe --intdir=CMakeFiles\\cmTC_eec92.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100190~1.0\\x86\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100190~1.0\\x86\\mt.exe --manifests -- C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\link.exe /nologo CMakeFiles\\cmTC_eec92.dir\\CMakeCXXCompilerABI.cpp.obj /out:cmTC_eec92.exe /implib:cmTC_eec92.lib /pdb:cmTC_eec92.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
|
153 |
+
|
154 |
+
exitCode: 0
|
155 |
+
-
|
156 |
+
kind: "try_compile-v1"
|
157 |
+
backtrace:
|
158 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckSourceCompiles.cmake:101 (try_compile)"
|
159 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCSourceCompiles.cmake:76 (cmake_check_source_compiles)"
|
160 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:97 (CHECK_C_SOURCE_COMPILES)"
|
161 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:163 (_threads_check_libc)"
|
162 |
+
- "CMakeLists.txt:26 (find_package)"
|
163 |
+
checks:
|
164 |
+
- "Performing Test CMAKE_HAVE_LIBC_PTHREAD"
|
165 |
+
directories:
|
166 |
+
source: "D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-hmwnf3"
|
167 |
+
binary: "D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-hmwnf3"
|
168 |
+
cmakeVariables:
|
169 |
+
CMAKE_C_FLAGS: "/DWIN32 /D_WINDOWS"
|
170 |
+
CMAKE_C_FLAGS_DEBUG: "/Zi /Ob0 /Od /RTC1"
|
171 |
+
CMAKE_EXE_LINKER_FLAGS: "/machine:x64"
|
172 |
+
CMAKE_MODULE_PATH: "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/skbuild/resources/cmake"
|
173 |
+
buildResult:
|
174 |
+
variable: "CMAKE_HAVE_LIBC_PTHREAD"
|
175 |
+
cached: true
|
176 |
+
stdout: |
|
177 |
+
Change Dir: D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-hmwnf3
|
178 |
+
|
179 |
+
Run Build Command(s):C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/ninja/data/bin/ninja -v cmTC_90879 && [1/2] C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\cl.exe /nologo -DCMAKE_HAVE_LIBC_PTHREAD /DWIN32 /D_WINDOWS /Zi /Ob0 /Od /RTC1 -std:c11 -MDd /showIncludes /FoCMakeFiles\\cmTC_90879.dir\\src.c.obj /FdCMakeFiles\\cmTC_90879.dir\\ /FS -c "D:\\Projects\\Replit 3b\\replit-3B-inference\\ctransformers\\_skbuild\\win-amd64-3.11\\cmake-build\\CMakeFiles\\CMakeScratch\\TryCompile-hmwnf3\\src.c"
|
180 |
+
FAILED: CMakeFiles/cmTC_90879.dir/src.c.obj
|
181 |
+
C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\cl.exe /nologo -DCMAKE_HAVE_LIBC_PTHREAD /DWIN32 /D_WINDOWS /Zi /Ob0 /Od /RTC1 -std:c11 -MDd /showIncludes /FoCMakeFiles\\cmTC_90879.dir\\src.c.obj /FdCMakeFiles\\cmTC_90879.dir\\ /FS -c "D:\\Projects\\Replit 3b\\replit-3B-inference\\ctransformers\\_skbuild\\win-amd64-3.11\\cmake-build\\CMakeFiles\\CMakeScratch\\TryCompile-hmwnf3\\src.c"
|
182 |
+
D:\\Projects\\Replit 3b\\replit-3B-inference\\ctransformers\\_skbuild\\win-amd64-3.11\\cmake-build\\CMakeFiles\\CMakeScratch\\TryCompile-hmwnf3\\src.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
|
183 |
+
ninja: build stopped: subcommand failed.
|
184 |
+
|
185 |
+
exitCode: 1
|
186 |
+
-
|
187 |
+
kind: "try_compile-v1"
|
188 |
+
backtrace:
|
189 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CheckLibraryExists.cmake:71 (try_compile)"
|
190 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:112 (CHECK_LIBRARY_EXISTS)"
|
191 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:175 (_threads_check_lib)"
|
192 |
+
- "CMakeLists.txt:26 (find_package)"
|
193 |
+
checks:
|
194 |
+
- "Looking for pthread_create in pthreads"
|
195 |
+
directories:
|
196 |
+
source: "D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-mp76nj"
|
197 |
+
binary: "D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-mp76nj"
|
198 |
+
cmakeVariables:
|
199 |
+
CMAKE_C_FLAGS: "/DWIN32 /D_WINDOWS"
|
200 |
+
CMAKE_C_FLAGS_DEBUG: "/Zi /Ob0 /Od /RTC1"
|
201 |
+
CMAKE_EXE_LINKER_FLAGS: "/machine:x64"
|
202 |
+
CMAKE_MODULE_PATH: "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/skbuild/resources/cmake"
|
203 |
+
buildResult:
|
204 |
+
variable: "CMAKE_HAVE_PTHREADS_CREATE"
|
205 |
+
cached: true
|
206 |
+
stdout: |
|
207 |
+
Change Dir: D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-mp76nj
|
208 |
+
|
209 |
+
Run Build Command(s):C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/ninja/data/bin/ninja -v cmTC_aac20 && [1/2] C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\cl.exe /nologo /DWIN32 /D_WINDOWS -DCHECK_FUNCTION_EXISTS=pthread_create /Zi /Ob0 /Od /RTC1 -std:c11 -MDd /showIncludes /FoCMakeFiles\\cmTC_aac20.dir\\CheckFunctionExists.c.obj /FdCMakeFiles\\cmTC_aac20.dir\\ /FS -c "D:\\Projects\\Replit 3b\\replit-3B-inference\\ctransformers\\_skbuild\\win-amd64-3.11\\cmake-build\\CMakeFiles\\CMakeScratch\\TryCompile-mp76nj\\CheckFunctionExists.c"
|
210 |
+
[2/2] cmd.exe /C "cd . && C:\\Users\\milin\\AppData\\Local\\Temp\\pip-build-env-nufd4ytl\\overlay\\Lib\\site-packages\\cmake\\data\\bin\\cmake.exe -E vs_link_exe --intdir=CMakeFiles\\cmTC_aac20.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100190~1.0\\x86\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100190~1.0\\x86\\mt.exe --manifests -- C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\link.exe /nologo CMakeFiles\\cmTC_aac20.dir\\CheckFunctionExists.c.obj /out:cmTC_aac20.exe /implib:cmTC_aac20.lib /pdb:cmTC_aac20.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console pthreads.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
|
211 |
+
FAILED: cmTC_aac20.exe
|
212 |
+
cmd.exe /C "cd . && C:\\Users\\milin\\AppData\\Local\\Temp\\pip-build-env-nufd4ytl\\overlay\\Lib\\site-packages\\cmake\\data\\bin\\cmake.exe -E vs_link_exe --intdir=CMakeFiles\\cmTC_aac20.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100190~1.0\\x86\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100190~1.0\\x86\\mt.exe --manifests -- C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\link.exe /nologo CMakeFiles\\cmTC_aac20.dir\\CheckFunctionExists.c.obj /out:cmTC_aac20.exe /implib:cmTC_aac20.lib /pdb:cmTC_aac20.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console pthreads.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
|
213 |
+
LINK Pass 1: command "C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\link.exe /nologo CMakeFiles\\cmTC_aac20.dir\\CheckFunctionExists.c.obj /out:cmTC_aac20.exe /implib:cmTC_aac20.lib /pdb:cmTC_aac20.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console pthreads.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\\cmTC_aac20.dir/intermediate.manifest CMakeFiles\\cmTC_aac20.dir/manifest.res" failed (exit code 1104) with the following output:
|
214 |
+
LINK : fatal error LNK1104: cannot open file 'pthreads.lib'\x0d
|
215 |
+
ninja: build stopped: subcommand failed.
|
216 |
+
|
217 |
+
exitCode: 1
|
218 |
+
-
|
219 |
+
kind: "try_compile-v1"
|
220 |
+
backtrace:
|
221 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CheckLibraryExists.cmake:71 (try_compile)"
|
222 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:112 (CHECK_LIBRARY_EXISTS)"
|
223 |
+
- "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:176 (_threads_check_lib)"
|
224 |
+
- "CMakeLists.txt:26 (find_package)"
|
225 |
+
checks:
|
226 |
+
- "Looking for pthread_create in pthread"
|
227 |
+
directories:
|
228 |
+
source: "D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-rn2tbx"
|
229 |
+
binary: "D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-rn2tbx"
|
230 |
+
cmakeVariables:
|
231 |
+
CMAKE_C_FLAGS: "/DWIN32 /D_WINDOWS"
|
232 |
+
CMAKE_C_FLAGS_DEBUG: "/Zi /Ob0 /Od /RTC1"
|
233 |
+
CMAKE_EXE_LINKER_FLAGS: "/machine:x64"
|
234 |
+
CMAKE_MODULE_PATH: "C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/skbuild/resources/cmake"
|
235 |
+
buildResult:
|
236 |
+
variable: "CMAKE_HAVE_PTHREAD_CREATE"
|
237 |
+
cached: true
|
238 |
+
stdout: |
|
239 |
+
Change Dir: D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/CMakeScratch/TryCompile-rn2tbx
|
240 |
+
|
241 |
+
Run Build Command(s):C:/Users/milin/AppData/Local/Temp/pip-build-env-nufd4ytl/overlay/Lib/site-packages/ninja/data/bin/ninja -v cmTC_32c50 && [1/2] C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\cl.exe /nologo /DWIN32 /D_WINDOWS -DCHECK_FUNCTION_EXISTS=pthread_create /Zi /Ob0 /Od /RTC1 -std:c11 -MDd /showIncludes /FoCMakeFiles\\cmTC_32c50.dir\\CheckFunctionExists.c.obj /FdCMakeFiles\\cmTC_32c50.dir\\ /FS -c "D:\\Projects\\Replit 3b\\replit-3B-inference\\ctransformers\\_skbuild\\win-amd64-3.11\\cmake-build\\CMakeFiles\\CMakeScratch\\TryCompile-rn2tbx\\CheckFunctionExists.c"
|
242 |
+
[2/2] cmd.exe /C "cd . && C:\\Users\\milin\\AppData\\Local\\Temp\\pip-build-env-nufd4ytl\\overlay\\Lib\\site-packages\\cmake\\data\\bin\\cmake.exe -E vs_link_exe --intdir=CMakeFiles\\cmTC_32c50.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100190~1.0\\x86\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100190~1.0\\x86\\mt.exe --manifests -- C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\link.exe /nologo CMakeFiles\\cmTC_32c50.dir\\CheckFunctionExists.c.obj /out:cmTC_32c50.exe /implib:cmTC_32c50.lib /pdb:cmTC_32c50.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console pthread.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
|
243 |
+
FAILED: cmTC_32c50.exe
|
244 |
+
cmd.exe /C "cd . && C:\\Users\\milin\\AppData\\Local\\Temp\\pip-build-env-nufd4ytl\\overlay\\Lib\\site-packages\\cmake\\data\\bin\\cmake.exe -E vs_link_exe --intdir=CMakeFiles\\cmTC_32c50.dir --rc=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100190~1.0\\x86\\rc.exe --mt=C:\\PROGRA~2\\WI3CF2~1\\10\\bin\\100190~1.0\\x86\\mt.exe --manifests -- C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\link.exe /nologo CMakeFiles\\cmTC_32c50.dir\\CheckFunctionExists.c.obj /out:cmTC_32c50.exe /implib:cmTC_32c50.lib /pdb:cmTC_32c50.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console pthread.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
|
245 |
+
LINK Pass 1: command "C:\\PROGRA~2\\MICROS~3\\2019\\BUILDT~1\\VC\\Tools\\MSVC\\1429~1.301\\bin\\Hostx86\\x64\\link.exe /nologo CMakeFiles\\cmTC_32c50.dir\\CheckFunctionExists.c.obj /out:cmTC_32c50.exe /implib:cmTC_32c50.lib /pdb:cmTC_32c50.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console pthread.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\\cmTC_32c50.dir/intermediate.manifest CMakeFiles\\cmTC_32c50.dir/manifest.res" failed (exit code 1104) with the following output:
|
246 |
+
LINK : fatal error LNK1104: cannot open file 'pthread.lib'\x0d
|
247 |
+
ninja: build stopped: subcommand failed.
|
248 |
+
|
249 |
+
exitCode: 1
|
250 |
+
...
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ShowIncludes/foo.h
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ShowIncludes/main.c
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
#include "foo.h"
|
2 |
+
int main(){}
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ShowIncludes/main.obj
ADDED
Binary file (690 Bytes). View file
|
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/TargetDirectories.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ctransformers.dir
|
2 |
+
D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/edit_cache.dir
|
3 |
+
D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/rebuild_cache.dir
|
4 |
+
D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/list_install_components.dir
|
5 |
+
D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/install.dir
|
6 |
+
D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/install/local.dir
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/cmake.check_cache
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ctransformers.dir/exports.def
ADDED
The diff for this file is too large to render.
See raw diff
|
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ctransformers.dir/exports.def.objs
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
CMakeFiles\ctransformers.dir\models\llm.cc.obj
|
2 |
+
CMakeFiles\ctransformers.dir\models\ggml\ggml.c.obj
|
3 |
+
CMakeFiles\ctransformers.dir\models\ggml\k_quants.c.obj
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ctransformers.dir/models/ggml/ggml.c.obj
ADDED
Binary file (691 kB). View file
|
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ctransformers.dir/models/ggml/k_quants.c.obj
ADDED
Binary file (69.8 kB). View file
|
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/ctransformers.dir/models/llm.cc.obj
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15ed433485918bb8c758685ebea3a642015160a323f6a217ec50c9c35a5da560
|
3 |
+
size 4429921
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeFiles/rules.ninja
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# CMAKE generated file: DO NOT EDIT!
|
2 |
+
# Generated by "Ninja" Generator, CMake Version 3.26
|
3 |
+
|
4 |
+
# This file contains all the rules used to get the outputs files
|
5 |
+
# built from the input files.
|
6 |
+
# It is included in the main 'build.ninja'.
|
7 |
+
|
8 |
+
# =============================================================================
|
9 |
+
# Project: ctransformers
|
10 |
+
# Configurations: Release
|
11 |
+
# =============================================================================
|
12 |
+
# =============================================================================
|
13 |
+
|
14 |
+
#############################################
|
15 |
+
# localized /showIncludes string
|
16 |
+
|
17 |
+
msvc_deps_prefix = Note: including file:
|
18 |
+
|
19 |
+
|
20 |
+
#############################################
|
21 |
+
# Rule for compiling C files.
|
22 |
+
|
23 |
+
rule C_COMPILER__ctransformers_unscanned_Release
|
24 |
+
deps = msvc
|
25 |
+
command = C:\PROGRA~2\MICROS~3\2019\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\Hostx86\x64\cl.exe /nologo $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in
|
26 |
+
description = Building C object $out
|
27 |
+
|
28 |
+
|
29 |
+
#############################################
|
30 |
+
# Rule for compiling CXX files.
|
31 |
+
|
32 |
+
rule CXX_COMPILER__ctransformers_unscanned_Release
|
33 |
+
deps = msvc
|
34 |
+
command = C:\PROGRA~2\MICROS~3\2019\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\Hostx86\x64\cl.exe /nologo /TP $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in
|
35 |
+
description = Building CXX object $out
|
36 |
+
|
37 |
+
|
38 |
+
#############################################
|
39 |
+
# Rule for linking CXX shared library.
|
40 |
+
|
41 |
+
rule CXX_SHARED_LIBRARY_LINKER__ctransformers_Release
|
42 |
+
command = cmd.exe /C "$PRE_LINK && C:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_dll --intdir=$OBJECT_DIR --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x86\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x86\mt.exe --manifests $MANIFESTS -- C:\PROGRA~2\MICROS~3\2019\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\Hostx86\x64\link.exe /nologo $in /out:$TARGET_FILE /implib:$TARGET_IMPLIB /pdb:$TARGET_PDB /dll /version:0.0 $LINK_FLAGS $LINK_PATH $LINK_LIBRARIES && $POST_BUILD"
|
43 |
+
description = Linking CXX shared library $TARGET_FILE
|
44 |
+
restat = $RESTAT
|
45 |
+
|
46 |
+
|
47 |
+
#############################################
|
48 |
+
# Rule for running custom commands.
|
49 |
+
|
50 |
+
rule CUSTOM_COMMAND
|
51 |
+
command = $COMMAND
|
52 |
+
description = $DESC
|
53 |
+
|
54 |
+
|
55 |
+
#############################################
|
56 |
+
# Rule for re-running cmake.
|
57 |
+
|
58 |
+
rule RERUN_CMAKE
|
59 |
+
command = C:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\bin\cmake.exe --regenerate-during-build -S"D:\Projects\Replit 3b\replit-3B-inference\ctransformers" -B"D:\Projects\Replit 3b\replit-3B-inference\ctransformers\_skbuild\win-amd64-3.11\cmake-build"
|
60 |
+
description = Re-running CMake...
|
61 |
+
generator = 1
|
62 |
+
|
63 |
+
|
64 |
+
#############################################
|
65 |
+
# Rule for cleaning all built files.
|
66 |
+
|
67 |
+
rule CLEAN
|
68 |
+
command = C:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\ninja\data\bin\ninja $FILE_ARG -t clean $TARGETS
|
69 |
+
description = Cleaning all built files...
|
70 |
+
|
71 |
+
|
72 |
+
#############################################
|
73 |
+
# Rule for printing all primary targets available.
|
74 |
+
|
75 |
+
rule HELP
|
76 |
+
command = C:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\ninja\data\bin\ninja -t targets
|
77 |
+
description = All primary targets available:
|
78 |
+
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/CMakeSpec.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"args": ["C:\\Users\\milin\\AppData\\Local\\Temp\\pip-build-env-nufd4ytl\\overlay\\Lib\\site-packages\\cmake\\data\\bin/cmake.exe", "-DCMAKE_BUILD_TYPE:STRING=Release"], "version": "3.26.4", "environment": {"PYTHONNOUSERSITE": "1", "PYTHONPATH": "C:\\Users\\milin\\AppData\\Local\\Temp\\pip-build-env-nufd4ytl\\site"}}
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/build.ninja
ADDED
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# CMAKE generated file: DO NOT EDIT!
|
2 |
+
# Generated by "Ninja" Generator, CMake Version 3.26
|
3 |
+
|
4 |
+
# This file contains all the build statements describing the
|
5 |
+
# compilation DAG.
|
6 |
+
|
7 |
+
# =============================================================================
|
8 |
+
# Write statements declared in CMakeLists.txt:
|
9 |
+
#
|
10 |
+
# Which is the root file.
|
11 |
+
# =============================================================================
|
12 |
+
|
13 |
+
# =============================================================================
|
14 |
+
# Project: ctransformers
|
15 |
+
# Configurations: Release
|
16 |
+
# =============================================================================
|
17 |
+
|
18 |
+
#############################################
|
19 |
+
# Minimal version of Ninja required by this file
|
20 |
+
|
21 |
+
ninja_required_version = 1.5
|
22 |
+
|
23 |
+
|
24 |
+
#############################################
|
25 |
+
# Set configuration variable for custom commands.
|
26 |
+
|
27 |
+
CONFIGURATION = Release
|
28 |
+
# =============================================================================
|
29 |
+
# Include auxiliary files.
|
30 |
+
|
31 |
+
|
32 |
+
#############################################
|
33 |
+
# Include rules file.
|
34 |
+
|
35 |
+
include CMakeFiles\rules.ninja
|
36 |
+
|
37 |
+
# =============================================================================
|
38 |
+
|
39 |
+
#############################################
|
40 |
+
# Logical path to working directory; prefix for absolute paths.
|
41 |
+
|
42 |
+
cmake_ninja_workdir = D$:\Projects\Replit$ 3b\replit-3B-inference\ctransformers\_skbuild\win-amd64-3.11\cmake-build\
|
43 |
+
# =============================================================================
|
44 |
+
# Object build statements for SHARED_LIBRARY target ctransformers
|
45 |
+
|
46 |
+
|
47 |
+
#############################################
|
48 |
+
# Order-only phony target for ctransformers
|
49 |
+
|
50 |
+
build cmake_object_order_depends_target_ctransformers: phony || CMakeFiles\ctransformers.dir
|
51 |
+
|
52 |
+
build CMakeFiles\ctransformers.dir\models\llm.cc.obj: CXX_COMPILER__ctransformers_unscanned_Release D$:\Projects\Replit$ 3b\replit-3B-inference\ctransformers\models\llm.cc || cmake_object_order_depends_target_ctransformers
|
53 |
+
DEFINES = -DGGML_USE_K_QUANTS -Dctransformers_EXPORTS
|
54 |
+
FLAGS = /DWIN32 /D_WINDOWS /GR /EHsc /O2 /Ob2 /DNDEBUG -MD /arch:AVX2
|
55 |
+
INCLUDES = -I"D:\Projects\Replit 3b\replit-3B-inference\ctransformers\models"
|
56 |
+
OBJECT_DIR = CMakeFiles\ctransformers.dir
|
57 |
+
OBJECT_FILE_DIR = CMakeFiles\ctransformers.dir\models
|
58 |
+
TARGET_COMPILE_PDB = CMakeFiles\ctransformers.dir\
|
59 |
+
TARGET_PDB = lib\ctransformers.pdb
|
60 |
+
|
61 |
+
build CMakeFiles\ctransformers.dir\models\ggml\ggml.c.obj: C_COMPILER__ctransformers_unscanned_Release D$:\Projects\Replit$ 3b\replit-3B-inference\ctransformers\models\ggml\ggml.c || cmake_object_order_depends_target_ctransformers
|
62 |
+
DEFINES = -DGGML_USE_K_QUANTS -Dctransformers_EXPORTS
|
63 |
+
FLAGS = /DWIN32 /D_WINDOWS /O2 /Ob2 /DNDEBUG -std:c11 -MD /arch:AVX2
|
64 |
+
INCLUDES = -I"D:\Projects\Replit 3b\replit-3B-inference\ctransformers\models"
|
65 |
+
OBJECT_DIR = CMakeFiles\ctransformers.dir
|
66 |
+
OBJECT_FILE_DIR = CMakeFiles\ctransformers.dir\models\ggml
|
67 |
+
TARGET_COMPILE_PDB = CMakeFiles\ctransformers.dir\
|
68 |
+
TARGET_PDB = lib\ctransformers.pdb
|
69 |
+
|
70 |
+
build CMakeFiles\ctransformers.dir\models\ggml\k_quants.c.obj: C_COMPILER__ctransformers_unscanned_Release D$:\Projects\Replit$ 3b\replit-3B-inference\ctransformers\models\ggml\k_quants.c || cmake_object_order_depends_target_ctransformers
|
71 |
+
DEFINES = -DGGML_USE_K_QUANTS -Dctransformers_EXPORTS
|
72 |
+
FLAGS = /DWIN32 /D_WINDOWS /O2 /Ob2 /DNDEBUG -std:c11 -MD /arch:AVX2
|
73 |
+
INCLUDES = -I"D:\Projects\Replit 3b\replit-3B-inference\ctransformers\models"
|
74 |
+
OBJECT_DIR = CMakeFiles\ctransformers.dir
|
75 |
+
OBJECT_FILE_DIR = CMakeFiles\ctransformers.dir\models\ggml
|
76 |
+
TARGET_COMPILE_PDB = CMakeFiles\ctransformers.dir\
|
77 |
+
TARGET_PDB = lib\ctransformers.pdb
|
78 |
+
|
79 |
+
|
80 |
+
# =============================================================================
|
81 |
+
# Link build statements for SHARED_LIBRARY target ctransformers
|
82 |
+
|
83 |
+
|
84 |
+
#############################################
|
85 |
+
# Link the shared library lib\ctransformers.dll
|
86 |
+
|
87 |
+
build lib\ctransformers.dll ctransformers.lib: CXX_SHARED_LIBRARY_LINKER__ctransformers_Release CMakeFiles\ctransformers.dir\models\llm.cc.obj CMakeFiles\ctransformers.dir\models\ggml\ggml.c.obj CMakeFiles\ctransformers.dir\models\ggml\k_quants.c.obj
|
88 |
+
LANGUAGE_COMPILE_FLAGS = /DWIN32 /D_WINDOWS /GR /EHsc /O2 /Ob2 /DNDEBUG -MD
|
89 |
+
LINK_FLAGS = /machine:x64 /INCREMENTAL:NO /DEF:CMakeFiles\ctransformers.dir\.\exports.def
|
90 |
+
LINK_LIBRARIES = kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
|
91 |
+
OBJECT_DIR = CMakeFiles\ctransformers.dir
|
92 |
+
POST_BUILD = cd .
|
93 |
+
PRE_LINK = cmd.exe /C "C:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E __create_def "D:\Projects\Replit 3b\replit-3B-inference\ctransformers\_skbuild\win-amd64-3.11\cmake-build\CMakeFiles\ctransformers.dir\.\exports.def" "D:\Projects\Replit 3b\replit-3B-inference\ctransformers\_skbuild\win-amd64-3.11\cmake-build\CMakeFiles\ctransformers.dir\.\exports.def.objs" && cd "D:\Projects\Replit 3b\replit-3B-inference\ctransformers\_skbuild\win-amd64-3.11\cmake-build""
|
94 |
+
RESTAT = 1
|
95 |
+
TARGET_COMPILE_PDB = CMakeFiles\ctransformers.dir\
|
96 |
+
TARGET_FILE = lib\ctransformers.dll
|
97 |
+
TARGET_IMPLIB = ctransformers.lib
|
98 |
+
TARGET_PDB = lib\ctransformers.pdb
|
99 |
+
|
100 |
+
|
101 |
+
#############################################
|
102 |
+
# Utility command for edit_cache
|
103 |
+
|
104 |
+
build CMakeFiles\edit_cache.util: CUSTOM_COMMAND
|
105 |
+
COMMAND = cmd.exe /C "cd /D "D:\Projects\Replit 3b\replit-3B-inference\ctransformers\_skbuild\win-amd64-3.11\cmake-build" && C:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\bin\cmake-gui.exe -S"D:\Projects\Replit 3b\replit-3B-inference\ctransformers" -B"D:\Projects\Replit 3b\replit-3B-inference\ctransformers\_skbuild\win-amd64-3.11\cmake-build""
|
106 |
+
DESC = Running CMake cache editor...
|
107 |
+
pool = console
|
108 |
+
restat = 1
|
109 |
+
|
110 |
+
build edit_cache: phony CMakeFiles\edit_cache.util
|
111 |
+
|
112 |
+
|
113 |
+
#############################################
|
114 |
+
# Utility command for rebuild_cache
|
115 |
+
|
116 |
+
build CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND
|
117 |
+
COMMAND = cmd.exe /C "cd /D "D:\Projects\Replit 3b\replit-3B-inference\ctransformers\_skbuild\win-amd64-3.11\cmake-build" && C:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\bin\cmake.exe --regenerate-during-build -S"D:\Projects\Replit 3b\replit-3B-inference\ctransformers" -B"D:\Projects\Replit 3b\replit-3B-inference\ctransformers\_skbuild\win-amd64-3.11\cmake-build""
|
118 |
+
DESC = Running CMake to regenerate build system...
|
119 |
+
pool = console
|
120 |
+
restat = 1
|
121 |
+
|
122 |
+
build rebuild_cache: phony CMakeFiles\rebuild_cache.util
|
123 |
+
|
124 |
+
|
125 |
+
#############################################
|
126 |
+
# Utility command for list_install_components
|
127 |
+
|
128 |
+
build list_install_components: phony
|
129 |
+
|
130 |
+
|
131 |
+
#############################################
|
132 |
+
# Utility command for install
|
133 |
+
|
134 |
+
build CMakeFiles\install.util: CUSTOM_COMMAND all
|
135 |
+
COMMAND = cmd.exe /C "cd /D "D:\Projects\Replit 3b\replit-3B-inference\ctransformers\_skbuild\win-amd64-3.11\cmake-build" && C:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -P cmake_install.cmake"
|
136 |
+
DESC = Install the project...
|
137 |
+
pool = console
|
138 |
+
restat = 1
|
139 |
+
|
140 |
+
build install: phony CMakeFiles\install.util
|
141 |
+
|
142 |
+
|
143 |
+
#############################################
|
144 |
+
# Utility command for install/local
|
145 |
+
|
146 |
+
build CMakeFiles\install\local.util: CUSTOM_COMMAND all
|
147 |
+
COMMAND = cmd.exe /C "cd /D "D:\Projects\Replit 3b\replit-3B-inference\ctransformers\_skbuild\win-amd64-3.11\cmake-build" && C:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake"
|
148 |
+
DESC = Installing only the local directory...
|
149 |
+
pool = console
|
150 |
+
restat = 1
|
151 |
+
|
152 |
+
build install\local: phony CMakeFiles\install\local.util
|
153 |
+
|
154 |
+
# =============================================================================
|
155 |
+
# Target aliases.
|
156 |
+
|
157 |
+
build ctransformers: phony lib\ctransformers.dll
|
158 |
+
|
159 |
+
build ctransformers.dll: phony lib\ctransformers.dll
|
160 |
+
|
161 |
+
# =============================================================================
|
162 |
+
# Folder targets.
|
163 |
+
|
164 |
+
# =============================================================================
|
165 |
+
|
166 |
+
#############################################
|
167 |
+
# Folder: D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build
|
168 |
+
|
169 |
+
build all: phony lib\ctransformers.dll
|
170 |
+
|
171 |
+
# =============================================================================
|
172 |
+
# Built-in targets
|
173 |
+
|
174 |
+
|
175 |
+
#############################################
|
176 |
+
# Re-run CMake if any of its inputs changed.
|
177 |
+
|
178 |
+
build build.ninja: RERUN_CMAKE | C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCCompiler.cmake.in C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCCompilerABI.c C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCInformation.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCXXCompiler.cmake.in C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCXXCompilerABI.cpp C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCXXInformation.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCompilerIdDetection.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineCCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineCompileFeatures.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineCompilerABI.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineCompilerId.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineSystem.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeFindBinUtils.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeGenericSystem.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeInitializeConfigs.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeLanguageInformation.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeParseLibraryArchitecture.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeRCCompiler.cmake.in C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeRCInformation.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeSystem.cmake.in C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeTestCCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeTestCXXCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeTestCompilerCommon.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeTestRCCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CheckCSourceCompiles.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CheckIncludeFile.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CheckLibraryExists.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\MSVC-C.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\MSVC-CXX.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\MSVC.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\FindPackageHandleStandardArgs.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\FindPackageMessage.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\FindThreads.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Internal\CheckSourceCompiles.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Internal\FeatureTesting.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Platform\Windows-MSVC.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Platform\Windows.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.26.4\CMakeCCompiler.cmake CMakeFiles\3.26.4\CMakeCXXCompiler.cmake CMakeFiles\3.26.4\CMakeRCCompiler.cmake CMakeFiles\3.26.4\CMakeSystem.cmake D$:\Projects\Replit$ 3b\replit-3B-inference\ctransformers\CMakeLists.txt
|
179 |
+
pool = console
|
180 |
+
|
181 |
+
|
182 |
+
#############################################
|
183 |
+
# A missing CMake input file is not an error.
|
184 |
+
|
185 |
+
build C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCCompiler.cmake.in C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCCompilerABI.c C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCInformation.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCXXCompiler.cmake.in C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCXXCompilerABI.cpp C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCXXInformation.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCommonLanguageInclude.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeCompilerIdDetection.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineCCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineCXXCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineCompileFeatures.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineCompilerABI.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineCompilerId.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineRCCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeDetermineSystem.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeFindBinUtils.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeGenericSystem.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeInitializeConfigs.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeLanguageInformation.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeParseImplicitIncludeInfo.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeParseImplicitLinkInfo.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeParseLibraryArchitecture.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeRCCompiler.cmake.in C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeRCInformation.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeSystem.cmake.in C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeSystemSpecificInformation.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeSystemSpecificInitialize.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeTestCCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeTestCXXCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeTestCompilerCommon.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CMakeTestRCCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CheckCSourceCompiles.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CheckIncludeFile.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\CheckLibraryExists.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\ADSP-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\ARMCC-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\ARMClang-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\AppleClang-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Borland-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Bruce-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Clang-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Clang-DetermineCompilerInternal.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Comeau-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Compaq-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Compaq-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Cray-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Embarcadero-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Fujitsu-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\FujitsuClang-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\GHS-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\GNU-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\GNU-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\HP-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\HP-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\IAR-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\IBMCPP-C-DetermineVersionInternal.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\IBMCPP-CXX-DetermineVersionInternal.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\IBMClang-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\IBMClang-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Intel-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\IntelLLVM-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\LCC-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\LCC-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\MSVC-C.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\MSVC-CXX.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\MSVC-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\MSVC.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\NVHPC-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\NVIDIA-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\OpenWatcom-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\PGI-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\PathScale-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\SCO-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\SDCC-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\SunPro-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\SunPro-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\TI-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Tasking-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\TinyCC-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\VisualAge-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\VisualAge-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\Watcom-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\XL-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\XL-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\XLClang-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\XLClang-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\zOS-C-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Compiler\zOS-CXX-DetermineCompiler.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\FindPackageHandleStandardArgs.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\FindPackageMessage.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\FindThreads.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Internal\CheckSourceCompiles.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Internal\FeatureTesting.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Platform\Windows-Determine-CXX.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Platform\Windows-MSVC-C.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Platform\Windows-MSVC.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Platform\Windows.cmake C$:\Users\milin\AppData\Local\Temp\pip-build-env-nufd4ytl\overlay\Lib\site-packages\cmake\data\share\cmake-3.26\Modules\Platform\WindowsPaths.cmake CMakeCache.txt CMakeFiles\3.26.4\CMakeCCompiler.cmake CMakeFiles\3.26.4\CMakeCXXCompiler.cmake CMakeFiles\3.26.4\CMakeRCCompiler.cmake CMakeFiles\3.26.4\CMakeSystem.cmake D$:\Projects\Replit$ 3b\replit-3B-inference\ctransformers\CMakeLists.txt: phony
|
186 |
+
|
187 |
+
|
188 |
+
#############################################
|
189 |
+
# Clean all the built files.
|
190 |
+
|
191 |
+
build clean: CLEAN
|
192 |
+
|
193 |
+
|
194 |
+
#############################################
|
195 |
+
# Print all primary targets available.
|
196 |
+
|
197 |
+
build help: HELP
|
198 |
+
|
199 |
+
|
200 |
+
#############################################
|
201 |
+
# Make the all target the default.
|
202 |
+
|
203 |
+
default all
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/cmake_install.cmake
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Install script for directory: D:/Projects/Replit 3b/replit-3B-inference/ctransformers
|
2 |
+
|
3 |
+
# Set the install prefix
|
4 |
+
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
5 |
+
set(CMAKE_INSTALL_PREFIX "D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-install")
|
6 |
+
endif()
|
7 |
+
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
8 |
+
|
9 |
+
# Set the install configuration name.
|
10 |
+
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
11 |
+
if(BUILD_TYPE)
|
12 |
+
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
13 |
+
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
14 |
+
else()
|
15 |
+
set(CMAKE_INSTALL_CONFIG_NAME "Release")
|
16 |
+
endif()
|
17 |
+
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
18 |
+
endif()
|
19 |
+
|
20 |
+
# Set the component getting installed.
|
21 |
+
if(NOT CMAKE_INSTALL_COMPONENT)
|
22 |
+
if(COMPONENT)
|
23 |
+
message(STATUS "Install component: \"${COMPONENT}\"")
|
24 |
+
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
25 |
+
else()
|
26 |
+
set(CMAKE_INSTALL_COMPONENT)
|
27 |
+
endif()
|
28 |
+
endif()
|
29 |
+
|
30 |
+
# Is this installation the result of a crosscompile?
|
31 |
+
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
32 |
+
set(CMAKE_CROSSCOMPILING "FALSE")
|
33 |
+
endif()
|
34 |
+
|
35 |
+
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
36 |
+
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/ctransformers/lib/local" TYPE SHARED_LIBRARY FILES "D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/lib/ctransformers.dll")
|
37 |
+
endif()
|
38 |
+
|
39 |
+
if(CMAKE_INSTALL_COMPONENT)
|
40 |
+
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
41 |
+
else()
|
42 |
+
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
43 |
+
endif()
|
44 |
+
|
45 |
+
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
46 |
+
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
47 |
+
file(WRITE "D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-build/${CMAKE_INSTALL_MANIFEST}"
|
48 |
+
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/ctransformers.exp
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca349b36bbff29118507644fde4ebf154092e961ba14e365b758e37a1e720708
|
3 |
+
size 2668191
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/ctransformers.lib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e01cf399be566d8314afd4647830626ffbebe4ced71c7ebafc419d934d7085f
|
3 |
+
size 4458470
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/install_manifest.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
D:/Projects/Replit 3b/replit-3B-inference/ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/lib/local/ctransformers.dll
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/lib/ctransformers.dll
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b904a216aaa1cba77cfa1dad77bed395441a7ad53fdf4f701f99ca1129fa3cf
|
3 |
+
size 1616896
|
ctransformers/_skbuild/win-amd64-3.11/cmake-build/lib/ctransformers.dll.manifest
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
|
2 |
+
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
|
3 |
+
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
4 |
+
<security>
|
5 |
+
<requestedPrivileges>
|
6 |
+
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
|
7 |
+
</requestedPrivileges>
|
8 |
+
</security>
|
9 |
+
</trustInfo>
|
10 |
+
</assembly>
|
ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/__init__.py
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
from .llm import Config, LLM
|
2 |
+
from .hub import AutoConfig, AutoModelForCausalLM
|
ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/hub.py
ADDED
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import json
|
2 |
+
from dataclasses import dataclass
|
3 |
+
from pathlib import Path
|
4 |
+
from typing import Optional
|
5 |
+
|
6 |
+
from huggingface_hub import HfApi, snapshot_download
|
7 |
+
from huggingface_hub.utils import validate_repo_id, HFValidationError
|
8 |
+
|
9 |
+
from .llm import Config, LLM
|
10 |
+
|
11 |
+
|
12 |
+
def get_path_type(path: str) -> Optional[str]:
|
13 |
+
p = Path(path)
|
14 |
+
if p.is_file():
|
15 |
+
return "file"
|
16 |
+
elif p.is_dir():
|
17 |
+
return "dir"
|
18 |
+
try:
|
19 |
+
validate_repo_id(path)
|
20 |
+
return "repo"
|
21 |
+
except HFValidationError:
|
22 |
+
pass
|
23 |
+
|
24 |
+
|
25 |
+
@dataclass
|
26 |
+
class AutoConfig:
|
27 |
+
config: Config
|
28 |
+
model_type: Optional[str] = None
|
29 |
+
|
30 |
+
@classmethod
|
31 |
+
def from_pretrained(
|
32 |
+
cls,
|
33 |
+
model_path_or_repo_id: str,
|
34 |
+
local_files_only: bool = False,
|
35 |
+
**kwargs,
|
36 |
+
) -> "AutoConfig":
|
37 |
+
path_type = get_path_type(model_path_or_repo_id)
|
38 |
+
if not path_type:
|
39 |
+
raise ValueError(f"Model path '{model_path_or_repo_id}' doesn't exist.")
|
40 |
+
|
41 |
+
config = Config()
|
42 |
+
auto_config = AutoConfig(config=config)
|
43 |
+
|
44 |
+
if path_type == "dir":
|
45 |
+
cls._update_from_dir(model_path_or_repo_id, auto_config)
|
46 |
+
elif path_type == "repo":
|
47 |
+
cls._update_from_repo(
|
48 |
+
model_path_or_repo_id,
|
49 |
+
auto_config,
|
50 |
+
local_files_only=local_files_only,
|
51 |
+
)
|
52 |
+
|
53 |
+
for k, v in kwargs.items():
|
54 |
+
if not hasattr(config, k):
|
55 |
+
raise TypeError(
|
56 |
+
f"'{k}' is an invalid keyword argument for from_pretrained()"
|
57 |
+
)
|
58 |
+
setattr(config, k, v)
|
59 |
+
|
60 |
+
return auto_config
|
61 |
+
|
62 |
+
@classmethod
|
63 |
+
def _update_from_repo(
|
64 |
+
cls,
|
65 |
+
repo_id: str,
|
66 |
+
auto_config: "AutoConfig",
|
67 |
+
local_files_only: bool,
|
68 |
+
) -> None:
|
69 |
+
path = snapshot_download(
|
70 |
+
repo_id=repo_id,
|
71 |
+
allow_patterns="config.json",
|
72 |
+
local_files_only=local_files_only,
|
73 |
+
)
|
74 |
+
cls._update_from_dir(path, auto_config)
|
75 |
+
|
76 |
+
@classmethod
|
77 |
+
def _update_from_dir(cls, path: str, auto_config: "AutoConfig") -> None:
|
78 |
+
path = (Path(path) / "config.json").resolve()
|
79 |
+
if path.is_file():
|
80 |
+
cls._update_from_file(path, auto_config)
|
81 |
+
|
82 |
+
@classmethod
|
83 |
+
def _update_from_file(cls, path: str, auto_config: "AutoConfig") -> None:
|
84 |
+
with open(path) as f:
|
85 |
+
config = json.load(f)
|
86 |
+
|
87 |
+
auto_config.model_type = config.get("model_type")
|
88 |
+
params = config.get("task_specific_params", {})
|
89 |
+
params = params.get("text-generation", {})
|
90 |
+
for name in [
|
91 |
+
"top_k",
|
92 |
+
"top_p",
|
93 |
+
"temperature",
|
94 |
+
"repetition_penalty",
|
95 |
+
"last_n_tokens",
|
96 |
+
]:
|
97 |
+
value = params.get(name)
|
98 |
+
if value is not None:
|
99 |
+
setattr(auto_config.config, name, value)
|
100 |
+
|
101 |
+
|
102 |
+
class AutoModelForCausalLM:
|
103 |
+
@classmethod
|
104 |
+
def from_pretrained(
|
105 |
+
cls,
|
106 |
+
model_path_or_repo_id: str,
|
107 |
+
*,
|
108 |
+
model_type: Optional[str] = None,
|
109 |
+
model_file: Optional[str] = None,
|
110 |
+
config: Optional[AutoConfig] = None,
|
111 |
+
lib: Optional[str] = None,
|
112 |
+
local_files_only: bool = False,
|
113 |
+
**kwargs,
|
114 |
+
) -> LLM:
|
115 |
+
"""Loads the language model from a local file or remote repo.
|
116 |
+
|
117 |
+
Args:
|
118 |
+
model_path_or_repo_id: The path to a model file or directory or the
|
119 |
+
name of a Hugging Face Hub model repo.
|
120 |
+
model_type: The model type.
|
121 |
+
model_file: The name of the model file in repo or directory.
|
122 |
+
config: `AutoConfig` object.
|
123 |
+
lib: The path to a shared library or one of `avx2`, `avx`, `basic`.
|
124 |
+
local_files_only: Whether or not to only look at local files
|
125 |
+
(i.e., do not try to download the model).
|
126 |
+
|
127 |
+
Returns:
|
128 |
+
`LLM` object.
|
129 |
+
"""
|
130 |
+
config = config or AutoConfig.from_pretrained(
|
131 |
+
model_path_or_repo_id,
|
132 |
+
local_files_only=local_files_only,
|
133 |
+
**kwargs,
|
134 |
+
)
|
135 |
+
model_type = model_type or config.model_type
|
136 |
+
if not model_type:
|
137 |
+
raise ValueError(
|
138 |
+
"Unable to detect model type. Please specify a model type using:\n\n"
|
139 |
+
" AutoModelForCausalLM.from_pretrained(..., model_type='...')\n\n"
|
140 |
+
)
|
141 |
+
|
142 |
+
path_type = get_path_type(model_path_or_repo_id)
|
143 |
+
model_path = None
|
144 |
+
if path_type == "file":
|
145 |
+
model_path = model_path_or_repo_id
|
146 |
+
elif path_type == "dir":
|
147 |
+
model_path = cls._find_model_path_from_dir(
|
148 |
+
model_path_or_repo_id, model_file
|
149 |
+
)
|
150 |
+
elif path_type == "repo":
|
151 |
+
model_path = cls._find_model_path_from_repo(
|
152 |
+
model_path_or_repo_id,
|
153 |
+
model_file,
|
154 |
+
local_files_only=local_files_only,
|
155 |
+
)
|
156 |
+
|
157 |
+
return LLM(
|
158 |
+
model_path=model_path,
|
159 |
+
model_type=model_type,
|
160 |
+
config=config.config,
|
161 |
+
lib=lib,
|
162 |
+
)
|
163 |
+
|
164 |
+
@classmethod
|
165 |
+
def _find_model_path_from_repo(
|
166 |
+
cls,
|
167 |
+
repo_id: str,
|
168 |
+
filename: Optional[str],
|
169 |
+
local_files_only: bool,
|
170 |
+
) -> str:
|
171 |
+
if not filename and not local_files_only:
|
172 |
+
filename = cls._find_model_file_from_repo(repo_id=repo_id)
|
173 |
+
allow_patterns = filename or "*.bin"
|
174 |
+
path = snapshot_download(
|
175 |
+
repo_id=repo_id,
|
176 |
+
allow_patterns=allow_patterns,
|
177 |
+
local_files_only=local_files_only,
|
178 |
+
)
|
179 |
+
return cls._find_model_path_from_dir(path, filename=filename)
|
180 |
+
|
181 |
+
@classmethod
|
182 |
+
def _find_model_file_from_repo(cls, repo_id: str) -> Optional[str]:
|
183 |
+
api = HfApi()
|
184 |
+
repo_info = api.repo_info(repo_id=repo_id, files_metadata=True)
|
185 |
+
files = [
|
186 |
+
(f.size, f.rfilename)
|
187 |
+
for f in repo_info.siblings
|
188 |
+
if f.rfilename.endswith(".bin")
|
189 |
+
]
|
190 |
+
if not files:
|
191 |
+
raise ValueError(f"No model file found in repo '{repo_id}'")
|
192 |
+
return min(files)[1]
|
193 |
+
|
194 |
+
@classmethod
|
195 |
+
def _find_model_path_from_dir(
|
196 |
+
cls,
|
197 |
+
path: str,
|
198 |
+
filename: Optional[str] = None,
|
199 |
+
) -> str:
|
200 |
+
path = Path(path).resolve()
|
201 |
+
if filename:
|
202 |
+
file = (path / filename).resolve()
|
203 |
+
if not file.is_file():
|
204 |
+
raise ValueError(f"Model file '{filename}' not found in '{path}'")
|
205 |
+
return str(file)
|
206 |
+
|
207 |
+
files = [
|
208 |
+
(f.stat().st_size, f)
|
209 |
+
for f in path.iterdir()
|
210 |
+
if f.is_file() and f.name.endswith(".bin")
|
211 |
+
]
|
212 |
+
if not files:
|
213 |
+
raise ValueError(f"No model file found in directory '{path}'")
|
214 |
+
file = min(files)[1]
|
215 |
+
return str(file.resolve())
|
ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/langchain.py
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
try:
|
2 |
+
from langchain.llms.base import LLM
|
3 |
+
except ImportError:
|
4 |
+
raise ImportError(
|
5 |
+
"To use the ctransformers.langchain module, please install the "
|
6 |
+
"`langchain` python package: `pip install langchain`"
|
7 |
+
)
|
8 |
+
|
9 |
+
from typing import Any, Dict, Optional, Sequence
|
10 |
+
|
11 |
+
from pydantic import root_validator
|
12 |
+
from langchain.callbacks.manager import CallbackManagerForLLMRun
|
13 |
+
|
14 |
+
from ctransformers import AutoModelForCausalLM
|
15 |
+
|
16 |
+
|
17 |
+
class CTransformers(LLM):
|
18 |
+
"""Wrapper around the C Transformers LLM interface.
|
19 |
+
|
20 |
+
To use, you should have the `langchain` python package installed.
|
21 |
+
"""
|
22 |
+
|
23 |
+
client: Any #: :meta private:
|
24 |
+
|
25 |
+
model: str
|
26 |
+
"""The path to a model file or directory or the name of a Hugging Face Hub
|
27 |
+
model repo."""
|
28 |
+
|
29 |
+
model_type: Optional[str] = None
|
30 |
+
"""The model type."""
|
31 |
+
|
32 |
+
model_file: Optional[str] = None
|
33 |
+
"""The name of the model file in repo or directory."""
|
34 |
+
|
35 |
+
config: Optional[Dict[str, Any]] = None
|
36 |
+
"""The config parameters."""
|
37 |
+
|
38 |
+
lib: Optional[Any] = None
|
39 |
+
"""The path to a shared library or one of `avx2`, `avx`, `basic`."""
|
40 |
+
|
41 |
+
@property
|
42 |
+
def _identifying_params(self) -> Dict[str, Any]:
|
43 |
+
"""Get the identifying parameters."""
|
44 |
+
return {
|
45 |
+
"model": self.model,
|
46 |
+
"model_type": self.model_type,
|
47 |
+
"model_file": self.model_file,
|
48 |
+
"config": self.config,
|
49 |
+
}
|
50 |
+
|
51 |
+
@property
|
52 |
+
def _llm_type(self) -> str:
|
53 |
+
"""Return type of llm."""
|
54 |
+
return "ctransformers"
|
55 |
+
|
56 |
+
@root_validator()
|
57 |
+
def validate_environment(cls, values: Dict) -> Dict:
|
58 |
+
"""Validate and load model from a local file or remote repo."""
|
59 |
+
config = values["config"] or {}
|
60 |
+
values["client"] = AutoModelForCausalLM.from_pretrained(
|
61 |
+
values["model"],
|
62 |
+
model_type=values["model_type"],
|
63 |
+
model_file=values["model_file"],
|
64 |
+
lib=values["lib"],
|
65 |
+
**config,
|
66 |
+
)
|
67 |
+
return values
|
68 |
+
|
69 |
+
def _call(
|
70 |
+
self,
|
71 |
+
prompt: str,
|
72 |
+
stop: Optional[Sequence[str]] = None,
|
73 |
+
run_manager: Optional[CallbackManagerForLLMRun] = None,
|
74 |
+
) -> str:
|
75 |
+
"""Generate text from a prompt.
|
76 |
+
|
77 |
+
Args:
|
78 |
+
prompt: The prompt to generate text from.
|
79 |
+
stop: A list of sequences to stop generation when encountered.
|
80 |
+
|
81 |
+
Returns:
|
82 |
+
The generated text.
|
83 |
+
"""
|
84 |
+
text = []
|
85 |
+
for chunk in self.client(prompt, stop=stop, stream=True):
|
86 |
+
text.append(chunk)
|
87 |
+
if run_manager:
|
88 |
+
run_manager.on_llm_new_token(chunk, verbose=self.verbose)
|
89 |
+
return "".join(text)
|
ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/lib.py
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Optional
|
2 |
+
import platform
|
3 |
+
from pathlib import Path
|
4 |
+
|
5 |
+
|
6 |
+
def find_library(path: Optional[str] = None) -> str:
|
7 |
+
lib_directory = Path(__file__).parent.resolve() / "lib"
|
8 |
+
|
9 |
+
if path:
|
10 |
+
subdirs = [d.name for d in lib_directory.iterdir() if d.is_dir()]
|
11 |
+
if path not in subdirs:
|
12 |
+
return path
|
13 |
+
|
14 |
+
system = platform.system()
|
15 |
+
if not path:
|
16 |
+
if (lib_directory / "local").is_dir():
|
17 |
+
path = "local"
|
18 |
+
elif platform.processor() == "arm":
|
19 |
+
# Apple silicon doesn't support AVX/AVX2.
|
20 |
+
path = "basic" if system == "Darwin" else ""
|
21 |
+
else:
|
22 |
+
path = "avx2"
|
23 |
+
|
24 |
+
name = "ctransformers"
|
25 |
+
if system == "Linux":
|
26 |
+
name = f"lib{name}.so"
|
27 |
+
elif system == "Windows":
|
28 |
+
name = f"{name}.dll"
|
29 |
+
elif system == "Darwin":
|
30 |
+
name = f"lib{name}.dylib"
|
31 |
+
else:
|
32 |
+
name = ""
|
33 |
+
|
34 |
+
path = lib_directory / path / name
|
35 |
+
if not path.is_file():
|
36 |
+
raise OSError(
|
37 |
+
"Precompiled binaries are not available for the current platform. "
|
38 |
+
"Please reinstall from source using:\n\n"
|
39 |
+
" pip uninstall ctransformers --yes\n"
|
40 |
+
" pip install ctransformers --no-binary ctransformers\n\n"
|
41 |
+
)
|
42 |
+
return str(path)
|
ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/lib/avx/ctransformers.dll
ADDED
Binary file (840 kB). View file
|
|
ctransformers/_skbuild/win-amd64-3.11/cmake-install/ctransformers/lib/avx/libctransformers.dylib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ed063a9cd34374aec9c943b3330aaf476d40a116220fc49c871e50f868d024f
|
3 |
+
size 1797491
|