Commit 14f1503
Fix build with fmt 11 (#95)
Summary:
- fmt 11 requires building with /utf-8 for MSVC, otherwise it will result in a build error:
```
D:\a\momentum\momentum\.pixi\envs\default\Library\include\fmt\base.h(458,28): error C2338: static_assert failed: 'Unicode support requires compiling with /utf-8' [D:\a\momentum\momentum\build\simd_test.vcxproj]
```
- Remove unnecessary version constraints of dependencies in pixi.toml, as the build error was not caught due to fmt being constrained to version 10.
- Update the pixi lock file
- Print more info in CMake log
```
1>-- [ Build Tools ]
1>-- - CMake : 3.30.4
1>-- - CMake Generator : Visual Studio 17 2022
1>-- - C Compiler : MSVC 19.41.34120.0
1>-- - C++ Compiler : MSVC 19.41.34120.0
1>-- - CMake Toolchain File:
1>--
1>-- [ CMake Variables ]
1>-- CMAKE_C_FLAGS:
1>-- - /DWIN32
1>-- - /D_WINDOWS
1>-- CMAKE_CXX_FLAGS:
1>-- - /DWIN32
1>-- - /D_WINDOWS
1>-- - /GR
1>-- - /EHsc
1>-- CMAKE_CUDA_FLAGS: (not set)
```
## Checklist:
- [x] Adheres to the [style guidelines](https://facebookincubator.github.io/momentum/docs/developer_guide/style_guide)
- [x] Codebase formatted by running `pixi run lint`
Pull Request resolved: #95
Test Plan:
```
pixi run test
```
Reviewed By: yutingye
Differential Revision: D63944026
Pulled By: jeongseok-meta
fbshipit-source-id: d0378da180222d912001ddb7bf01d3c6c5b7659b1 parent e5b16f2 commit 14f1503
File tree
5 files changed
+6080
-5234
lines changed- cmake
5 files changed
+6080
-5234
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
39 | 51 | | |
40 | 52 | | |
41 | 53 | | |
42 | 54 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 55 | | |
47 | | - | |
48 | 56 | | |
49 | 57 | | |
50 | 58 | | |
| |||
104 | 112 | | |
105 | 113 | | |
106 | 114 | | |
| 115 | + | |
107 | 116 | | |
108 | 117 | | |
109 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
78 | 92 | | |
79 | 93 | | |
80 | 94 | | |
| |||
0 commit comments