mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-05 23:22:25 +00:00
Tidy (#41)
* Deduplicate common constants into OPM and do some source format tidying. * Fix postpush buildall script to force checkout of updated buildall. * Show enlistment branch in makefiles * Support non-printables in string literals and tidy case alignment and constant literals. * Common code for MIN and MAX of integer types. * Common code for SInt/Int/LInt in ConstOp parameter preparation. * Common code for SInt/Int/LInt in Op parameter preparation. * Refactor SetIntType to work with byte size directly. Prepare to revert my incorrect VAL changes. * Original meaning of VAL restored. Many library files disabled until use of VAL in 64 bits fixed. * Make Reals.Mod independent of INTEGER size and add reals tests. * Implement fraction, IsInfinity and IsNaN in oocLowReal.Mod. * OPB little simplifications and ShorterSize/LongerSize functions. * Add test for alignment computability * Replace alignment constants with calculated alignment. * typ.size aware OPV.Convert * Add SYSTEM_INT64 and make tests name independent. * Remove SYSTEM.H includes (string.h and stdint.h). * Replace uses of uintptr_t and size_t with SYSTEM_ADDRESS. * Sad hack to make FreeBSD and OpenBSD happy with memcpy declaration. * Detect 64 bit on FreeBSD, and size_t defined on OpenBSD. * %zd not supportd by mingw, cast strnlen return to int. * Add debug for intermittent failure only on OpenBSD. * Add textTexts as a confidence test and tidy up a couple of other tests. * Update binary test process.
This commit is contained in:
parent
1f41d80b1e
commit
da88496c5f
224 changed files with 7494 additions and 8065 deletions
29
makefile
29
makefile
|
|
@ -106,6 +106,7 @@ configuration: FORCE
|
|||
@./a.o
|
||||
@rm a.o
|
||||
@echo BRANCH=$$(git rev-parse --abbrev-ref HEAD)>>Configuration.Make
|
||||
@echo Branch: $$(git rev-parse --abbrev-ref HEAD).
|
||||
|
||||
|
||||
|
||||
|
|
@ -133,6 +134,7 @@ clean: configuration
|
|||
# full: Full build of compiler and libarary.
|
||||
full: configuration
|
||||
@make -f src/tools/make/vishap.make -s installable
|
||||
@-make -f src/tools/make/vishap.make -s uninstall
|
||||
@make -f src/tools/make/vishap.make -s clean
|
||||
# Make bootstrap compiler from source suitable for current data model
|
||||
@printf "\n\n--- Compiler build started ---\n\n"
|
||||
|
|
@ -164,6 +166,10 @@ compiler: configuration
|
|||
|
||||
|
||||
|
||||
# Report changes to compiler source relative to bootstrap compiler
|
||||
sourcechanges:
|
||||
@make -f src/tools/make/vishap.make -s sourcechanges
|
||||
|
||||
|
||||
# browsercmd: build the 'showdef' command
|
||||
browsercmd: configuration
|
||||
|
|
@ -176,6 +182,27 @@ browsercmd: configuration
|
|||
library: configuration
|
||||
@make -f src/tools/make/vishap.make -s library
|
||||
|
||||
# Individual library components
|
||||
v4: configuration
|
||||
@make -f src/tools/make/vishap.make -s v4
|
||||
|
||||
ooc2: configuration
|
||||
@make -f src/tools/make/vishap.make -s ooc2
|
||||
|
||||
ooc: configuration
|
||||
@make -f src/tools/make/vishap.make -s ooc
|
||||
|
||||
ulm: configuration
|
||||
@make -f src/tools/make/vishap.make -s ulm
|
||||
|
||||
pow32: configuration
|
||||
@make -f src/tools/make/vishap.make -s pow32
|
||||
|
||||
misc: configuration
|
||||
@make -f src/tools/make/vishap.make -s misc
|
||||
|
||||
s3: configuration
|
||||
@make -f src/tools/make/vishap.make -s s3
|
||||
|
||||
|
||||
|
||||
|
|
@ -228,6 +255,8 @@ revertbootstrap:
|
|||
|
||||
# --- multi-machine multi-platform build management ---
|
||||
|
||||
# NOTE: No longer used. Obsoleted by postpush.pl and buildall.pl.
|
||||
|
||||
|
||||
|
||||
# coordinator: Start the test machine coordinator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue