aboutsummaryrefslogtreecommitdiff
path: root/core/sys/info
Commit message (Collapse)AuthorAgeFilesLines
* Remove duplicate bufferJeroen van Rijn13 days4-12/+0
|
* Fix #6204Jeroen van Rijn13 days2-74/+107
| | | | Use temporary stack buffers and some global scratch space to remove the need for any allocator.
* Change Odin's LICENSE to zlib from BSD 3-clausegingerBill2025-10-281-1/+1
| | | | This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
* core:sys/info: iterate over registry nodes to enumerate GPUsJeroen van Rijn2025-10-101-8/+45
|
* Render examples.Jeroen van Rijn2025-10-102-23/+25
|
* Further overhaul of package line comments.Jeroen van Rijn2025-10-091-11/+10
|
* [core:sys/info] doc: Remove duplicated lineYuriy Grynevych2025-09-251-1/+0
|
* Add missing `contextless`gingerBill2025-08-081-1/+1
|
* More contextless fixesgingerBill2025-08-081-4/+4
|
* Add more "contextless"gingerBill2025-08-082-4/+8
|
* Require `@(init)` and `@(fini)` to be `proc "contextless" ()`gingerBill2025-08-087-13/+31
|
* `for in string16`; Support `string16` across coregingerBill2025-08-021-6/+6
|
* Rename `iOS` subtarget to `iPhone` for consistency.Harold Brenes2025-07-141-1/+1
| | | | | Add `ODIN_PLATFORM_SUBTARGET_IOS` builtin constant which evaluated to `true` when the platform is `Darwin` and the subtarget it either `iPhone` or `iPhoneSimulator`
* add macOS Tahoe to `odin report` and `core:sys/info`Laytan Laats2025-06-141-0/+1
|
* Enable `odin check examples/all` for JS.Jeroen van Rijn2025-06-041-1/+1
|
* sys/info: populate cpu.physical_cores and cpu.logical_cores on DarwinLaytan Laats2025-05-261-0/+12
|
* Add core/hyperthread count for Windows and Linux (#5216)Jeroen van Rijn2025-05-259-31/+111
| | | | | Add core/hyperthread count to `core:sys/info` for Windows and Linux. TODO: Linux RISCV, Linux ARM, Darwin, and the BSDs.
* Remove stray import.Jeroen van Rijn2025-04-051-1/+0
|
* Fix segfault in core:sys/info on WSL2Jeroen van Rijn2025-04-051-6/+14
|
* core/crypto/sha2: Use hardware SHA224/256 when available (AMD64)Yawning Angel2025-03-231-0/+2
|
* sys/info & odin report: rework macos version retrievalLaytan Laats2024-11-262-569/+72
|
* add macos 15.1.1 to odin report and sys/infoLaytan Laats2024-11-261-0/+2
|
* add missing macos versionLaytan Laats2024-11-161-0/+15
|
* Merge pull request #4376 from Barinzaya/sysinfo-avx512Laytan2024-10-161-1/+46
|\ | | | | core:sys/info AVX-512 CPU Features
| * Renamed and trimmed AVX-512 features in sys/info.Barinzaya2024-10-151-36/+32
| | | | | | | | Removed underscores from the AVX-512 names in `CPU_Feature` to make them match their equivalent LLVM target features. Removed 4FMAPs and 4VNNIW as there aren't matching LLVM target features.
| * Fixed a theoretical edge case in AVX512VL support detection.Barinzaya2024-10-141-1/+5
| |
| * Fixed formatting.Barinzaya2024-10-141-4/+4
| |
| * Added AVX-512 feature detection to core:sys/info.Barinzaya2024-10-141-1/+46
| |
* | add macos 15.0.1 to odin report and core/sys/infoLaytan Laats2024-10-141-0/+1
|/
* Merge branch 'master' into file-tags-without-commentsKarl Zylinski2024-09-171-0/+4
|\
| * add new macos releases to 'odin report' and sys/infoLaytan Laats2024-09-171-0/+4
| |
* | Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-145-7/+7
|/ | | | file tag syntax.
* Merge pull request #4191 from laytan/improve-package-doc-commentsgingerBill2024-09-041-1/+8
|\ | | | | core: improve package doc comments for the documentation generator
| * core: improve package doc comments for the documentation generatorLaytan Laats2024-09-031-1/+8
| |
* | sys/info: more CPU feature detection for RISC-Vlaytan2024-09-022-34/+185
|/
* add support for linux_riscv64 and freestanding_riscv64Laytan2024-08-203-1/+63
|
* update MacOS releasesLaytan Laats2024-08-141-0/+2
|
* darwin: remove syscall usage (without -no-crt) to comply to Apple guidelinesLaytan Laats2024-07-081-1/+1
|
* Check for unneeded `transmute` with `-vet-cast`gingerBill2024-06-291-1/+1
|
* Fix `info.init_os_version` on FreeBSDFeoramund2024-06-121-1/+1
| | | | | | | It's possible for the return string to be longer than 128 characters these days, so I've increased it to 1024, same as the other BSDs. SYSCTL was otherwise erring out due to lack of buffer space.
* add MacOS 14.5 to 'core:sys/info' and 'odin report'Laytan Laats2024-06-071-0/+1
|
* Minor code cleanupAndreas T Jonsson2024-05-101-1/+1
|
* Merged with masterAndreas T Jonsson2024-05-0210-85/+310
|\
| * sys/info: add missing `@(private)`'sLaytan Laats2024-04-305-5/+5
| |
| * sys/info: update doc.odinLaytan Laats2024-04-301-12/+15
| |
| * sys/info: retrieve better CPU description on DarwinLaytan Laats2024-04-301-6/+21
| | | | | | | | | | Previously either `ARM` or `ARM64`, now you get something like `Apple M1`
| * sys/info: add feature detection for Darwin and Linux ARMLaytan Laats2024-04-303-14/+206
| |
| * sys/info: improve platform_linuxLaytan Laats2024-04-301-45/+57
| | | | | | | | | | | | | | | | | | 1. fix the `linux.open` call, passing `{ .RDONLY }` becomes `0x00000001` while `RDONLY` is supposed to be `0x00000000` 2. fix the case where `/etc/os-release` starts with `PRETTY_NAME` `strings.index` was used but was checking `> 0` while `0` is valid 3. remove unneccesary temporary allocations 4. simplify the logic
| * sys/info: remove unneccesary build tagsLaytan Laats2024-04-305-5/+0
| |
| * sys/info: add easy way of getting the MacOS versionLaytan Laats2024-04-302-4/+11
| |