Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Change server,cli make targets to build for running platform #38

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

iawells
Copy link

@iawells iawells commented Nov 13, 2023

The cacherc build instructions are misleading and can result in building the wrong thing on ARM macs.

@iawells iawells requested a review from a team as a code owner November 13, 2023 22:05
Copy link

codecov bot commented Nov 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4a14709) 44.51% compared to head (2b6d7e6) 44.51%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #38   +/-   ##
=======================================
  Coverage   44.51%   44.51%           
=======================================
  Files           5        5           
  Lines         620      620           
=======================================
  Hits          276      276           
  Misses        334      334           
  Partials       10       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mmlb mmlb changed the title Update the README cacherc build section Change server,cli make targets to build for running platform Nov 15, 2023
@mmlb
Copy link
Contributor

mmlb commented Nov 15, 2023

Thanks @iawells, instead of just the doc update I changed the makefile so it builds for the running platform and thus is more usable.

@mmlb
Copy link
Contributor

mmlb commented Nov 15, 2023

Actually it looks like the Dockerfile builds the binaries so make is only used for test/dev and having the binaries for the running system is all thats needed.

mmlb added 2 commits November 15, 2023 12:58
`make server` and `make cli` now build for the running platform. Builds for
container images occur within the Dockerfile so when building with make its
only used for the running platform.

Reported-by: Ian Wells <iwells@equinix.com>
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
@mmlb mmlb merged commit 471c8d4 into packethost:master Nov 15, 2023
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants