Commit 7a8efdd 1 parent 79159cc commit 7a8efdd Copy full SHA for 7a8efdd
File tree 4 files changed +5
-3
lines changed
4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ alaska_option(CMAKE_BUILD_TYPE Release)
40
40
set (ALASKA_VERSION 2)
41
41
42
42
43
+ set (CMAKE_C_COMPILER_WORKS 1)
44
+ set (CMAKE_CXX_COMPILER_WORKS 1)
43
45
# -------------------------------------------------------------------------------------------
44
46
45
47
cmake_minimum_required (VERSION 3.13)
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ $(BUILD)/Makefile:
23
23
@cd $(BUILD ) && cmake ../ -DCMAKE_INSTALL_PREFIX:PATH=$(ROOT ) /local
24
24
25
25
alaska : $(BUILD_REQ )
26
- @cd $( BUILD ) && cmake --build . --target install --config Release
26
+ @$( MAKE ) -C $( BUILD ) install
27
27
@cp build/compile_commands.json .
28
28
29
29
sanity : alaska
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
23
23
24
24
# Do NOT link libc++ implicitly. This just makes it easier to port to new hardware or embedded environments
25
25
list (REMOVE_ITEM CMAKE_CXX_IMPLICIT_LINK_LIBRARIES stdc++)
26
- add_definitions (-D_GNU_SOURCE - D_REENTRANT)
26
+ add_definitions (-D_REENTRANT)
27
27
28
28
29
29
Original file line number Diff line number Diff line change 14
14
#include < alaska/ThreadCache.hpp>
15
15
#include < alaska/Logger.hpp>
16
16
#include < alaska/HeapPage.hpp>
17
- #include " ck/lock.h"
17
+ #include < ck/lock.h>
18
18
#include < stdio.h>
19
19
#include < sys/mman.h>
20
20
You can’t perform that action at this time.
0 commit comments