Skip to content

Commit

Permalink
Install with pip -U
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausKlein committed Aug 31, 2023
1 parent 2d8f8eb commit 00698c9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ jobs:

- run: |
sudo python -m pip install --upgrade pip
sudo pip install -r requirements.txt
sudo pip install -U -r requirements.txt
- name: Setup Cpp
if: startsWith(matrix.os, 'ubuntu')
uses: aminya/setup-cpp@v1
with:
llvm: true
gcc: true
ccache: true
clangtidy: true
clangformat: true
Expand Down
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ if(NETKIT_TFTP_TESTS)

add_executable(option_test option_test.cpp async_tftpd_server.hpp)
target_link_libraries(option_test PRIVATE tftpd)
# FIXME add_test(NAME option_test COMMAND option_test)

if(APPLE)
add_test(NAME option_test COMMAND option_test)
endif()

add_executable(tftpd_test tftpd_test.cpp async_tftpd_server.hpp)
target_link_libraries(tftpd_test PRIVATE tftpd)
Expand Down
6 changes: 3 additions & 3 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ PROJECT_NAME:=$(shell basename $${PWD})
# prevent hard config of find_package(asio 1.14.1 CONFIG CMAKE_FIND_ROOT_PATH_BOTH)
ifeq (NO${CROSS_COMPILE},NO)
ifeq (${UNAME},Darwin)
#TODO CC:=/usr/local/opt/llvm/bin/clang
#TODO CXX:=/usr/local/opt/llvm/bin/clang++
CC:=/usr/bin/gcc
CXX:=/usr/bin/g++
BOOST_ROOT:=/usr/local/opt/boost
export BOOST_ROOT
endif
Expand All @@ -44,7 +44,7 @@ endif
#NO! BUILD_TYPE=Coverage make lcov
BUILD_TYPE?=Debug
BUILD_TYPE?=Release
# GENERATOR:=Xcode
GENERATOR:=Xcode
GENERATOR?=Ninja

# end of config part
Expand Down

0 comments on commit 00698c9

Please sign in to comment.