The present disclosure provides compounds that are tyrosine kinase inhibitors, in particular Bruton tyrosine kinase (“BTK”) inhibitors, and are therefore useful for the treatment of diseases treatable by inhibition of BTK such as cancer, autoimmune, inflammatory, and thromboembolic diseases. Also provided are pharmaceutical compositions containing such compounds and processes for preparing such compounds.本發明提供為酪胺酸激酶抑制劑、具體而言布魯頓酪胺酸激酶(「BTK」)抑制劑,且因此可用於治療諸如癌症、自體免疫、發炎性及血栓栓塞性疾病等可藉由抑制BTK治療之疾病的化合物。本發明亦提供含有該等化合物之醫藥組合物及用於製備該等化合物之方法。