-
Notifications
You must be signed in to change notification settings - Fork 15
Mods to support spectra file IO out of fortran #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
ba53a82
ab9e951
cc1b35f
0334e4d
aed541f
aca0c47
4b8bdc9
aefc329
fd24efd
17cc031
48421d9
0c59d47
8af3a3b
358b706
c89674c
4aef394
fb679da
45bed0e
c498e6d
e6032bb
738cd14
6d8371f
80d3ce5
7f4a595
2b03814
ae3c9a3
31cb465
af3631d
f39635e
0e27b16
62e653c
46dbbc5
936b7af
48a3268
8d547a3
9b195e4
a96f242
e0391ad
854b836
431c65c
2f35d06
e29f078
20c6e55
1b77e69
882b503
a1e4396
68babc7
6a07a20
d6e44d7
74d4418
13bb819
0caf7ca
3981033
cdc7ecd
0f58916
a80f9af
074926e
1047d13
9c6163e
9451d07
fee1904
02c71ab
a22e940
61f3224
65621cb
3018b0d
2ce11ec
dccb2e4
ee04054
5e97ccc
5408630
79d81cb
ba26b47
03d8889
960c637
6f55a3b
4e6c62b
6310f65
caab293
06fcc6e
56d8b78
679bf4e
53b5039
160b5bd
16643d3
1359228
e3ffee4
9adcc44
902074e
bb9fb76
f1c5e48
bf77e65
a93c8c8
5b47ea2
301ee76
ae11b15
7de1a45
2cceea1
874d8a5
cbfc685
1cd879c
0e9ebde
9ca9f3c
ef7c3dc
01c8443
d87b2db
ecf3d0e
4e70828
4f0f402
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,9 @@ endif() | |
project( SpecUtils VERSION 2025.1.0 ) | ||
enable_testing() # Enable here to allow running `ctest` from top-most build dir | ||
|
||
# Add this line to specify the architectures for MacOS | ||
set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE STRING "Build architectures for MacOS" FORCE) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @wcjohns so everything builds ok but macos*. Copilot said to add this but that didn't help. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can probably remove that added line; I think the macOS architectures are set by the nanobind stuff. I just triggered a build on the main branch, and it ran fine. Below is the step that is installing stuff into the python package: And the actual error: |
||
|
||
option( SpecUtils_ENABLE_D3_CHART "Enables exporting of the D3 chart format" ON ) | ||
option( SpecUtils_D3_SUPPORT_FILE_STATIC "Compiles the JS and CSS files into memory, rather than reading files on disk; disable to allow changing JS/CSS without having to recompile" ON ) | ||
option( SpecUtils_ENABLE_URI_SPECTRA "Enables encoding/decoding spectra to URIs (for, ex, QR-codes) - requires linking to zlib" OFF ) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If
SpecUtils_FLT_PARSE_METHOD
is left as 'default_value' here, there is some logic below to hopefully pick the most reasonable float parsing method. Like for MSVC ≥2019, it should pick 'FromChars'.Is there is reason to default to the slowest common denominator, or was it giving you an issue?