Skip to content

Commit

Permalink
Merge branch 'build-fixes'
Browse files Browse the repository at this point in the history
* Branch commit log:
  ase/logging.cc: add missing unistd.h include
  package.json: add missing "globals" package (for eslint)
  ase/*.cc: fix missing <algorithm> include
  ase/*.hh: fix missing <algorithm> include
  misc/cirun: use $CITAG, instead of hard coding dist

Signed-off-by: Tim Janik <[email protected]>
  • Loading branch information
tim-janik committed May 21, 2024
2 parents f4a6e2d + 903979f commit 998d089
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions ase/callback.hh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#define __ASE_CALLBACK_HH__

#include <ase/defs.hh>
#include <algorithm>

namespace Ase {

Expand Down
1 change: 1 addition & 0 deletions ase/driver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "platform.hh"
#include "datautils.hh"
#include "internal.hh"
#include <algorithm>

#define DDEBUG(...) Ase::debug ("driver", __VA_ARGS__)

Expand Down
1 change: 1 addition & 0 deletions ase/eventlist.hh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#define __ASE_EVENTLIST_HH__

#include <ase/utils.hh>
#include <algorithm>
#include <any>

namespace Ase {
Expand Down
1 change: 1 addition & 0 deletions ase/logging.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <stdarg.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>

namespace Ase {
Expand Down
1 change: 1 addition & 0 deletions ase/memory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <ase/testing.hh>
#include <sys/mman.h>
#include <unistd.h> // _SC_PAGESIZE
#include <algorithm>
#include <shared_mutex>
#include <atomic>

Expand Down
1 change: 1 addition & 0 deletions ase/path.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <sys/types.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <algorithm>
#include <cstring> // strchr
#include <glob.h> // glob
#include <mutex>
Expand Down
1 change: 1 addition & 0 deletions ase/platform.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <stdarg.h>
#include <sys/types.h>
#include <pwd.h> // getpwuid_r
#include <algorithm>

#if defined __APPLE__
#include <mach-o/dyld.h> // _NSGetExecutablePath
Expand Down
1 change: 1 addition & 0 deletions ase/sortnet.hh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#define __ASE_SORTNET_HH__

#include <functional>
#include <algorithm>

namespace Ase {

Expand Down
1 change: 1 addition & 0 deletions ase/strings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <libintl.h>
#include <iconv.h>
#include <errno.h>
#include <algorithm>

#include <glib.h> // g_unichar_*

Expand Down
2 changes: 1 addition & 1 deletion misc/cirun
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ while test $# -ne 0 ; do
done

# Check for existing docker image
if $FORCE_BUILD || ! docker image inspect --format=1 cirun:focal >/dev/null 2>&1; then
if $FORCE_BUILD || ! docker image inspect --format=1 cirun:$CITAG >/dev/null 2>&1; then
# Utilize $CICACHE when present
CACHETYPE=
if test -n "${CICACHE:-}" ; then
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"eslint-plugin-unused-imports": "^3.2.0",
"eslint-plugin-vue": "^9.25.0",
"fork-awesome": "^1.2.0",
"globals": "^15.3.0",
"icon-gen": "^4.0.0",
"jsdoc": "^4.0.3",
"jsdoc-api": "^8.0.0",
Expand Down

0 comments on commit 998d089

Please sign in to comment.