diff --git a/.circleci/config.yml b/.circleci/config.yml index 0fa84f0b..f86264a5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,7 +16,7 @@ commands: - run: name: Make Board command: | - rm -rf build/<>/* build/log/* && make CPUS=32 V=1 BOARD=<> <> || touch ./tmpDir/failed_build + rm -rf build/<>/* build/log/* && make V=1 BOARD=<> <> || touch ./tmpDir/failed_build no_output_timeout: 3h - run: name: Output build failing logs @@ -184,36 +184,21 @@ workflows: requires: - prep_env - # Coreboot 4.11 - #- build_and_persist: - # name: coreboot_411_buildstack - # target: kgpe-d16_workstation - # subcommand: coreboot - # requires: - # - heads_musl-cross - - # Coreboot 4.11 - #- build_and_persist: - # name: kgpe-d16_workstation - # target: kgpe-d16_workstation - # subcommand: coreboot - # requires: - # - coreboot_411_buildstack - - # Coreboot 4.13 - - build_and_persist: - name: coreboot_413_buildstack - target: x230-hotp-maximized - subcommand: coreboot - requires: - - heads_musl-cross # Coreboot 4.13 - build_and_persist: name: x230-hotp-maximized target: x230-hotp-maximized subcommand: "" requires: - - coreboot_413_buildstack + - heads_musl-cross + + # Coreboot 4.11 + #- build_and_persist: + # name: librem_l1um + # target: librem_l1um + # subcommand: "" + # requires: + # - x230-hotp-maximized - save_cache: requires: @@ -322,34 +307,34 @@ workflows: subcommand: "" requires: - x230-hotp-maximized + #KGPE-D16 turned off because CircleCI built time needs to be optimized. Kernel doesn't seem to enforce MAKE_JOBS properly + #- build: + # name: kgpe-d16_workstation-usb_keyboard + # target: kgpe-d16_workstation-usb_keyboard + # subcommand: "" + # requires: + # - librem_l1um - #- build: - #name: kgpe-d16_workstation-usb_keyboard - #target: kgpe-d16_workstation-usb_keyboard - #subcommand: "" - #requires: - #- x230-hotp-maximized + #- build: + # name: kgpe-d16_server + # target: kgpe-d16_server + # subcommand: "" + # requires: + # - librem_l1um - #- build: - #name: kgpe-d16_server - #target: kgpe-d16_server - #subcommand: "" - #requires: - #- x230-hotp-maximized + #- build: + # name: kgpe-d16_server-whiptail + # target: kgpe-d16_server-whiptail + # subcommand: "" + # requires: + # - librem_l1um - #- build: - #name: kgpe-d16_server-whiptail - #target: kgpe-d16_server-whiptail - #subcommand: "" - #requires: - #- x230-hotp-maximized - - #- build: - #name: librem_l1um - #target: librem_l1um - #subcommand: "" - #requires: - #- x230-hotp-maximized + #- build: + # name: kgpe-d16_workstation + # target: kgpe-d16_workstation + # subcommand: "" + # requires: + # - librem_l1um ######################## ######################## diff --git a/Makefile b/Makefile index 73e36190..2223e102 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ log_dir := $(build)/log # Controls how many parallel jobs are invoked in subshells CPUS ?= $(shell nproc) -#MAKE_JOBS ?= -j$(CPUS) --max-load 16 +MAKE_JOBS ?= -j$(CPUS) --max-load 16 # Create the log directory if it doesn't already exist BUILD_LOG := $(shell mkdir -p "$(log_dir)" ) diff --git a/modules/newt b/modules/newt index cc6341df..5e927cbe 100644 --- a/modules/newt +++ b/modules/newt @@ -9,7 +9,9 @@ newt_url := https://releases.pagure.org/newt/$(newt_tar) newt_hash := 8d66ba6beffc3f786d4ccfee9d2b43d93484680ef8db9397a4fb70b5adbb6dbc newt_target := \ - $(MAKE_JOBS) \ + #We remove Makefile passed number of jobs to only pass one job, otherwise fails to build + #$(MAKE_JOBS) \ + -j1 \ $(CROSS_TOOLS) \ newt_output := \