Commit Graph

622 Commits

Author SHA1 Message Date
Jeroen van Rijn
925d8749e0 Suggest -microarch:native if popcnt instruction is missing.
Fixes #4453.
2024-11-07 12:56:49 +01:00
peachey2k2
04b000370b Add "-build-mode:dynamic" to the "odin help build" output 2024-11-01 15:51:18 +03:00
Lucas Perlind
28b26043fb cached.cpp: Improve internal cached robustness
Do not memory map files; Windows cannot write to a file that is memory
mapped.
Write cache after llvm building. This ensures the cache won't have a
false positive if llvm fails.
2024-10-22 18:05:01 +11:00
gingerBill
21d0b073b1 Sort flags on odin build -help - #4329 2024-10-02 15:43:13 +01:00
olimpiu
5d57fe77be Fixed confusing (and incorrect) warning
Verbose errors *is* the new default
2024-09-30 20:46:03 -04:00
Laytan Laats
642ecc363b fix errors not being printed after parse warnings
Fixes #4299
2024-09-29 11:04:37 +02:00
gingerBill
09588836e7 Add -vet-unused-procedures 2024-09-17 11:33:42 +01:00
gingerBill
19c1ed154c Add -vet-packages:<comma-separated-string-array> 2024-09-17 11:01:26 +01:00
InKryption
1025b9e6c0 Enable -out:<filename> for doc subcommand
The logic for writing the .odin-doc file to the value assigned
to out_filepath already exists, this just enables it on the CLI
frontend.
2024-09-11 21:11:32 +02:00
gingerBill
b442ea8601 Merge pull request #4206 from laytan/improve-linking-shared-libraries
Improve linking shared libraries
2024-09-10 21:59:21 +01:00
gingerBill
0dddd2b97e Add internal flag
`-internal-fast-isel`
2024-09-09 14:39:53 +01:00
Laytan
0aa971207b add -no-rpath 2024-09-04 22:38:19 +02:00
Dimension4
b24157738f Add missing help text for -build-mode:test 2024-09-02 23:40:13 +02:00
Laytan
28c643d23f riscv compiler support 2024-09-01 21:42:47 +02:00
Laytan
ca6ef95b03 add support for linux_riscv64 and freestanding_riscv64 2024-08-20 14:06:40 +02:00
FourteenBrush
12813e5d48 Fix 'odin [run|test] --' giving a compiler out of bounds 2024-08-14 21:37:40 +02:00
Jeroen van Rijn
7237f9c9f8 Help text default -o:none -> -o:minimal. 2024-07-19 20:47:26 +02:00
gingerBill
bd562116b8 Minor change to an internal flag 2024-07-15 15:08:26 +01:00
gingerBill
1e37eaf54d Begin work for bit_set[...; [N]T] (not working) 2024-07-15 14:49:20 +01:00
gingerBill
664a71454b -use-separate-modules default on Windows only 2024-07-15 02:53:01 +01:00
gingerBill
c64702ae5a Make -use-separate-modules the default behaviour for -o:none and -o:minimal 2024-07-15 00:43:46 +01:00
gingerBill
3311ea1c76 Keep MSVC happy with secure versions of C calls 2024-07-15 00:38:10 +01:00
gingerBill
e7d37607ef Fix parameter to none 2024-07-14 16:05:47 +01:00
gingerBill
6feace2351 Add pseudo flag -fast-build 2024-07-14 16:05:07 +01:00
Jeroen van Rijn
8dc4eca4d2 Allow using precompiled .res file. 2024-07-10 14:25:18 +02:00
gingerBill
14dc3598b4 Add gb_internal to procedures 2024-07-09 14:33:01 +01:00
gingerBill
886ee66e7f Cache files, env, and args 2024-07-09 14:16:56 +01:00
gingerBill
ccdad8b8dd Add odin clear-cache 2024-07-09 13:31:54 +01:00
gingerBill
87ac68fcf2 Add -internal-cached 2024-07-08 23:39:14 +01:00
gingerBill
48aef50164 Add #load cache files to -export-dependencies:json 2024-07-08 17:46:10 +01:00
gingerBill
564d5af8b2 Default to -o:none for all builds 2024-07-08 16:12:22 +01:00
gingerBill
2a219fa830 Correct -use-separate-module behaviour 2024-07-08 15:13:40 +01:00
gingerBill
8491e2491c Experiment with different uses of -use-separate-modules 2024-07-08 14:48:59 +01:00
gingerBill
86c58167ed Add -print-linker-flags 2024-07-08 10:40:04 +01:00
gingerBill
88c9512d5f Merge pull request #3828 from laytan/re-raise-signals-from-odin-run
re-raise signals from the `odin run` binary
2024-07-06 18:55:37 +01:00
Jeroen van Rijn
f6892d2236 Fix help text. 2024-07-03 19:30:25 +02:00
gingerBill
af3401631a Remove the -disallow-do aspect from -strict-style 2024-06-29 22:48:43 +01:00
gingerBill
b1a1da6618 Add -vet-tabs 2024-06-29 19:54:31 +01:00
gingerBill
90244a0849 Fix accidental deletion in the -strict-style help comment 2024-06-29 19:41:45 +01:00
gingerBill
f64d1df90b Add note regarding -strict-style 2024-06-29 19:27:26 +01:00
gingerBill
888bf28076 -strict-style implies -disallow-do 2024-06-29 19:26:11 +01:00
gingerBill
835e8bf87a Update -strict-style 2024-06-29 19:15:33 +01:00
gingerBill
d6b8544f50 Add internal flag for testing stuff 2024-06-29 12:04:31 +01:00
gingerBill
704530497b Rename -vet-identical-cast to -vet-cast; with minor code clean up 2024-06-29 11:44:45 +01:00
Feoramund
6496432b80 Add -vet-identical-cast 2024-06-28 23:14:03 -04:00
Laytan Laats
fa5be93da2 re-raise signals from the odin run binary 2024-06-28 19:33:34 +02:00
gingerBill
17efb87eef Add -custom-attribute 2024-06-28 11:44:39 +01:00
Jeroen van Rijn
9f696a646f Add -build-mode:test. 2024-06-21 16:02:55 +02:00
gingerBill
23351ca8be Merge pull request #3137 from laytan/show-defineable
Add flags to show/export defineable values and warn if a -define is unused in the project
2024-06-20 11:45:52 +01:00
Feoramund
c560553c21 Fix compiler silently returning if parse_packages fails 2024-06-13 13:01:51 -04:00