Skip to content

Commit

Permalink
Merge pull request EOSIO#154 from eosiosg/release-v3
Browse files Browse the repository at this point in the history
Fix: eos-vm-oc build bug and docker build error
  • Loading branch information
Thaipanda authored Apr 24, 2020
2 parents 7e11325 + 2ac9463 commit dd348fd
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ ARG symbol=EOS
ENV OPENSSL_ROOT_DIR /usr/include/openssl

RUN git clone -b $branch https://github.com/boscore/bos.git --recursive \
&& cd bos && echo "$branch:$(git rev-parse HEAD)" > /etc/boscore-version \
&& cd bos && sed -i '/add_subdirectory(tools)/c\#add_subdirectory(tools).' libraries/eos-vm/CMakeLists.txt \
&& echo "$branch:$(git rev-parse HEAD)" > /etc/boscore-version \
&& cmake -H. -B"/tmp/build" -GNinja -DCMAKE_BUILD_TYPE=Release -DWASM_ROOT=/opt/wasm -DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_C_COMPILER=clang -DCMAKE_INSTALL_PREFIX=/tmp/build -DBUILD_MONGO_DB_PLUGIN=true -DCORE_SYMBOL_NAME=$symbol \
-DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" -DCMAKE_CXX_STANDARD_LIBRARIES="-lpthread" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include <eosio/chain/webassembly/eos-vm-oc/eos-vm-oc.hpp>
#include <eosio/chain/webassembly/eos-vm-oc/ipc_helpers.hpp>
#include <eosio/chain/code_object.hpp>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/sequenced_index.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,13 @@ constexpr auto intrinsic_table = boost::hana::make_tuple(
"env.get_resource_limits"_s,
"env.set_resource_limits"_s,
"env.set_proposed_producers"_s,
"env.set_proposed_producers_ex"_s,
"env.get_blockchain_parameters_packed"_s,
"env.set_blockchain_parameters_packed"_s,
"env.set_name_list_packed"_s,
"env.set_guaranteed_minimum_resources"_s,
"env.is_privileged"_s,
"env.set_privileged"_s,
"env.preactivate_feature"_s,
"env.set_upgrade_parameters_packed"_s,
"env.get_active_producers"_s,
"env.db_store_i64"_s,
"env.db_update_i64"_s,
Expand Down Expand Up @@ -150,8 +151,6 @@ constexpr auto intrinsic_table = boost::hana::make_tuple(
"env.get_account_creation_time"_s,
"env.current_time"_s,
"env.publication_time"_s,
"env.is_feature_activated"_s,
"env.get_sender"_s,
"env.abort"_s,
"env.eosio_assert"_s,
"env.eosio_assert_message"_s,
Expand All @@ -178,6 +177,10 @@ constexpr auto intrinsic_table = boost::hana::make_tuple(
"env.printhex"_s,
"env.read_transaction"_s,
"env.transaction_size"_s,
"env.get_transaction_id"_s,
"env.get_action_sequence"_s,
"env.has_contract"_s,
"env.get_contract_code"_s,
"env.expiration"_s,
"env.tapos_block_prefix"_s,
"env.tapos_block_num"_s,
Expand Down Expand Up @@ -248,7 +251,8 @@ constexpr auto intrinsic_table = boost::hana::make_tuple(
"eosio_injection._eosio_i32_to_f64"_s,
"eosio_injection._eosio_i64_to_f64"_s,
"eosio_injection._eosio_ui32_to_f64"_s,
"eosio_injection._eosio_ui64_to_f64"_s
"eosio_injection._eosio_ui64_to_f64"_s,
"env.bpsig_action_time_seed"_s
);

}}}
2 changes: 1 addition & 1 deletion libraries/eos-vm
Submodule eos-vm updated 0 files

0 comments on commit dd348fd

Please sign in to comment.